:root {
    --eg-bg: #050505;
    --eg-bg-soft: #0a0a0a;
    --eg-bg-card: #101010;
    --eg-line: rgba(200, 166, 70, 0.14);
    --eg-line-strong: rgba(200, 166, 70, 0.24);
    --eg-text: #f4f1e8;
    --eg-text-soft: rgba(244, 241, 232, 0.72);
    --eg-text-dim: rgba(244, 241, 232, 0.46);
    --eg-gold: #d4af37;
    --eg-gold-soft: #ecd27e;
    --eg-gold-deep: #c99f3d;
}

/* ============================= */
/* ENGINE GROUP — HEADER         */
/* ============================= */

.eg-masthead {
    width: 100%;
    background: var(--eg-bg);
    border-bottom: 1px solid rgba(200, 166, 70, 0.10);
    position: relative;
    z-index: 120;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    overflow: visible;
}

.eg-masthead-top {
    border-bottom: 1px solid rgba(200,166,70,0.10);
    background:
        radial-gradient(circle at top center, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.00) 38%),
        linear-gradient(180deg, #0b0b0b 0%, #060606 100%);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.02);
}

.eg-masthead-shell,
.egx-nav-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

.eg-masthead-top .eg-masthead-shell {
    display: grid;
    grid-template-columns: auto minmax(420px, 1fr) auto;
    align-items: center;
    gap: 22px;
    min-height: 126px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.eg-masthead-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    text-decoration: none !important;
}

.eg-masthead-brand img {
    width: 182px;
    height: 182px;
    object-fit: contain;
    display: block;
    flex: 0 0 182px;
    filter: drop-shadow(0 14px 30px rgba(0,0,0,0.42));
}
.eg-masthead-brand-text {
    font-size: 40px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 1.05px;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(90deg, #c99f3d 0%, #f0d37b 55%, #d7ab44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eg-masthead-search {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    position: relative;
}

.eg-masthead-search input {
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, #111111 0%, #0c0c0c 100%);
    border: 1px solid rgba(200,166,70,0.24);
    border-radius: 20px;
    color: #f4f1e8;
    font-size: 15px;
    padding: 0 70px 0 22px;
    box-sizing: border-box;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.eg-masthead-search input::placeholder {
    color: rgba(240, 232, 210, 0.45);
}

.eg-masthead-search input:focus {
    border-color: rgba(212, 175, 55, 0.40);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.eg-masthead-search button {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--eg-gold-soft) 0%, var(--eg-gold-deep) 100%);
    color: #111;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 16px rgba(0, 0, 0, 0.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.eg-masthead-search button:hover {
    transform: translateY(-50%) translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 10px 18px rgba(0,0,0,0.26);
}

.eg-masthead-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.eg-masthead-action {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(200, 166, 70, 0.18);
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--eg-text) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    transition: all .2s ease;
}

.eg-masthead-action i {
    color: var(--eg-gold);
}

.eg-masthead-action:hover {
    border-color: rgba(212, 175, 55, 0.34);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-1px);
}

/* NAV */

.egx-nav {
    width: 100%;
    border-top: 1px solid rgba(200,166,70,0.08);
    border-bottom: 1px solid rgba(200,166,70,0.08);
    background: linear-gradient(180deg, #080808 0%, #050505 100%);
    position: relative;
    z-index: 130;
    overflow: visible;
}

.egx-nav-shell {
    padding-top: 14px;
    padding-bottom: 14px;
    overflow: visible;
}

.egx-nav-row {
    display: grid;
    grid-template-columns: 182px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
    overflow: visible;
}

.egx-catalog {
    position: relative;
    width: 182px;
    order: 1;
}

.egx-catalog-btn,
.egx-menu-btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 10px 20px rgba(0,0,0,0.20);
}

.egx-catalog-btn {
    background: linear-gradient(180deg, #f0d77f 0%, #ddb754 52%, #cb9f3b 100%);
    color: #121212;
}

.egx-menu-btn {
    display: none;
    background: linear-gradient(180deg, #f0d77f 0%, #ddb754 52%, #cb9f3b 100%);
    color: #121212;
}

.egx-catalog-btn:hover,
.egx-menu-btn:hover {
    transform: translateY(-1px);
}

.egx-catalog-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 320px;
    max-width: 380px;
    background: linear-gradient(180deg, #121212 0%, #0c0c0c 100%);
    border: 1px solid rgba(200, 166, 70, 0.18);
    border-radius: 16px;
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.40);
    padding: 10px 0;
    display: none;
    z-index: 200;
}

.egx-catalog-dropdown.open {
    display: block;
}

.egx-catalog-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.egx-catalog-dropdown li {
    margin: 0;
    padding: 0;
}

.egx-catalog-dropdown a {
    display: block;
    padding: 12px 18px;
    color: var(--eg-text) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}

.egx-catalog-dropdown a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #e6c46c !important;
}

.egx-links {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    width: 100%;
    min-height: 54px;
    padding: 0 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
    border: 1px solid rgba(200,166,70,0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.00) 100%),
        #090909;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.egx-links::-webkit-scrollbar {
    display: none;
}

.egx-links a {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    color: rgba(244, 241, 232, 0.94);
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08px;
    padding: 0;
    white-space: nowrap;
    border: 0;
    transition: color .2s ease;
}

.egx-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 11px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c89a36 0%, #f0d37b 100%);
    transition: width .25s ease;
}

.egx-links a:hover {
    color: #ffffff;
}

.egx-links a:hover::after {
    width: 100%;
}

/* HEADER BREAKPOINTS */

@media (max-width: 1400px) {
    .eg-masthead-top .eg-masthead-shell {
        grid-template-columns: auto minmax(340px, 1fr) auto;
        gap: 18px;
        min-height: 110px;
    }

   .eg-masthead-brand img {
    width: 158px;
    height: 158px;
    flex: 0 0 158px;
}
    .eg-masthead-brand-text {
        font-size: 36px;
    }
}

@media (max-width: 1280px) {
    .eg-masthead-top .eg-masthead-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "search search";
        gap: 14px 14px;
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .eg-masthead-brand {
        grid-area: brand;
    }

    .eg-masthead-search {
        grid-area: search;
        max-width: 100%;
        margin: 0;
    }

    .eg-masthead-actions {
        grid-area: actions;
        gap: 8px;
    }

    .eg-masthead-brand img {
    width: 142px;
    height: 142px;
    flex: 0 0 142px;
}

    .eg-masthead-brand-text {
        font-size: 32px;
    }

    .eg-masthead-action {
        width: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 12px;
        flex: 0 0 42px;
    }

    .eg-masthead-action span {
        display: none;
    }

    .eg-masthead-search input {
        height: 54px;
        font-size: 14px;
        padding: 0 62px 0 18px;
    }

    .eg-masthead-search button {
        width: 40px;
        height: 40px;
    }
}

/* единый и стабильный порог */
@media (max-width: 1050px) {
    .egx-nav-row {
        grid-template-columns: minmax(0, 1fr) 132px;
        gap: 10px;
        align-items: center;
    }

    .egx-menu-btn {
        display: inline-flex;
        order: 1;
    }

    .egx-catalog {
        order: 2;
        width: 132px;
        margin: 0;
    }

    .egx-catalog-btn {
        width: 100%;
        min-width: 132px;
        height: 48px;
        padding: 0 12px;
        border-radius: 14px;
        font-size: 14px;
    }

    .egx-links {
        order: 3;
        grid-column: 1 / -1;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-height: 0;
        margin-top: 10px;
        padding: 8px 0;
        gap: 0;
        white-space: normal;
        background: #0b0b0b;
        border: 1px solid rgba(200,166,70,0.14);
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.30);
        overflow: hidden;
    }

    .egx-links.open {
        display: flex;
    }

    .egx-links a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        font-size: 15px;
        white-space: normal;
        border-bottom: 1px solid rgba(200,166,70,0.10);
    }

    .egx-links a:last-child {
        border-bottom: 0;
    }

    .egx-links a::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .eg-masthead-shell,
    .egx-nav-shell,
    .eg-footer .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .eg-masthead-top .eg-masthead-shell {
        gap: 12px 10px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .eg-masthead-brand {
        gap: 10px;
        min-width: 0;
    }

    .eg-masthead-brand img {
    width: 114px;
    height: 114px;
    flex: 0 0 114px;
}
    .eg-masthead-brand-text {
        font-size: 20px;
        line-height: 1.02;
        letter-spacing: 0.4px;
    }

    .eg-masthead-action {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        border-radius: 10px;
        flex: 0 0 38px;
    }

    .eg-masthead-search input {
        height: 46px;
        padding: 0 52px 0 14px;
        border-radius: 14px;
    }

    .eg-masthead-search button {
        width: 36px;
        height: 36px;
        right: 5px;
        border-radius: 10px;
    }

    .egx-nav-shell {
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .egx-nav-row {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 10px;
    }

    .egx-menu-btn,
    .egx-catalog-btn {
        height: 42px;
        border-radius: 12px;
        font-size: 13px;
    }

    .egx-catalog {
        width: 112px;
    }

    .egx-catalog-btn {
        min-width: 112px;
        padding: 0 10px;
    }

    .egx-catalog-dropdown {
        left: auto;
        right: 0;
        min-width: 220px;
        max-width: calc(100vw - 28px);
    }

    .egx-links {
        border-radius: 12px;
    }

    .egx-links a {
        min-height: 48px;
        padding: 0 14px;
        font-size: 15px;
        line-height: 1.2;
    }
}

/* ============================= */
/* ENGINE GROUP — FOOTER         */
/* ============================= */

.eg-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(200, 166, 70, 0.10);
    background: linear-gradient(180deg, #070707 0%, #050505 100%);
    color: var(--eg-text);
}

.eg-footer .container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

.eg-footer-top {
    padding-top: clamp(42px, 5vw, 76px);
    padding-bottom: clamp(26px, 3vw, 42px);
    border-bottom: 1px solid rgba(200, 166, 70, 0.08);
}

.eg-footer .row {
    display: flex;
    flex-wrap: wrap;
}

.eg-footer-brand {
    max-width: 520px;
}

.eg-footer-logo {
    font-size: clamp(28px, 2.4vw, 52px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #c99f3d 0%, #f0d37b 55%, #d7ab44 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eg-footer-text {
    margin-top: 18px;
    color: var(--eg-text-soft);
    font-size: 15px;
    line-height: 1.9;
}

.eg-footer-col {
    height: 100%;
}

.eg-footer-title {
    margin-bottom: 20px;
    color: var(--eg-gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eg-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.eg-footer-links a,
.eg-contact-value a,
.eg-footer-bottom-links a {
    color: var(--eg-text);
    text-decoration: none !important;
    transition: color .2s ease, opacity .2s ease;
}

.eg-footer-links a:hover,
.eg-contact-value a:hover,
.eg-footer-bottom-links a:hover {
    color: #f0d37b;
}

.eg-footer-contact {
    margin-bottom: 18px;
}

.eg-contact-label {
    margin-bottom: 4px;
    color: var(--eg-text-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.eg-contact-value {
    color: var(--eg-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.eg-work-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(200, 166, 70, 0.08);
}

.eg-work-item span {
    color: var(--eg-text);
    font-size: 15px;
    line-height: 1.4;
}

.eg-work-item strong {
    color: #f0d37b;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.eg-footer-bottom {
    padding-top: 18px;
    padding-bottom: 18px;
}

.eg-footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--eg-text-dim);
    font-size: 13px;
}

.eg-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#back-to-top {
    position: fixed;
    right: 18px;
    bottom: 38px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(216, 178, 79, 0.16) 0%, rgba(216, 178, 79, 0.06) 100%),
        #0d0d0d;
    border: 1px solid rgba(216, 178, 79, 0.26);
    color: #f0d37b;
    text-decoration: none !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 10px 24px rgba(0,0,0,0.30);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    z-index: 999;
}

#back-to-top:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 178, 79, 0.42);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 14px 28px rgba(0,0,0,0.34);
}

@media (max-width: 991px) {
    .eg-footer .row > [class*="col-"] {
        margin-bottom: 28px;
    }

    .eg-footer .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .eg-footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .eg-footer {
        margin-top: 56px;
    }

    .eg-footer-top {
        padding-top: 34px;
        padding-bottom: 18px;
    }

    .eg-footer-logo {
        font-size: 22px;
    }

    .eg-footer-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .eg-footer-title {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .eg-contact-value {
        font-size: 16px;
    }

    .eg-work-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .eg-work-item strong {
        font-size: 14px;
    }

    #back-to-top {
        width: 48px;
        height: 48px;
        right: 14px;
        bottom: 27px;
    }
}


/* ===== HARD OVERRIDE FOR COLLAPSED MENU ===== */
@media (max-width: 1050px) {
    .egx-menu-btn {
        display: inline-flex !important;
        order: 1 !important;
        width: 100% !important;
    }

    .egx-catalog {
        order: 2 !important;
        width: 132px !important;
        margin: 0 !important;
        flex: 0 0 132px !important;
    }

    .egx-catalog-btn {
        width: 100% !important;
        min-width: 132px !important;
    }

    .egx-links {
        order: 3 !important;
        grid-column: 1 / -1 !important;
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 10px !important;
        padding: 8px 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
        overflow-y: visible !important;
        white-space: normal !important;
        border: 1px solid rgba(200,166,70,0.14) !important;
        border-radius: 14px !important;
        background: #0b0b0b !important;
    }

    .egx-links.open {
        display: flex !important;
    }

    .egx-links.open a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 52px !important;
        height: auto !important;
        flex: 0 0 auto !important;
        padding: 0 16px !important;
        margin: 0 !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        border-bottom: 1px solid rgba(200,166,70,0.10) !important;
    }

    .egx-links.open a:last-child {
        border-bottom: 0 !important;
    }

    .egx-links.open a::after {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .egx-catalog {
        width: 112px !important;
        flex: 0 0 112px !important;
    }

    .egx-catalog-btn {
        min-width: 112px !important;
    }

    .egx-links.open a {
        min-height: 48px !important;
        padding: 0 14px !important;
    }
}

@media (max-width: 767px) {
    .eg-masthead-top .eg-masthead-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
        align-items: center;
    }

    .eg-masthead-brand {
        min-width: 0;
        max-width: 100%;
        gap: 10px !important;
        overflow: hidden;
    }

    .eg-masthead-brand img {
        width: 72px !important;
        height: 72px !important;
        flex: 0 0 72px !important;
    }

    .eg-masthead-brand-text {
        font-size: 18px !important;
        line-height: 1 !important;
        letter-spacing: 0.4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .eg-masthead-actions {
        gap: 8px;
        min-width: auto;
        flex: 0 0 auto;
    }

    .eg-masthead-action {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        border-radius: 12px;
    }

    .eg-masthead-action span {
        display: none !important;
    }

    .eg-masthead-search {
        grid-column: 1 / -1;
        margin-top: 10px;
    }

    .eg-masthead-search input {
        height: 52px;
        font-size: 14px;
        padding: 0 58px 0 16px;
        border-radius: 16px;
    }

    .eg-masthead-search button {
        width: 40px;
        height: 40px;
        right: 6px;
        border-radius: 12px;
    }
}






@media (max-width: 767px) {
    .eg-masthead-top .eg-masthead-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: auto !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .eg-masthead-brand {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .eg-masthead-brand img {
        width: 64px !important;
        height: 64px !important;
        flex: 0 0 64px !important;
        margin: 0 !important;
    }

    .eg-masthead-brand-text {
        display: block !important;
        font-size: 15px !important;
        line-height: 1 !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .eg-masthead-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        min-width: auto !important;
        flex: 0 0 auto !important;
    }

    .eg-masthead-action {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        gap: 0 !important;
    }

    .eg-masthead-action span {
        display: none !important;
    }

    .eg-masthead-search {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-top: 10px !important;
    }

    .eg-masthead-search input {
        height: 50px !important;
        font-size: 14px !important;
        padding: 0 56px 0 14px !important;
        border-radius: 16px !important;
    }

    .eg-masthead-search button {
        width: 40px !important;
        height: 40px !important;
        right: 5px !important;
        border-radius: 12px !important;
    }
}



/* ===== PRODUCT PAGE / ENGINE GROUP ===== */

.eg-product-page {
    padding: 22px 0 48px;
}

.eg-product-card {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 32%),
        #070707;
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.eg-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.eg-product-gallery,
.eg-product-summary {
    min-width: 0;
}

.eg-product-main-image {
    background: #111;
    border: 1px solid rgba(212,175,55,.14);
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.eg-product-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.eg-product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.eg-product-thumb {
    border: 1px solid rgba(212,175,55,.14);
    background: #111;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: .2s ease;
    aspect-ratio: 1 / 1;
}

.eg-product-thumb:hover,
.eg-product-thumb.is-active {
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 0 0 1px rgba(212,175,55,.25) inset;
}

.eg-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eg-product-summary {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(212,175,55,.12);
    border-radius: 24px;
    padding: 26px;
}

.eg-product-kicker {
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 14px;
}

.eg-product-head h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 52px;
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
}

.eg-product-sku {
    color: rgba(255,255,255,.62);
    font-size: 15px;
    margin-bottom: 22px;
}

.eg-product-pricebox {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(212,175,55,.12);
    border-bottom: 1px solid rgba(212,175,55,.12);
}

.eg-product-price {
    color: #d4af37;
    font-size: 52px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.03em;
}

.eg-product-old-price {
    color: rgba(255,255,255,.35);
    font-size: 22px;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.eg-product-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 24px;
}

.eg-product-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(212,175,55,.18);
    background: rgba(212,175,55,.08);
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 700;
}

.eg-product-chip--muted {
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.04);
}

.eg-product-description {
    margin-bottom: 24px;
}

.eg-product-description h2 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 14px;
    font-weight: 800;
}

.eg-richtext,
.eg-richtext p,
.eg-richtext li {
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.8;
}

.eg-richtext p:last-child {
    margin-bottom: 0;
}

.eg-product-buybox {
    padding-top: 22px;
    border-top: 1px solid rgba(212,175,55,.12);
}

.eg-product-buyform {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.eg-qty-box label {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.eg-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eg-qty-btn,
.eg-qty-control input {
    width: 56px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,.16);
    background: #0f0f0f;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.eg-qty-btn:hover {
    border-color: rgba(212,175,55,.38);
    background: #151515;
}

.eg-qty-control input {
    font-size: 18px;
}

.eg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    font-weight: 800;
    transition: .2s ease;
    text-decoration: none !important;
}

.eg-btn--lg {
    min-height: 50px;
    padding: 0 26px;
    font-size: 16px;
}

.eg-btn--full {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
}

.eg-btn--gold {
    background: linear-gradient(180deg, #e3c35a 0%, #d4af37 100%);
    color: #111 !important;
    box-shadow: 0 10px 24px rgba(212,175,55,.18);
}

.eg-btn--gold:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.eg-btn--dark {
    background: #111;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(212,175,55,.12);
}

.eg-btn.is-disabled,
.eg-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.eg-product-actions {
    margin-top: 18px;
}

.eg-product-fav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-weight: 700;
    text-decoration: none;
}

.eg-product-fav:hover,
.eg-product-fav.active {
    color: #d4af37;
}

/* ===== Tabs ===== */

.eg-product-info {
    margin-top: 26px;
}

.eg-product-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.eg-tab-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,.14);
    background: #0c0c0c;
    color: rgba(255,255,255,.72);
    font-weight: 800;
    transition: .2s ease;
}

.eg-tab-btn:hover,
.eg-tab-btn.is-active {
    color: #111;
    background: #d4af37;
    border-color: #d4af37;
}

.eg-tab-panel {
    display: none;
}

.eg-tab-panel.is-active {
    display: block;
}

.eg-specs-card {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 28%),
        #070707;
    border: 1px solid rgba(212,175,55,.14);
    border-radius: 24px;
    padding: 24px;
}

.eg-specs-richtext p,
.eg-specs-richtext li,
.eg-specs-richtext div {
    color: rgba(255,255,255,.84);
    font-size: 17px;
    line-height: 1.85;
}

/* ===== Catalog tile ===== */

.eg-product-tile {
    background:
        radial-gradient(circle at top right, rgba(212,175,55,.10), transparent 28%),
        #0a0a0a;
    border: 1px solid rgba(212,175,55,.14);
    border-radius: 24px;
    overflow: hidden;
    transition: .22s ease;
    height: 100%;
}

.eg-product-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.3);
    box-shadow: 0 20px 40px rgba(0,0,0,.26);
}

.eg-product-tile__media {
    position: relative;
    background: #111;
}

.eg-product-tile__image-link {
    display: block;
    aspect-ratio: 1 / 1;
}

.eg-product-tile__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eg-product-tile__fav {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(212,175,55,.14);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.eg-product-tile__fav:hover,
.eg-product-tile__fav.active {
    color: #d4af37;
    border-color: rgba(212,175,55,.34);
}

.eg-product-tile__body {
    padding: 18px 18px 20px;
}

.eg-product-tile__title {
    margin: 0 0 10px;
    min-height: 56px;
}

.eg-product-tile__title a {
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
}

.eg-product-tile__meta {
    color: rgba(255,255,255,.44);
    font-size: 13px;
    margin-bottom: 14px;
}

.eg-product-tile__pricebox {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.eg-product-tile__price {
    color: #d4af37;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.eg-product-tile__old-price {
    color: rgba(255,255,255,.34);
    text-decoration: line-through;
    font-size: 16px;
}

.eg-product-tile .eg-btn {
    width: 100%;
}

/* ===== Old theme cleanup ===== */

.icon-sale-label,
.sale-left,
.ratings,
.rating,
.rating-links,
.related-product-area,
.upsell-product-area,
.product-flexslider,
.cloud-zoom-lens,
.cloud-zoom-big,
.cloud-zoom-title {
    display: none !important;
}

.product-overview-tab .container,
.product-view-area .col-xs-12,
.product-view-area .col-sm-5,
.product-view-area .col-sm-7,
.product-view-area .col-md-5,
.product-view-area .col-md-7,
.product-view-area .col-lg-5,
.product-view-area .col-lg-7 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 1100px) {
    .eg-product-head h1 {
        font-size: 42px;
    }

    .eg-product-price {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .eg-product-card {
        padding: 18px;
        border-radius: 22px;
    }

    .eg-product-grid {
        grid-template-columns: 1fr;
    }

    .eg-product-summary {
        padding: 20px;
    }

    .eg-product-head h1 {
        font-size: 34px;
    }

    .eg-product-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eg-product-page {
        padding-top: 14px;
    }

    .eg-product-head h1 {
        font-size: 28px;
    }

    .eg-product-price {
        font-size: 34px;
    }

    .eg-richtext,
    .eg-richtext p,
    .eg-richtext li,
    .eg-specs-richtext p,
    .eg-specs-richtext li,
    .eg-specs-richtext div {
        font-size: 15px;
        line-height: 1.7;
    }

    .eg-product-buyform {
        flex-direction: column;
        align-items: stretch;
    }

    .eg-btn--lg {
        width: 100%;
    }

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

    .eg-product-tile__title a {
        font-size: 20px;
    }

    .eg-product-tile__price {
        font-size: 26px;
    }
}


/* ===== ENGINE GROUP: catalog dropdown polish ===== */

.egx-catalog-btn {
    background: linear-gradient(180deg, #f1da87 0%, #ddb754 52%, #c99734 100%);
    color: #121212;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        0 8px 18px rgba(0,0,0,0.18);
}

.egx-catalog-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        0 12px 22px rgba(0,0,0,0.22);
}

.egx-catalog-dropdown {
    top: calc(100% + 14px);
    left: 0;
    width: min(720px, 78vw);
    min-width: 560px;
    max-width: 720px;
    background:
        radial-gradient(circle at top right, rgba(212,175,55,0.07) 0%, rgba(212,175,55,0) 34%),
        linear-gradient(180deg, #141414 0%, #0b0b0b 100%);
    border: 1px solid rgba(200,166,70,0.18);
    border-radius: 24px;
    box-shadow:
        0 28px 54px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.03);
    padding: 14px;
}

.egx-catalog-dropdown__head {
    padding: 8px 10px 14px;
    border-bottom: 1px solid rgba(200,166,70,0.10);
    margin-bottom: 10px;
}

.egx-catalog-dropdown__title {
    color: #f5f2ea;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.egx-catalog-dropdown__sub {
    margin-top: 6px;
    color: rgba(244,241,232,0.56);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.egx-catalog-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.egx-catalog-dropdown__item {
    margin: 0;
    padding: 0;
}

.egx-catalog-dropdown__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(200,166,70,0.10);
    border-radius: 16px;
    background: rgba(255,255,255,0.01);
    color: var(--eg-text) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        color .2s ease;
}

.egx-catalog-dropdown__item a i {
    color: rgba(221,183,84,0.72);
    font-size: 16px;
    transition: transform .2s ease, color .2s ease;
}

.egx-catalog-dropdown__item a:hover {
    background: linear-gradient(180deg, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.05) 100%);
    border-color: rgba(212,175,55,0.22);
    color: #f7f3ea !important;
    transform: translateY(-1px);
}

.egx-catalog-dropdown__item a:hover i {
    color: #e5c46d;
    transform: translateX(2px);
}

@media (max-width: 1050px) {
    .egx-catalog-dropdown {
        width: min(420px, calc(100vw - 28px));
        min-width: 0;
        max-width: none;
        left: 0;
        right: auto;
        border-radius: 18px;
        padding: 12px;
    }

    .egx-catalog-dropdown__list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .egx-catalog-dropdown__item a {
        min-height: 50px;
        border-radius: 14px;
        font-size: 14px;
    }

    .egx-catalog-dropdown__title {
        font-size: 16px;
    }

    .egx-catalog-dropdown__sub {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .egx-catalog-dropdown {
        right: 0;
        left: auto;
        width: min(360px, calc(100vw - 28px));
        max-width: calc(100vw - 28px);
    }
}

/* ===== catalog dropdown compact fix ===== */

.egx-catalog-dropdown {
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    padding: 10px !important;
    border-radius: 18px !important;
}

.egx-catalog-dropdown__head {
    padding: 4px 6px 10px !important;
    margin-bottom: 6px !important;
}

.egx-catalog-dropdown__title {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    color: #dcb85a !important;
}

.egx-catalog-dropdown__sub {
    display: none !important;
}

.egx-catalog-dropdown__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
}

.egx-catalog-dropdown__item a {
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.egx-catalog-dropdown__item a i {
    font-size: 14px !important;
}

@media (min-width: 1200px) {
    .egx-catalog-dropdown {
        width: 420px !important;
        min-width: 420px !important;
        max-width: 420px !important;
    }

    .egx-catalog-dropdown__list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
}

@media (max-width: 767px) {
    .egx-catalog-dropdown {
        width: min(320px, calc(100vw - 28px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 28px) !important;
        right: 0 !important;
        left: auto !important;
        padding: 10px !important;
    }

    .egx-catalog-dropdown__item a {
        min-height: 40px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
}



/* ===== catalog dropdown stable compact ===== */

.egx-catalog-dropdown {
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: auto !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    padding: 8px 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #121212 0%, #0b0b0b 100%) !important;
    border: 1px solid rgba(200,166,70,0.18) !important;
    box-shadow: 0 24px 42px rgba(0,0,0,0.40) !important;
    display: none;
    z-index: 200 !important;
}

.egx-catalog-dropdown.open {
    display: block !important;
}

.egx-catalog-dropdown ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.egx-catalog-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.egx-catalog-dropdown a {
    display: block !important;
    padding: 11px 16px !important;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f3efe3 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    transition: background .2s ease, color .2s ease !important;
}

.egx-catalog-dropdown a:hover {
    background: rgba(212,175,55,0.08) !important;
    color: #e6c46c !important;
}

@media (min-width: 1200px) {
    .egx-catalog-dropdown {
        width: 360px !important;
        min-width: 360px !important;
        max-width: 360px !important;
    }
}

@media (max-width: 767px) {
    .egx-catalog-dropdown {
        right: 0 !important;
        left: auto !important;
        width: min(320px, calc(100vw - 28px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 28px) !important;
    }

    .egx-catalog-dropdown a {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/* ===== inner catalog button: premium subdued mode ===== */

.egx-catalog-btn--inner {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%),
        #0b0b0b !important;
    color: #f3efe3 !important;
    border: 1px solid rgba(200,166,70,0.16) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 20px rgba(0,0,0,0.20) !important;
}

.egx-catalog-btn--inner i {
    color: #d4af37 !important;
}

.egx-catalog-btn--inner:hover {
    background:
        linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%),
        #0d0d0d !important;
    color: #ffffff !important;
    border-color: rgba(212,175,55,0.26) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 14px 26px rgba(0,0,0,0.24) !important;
}

.egx-catalog-btn--inner span {
    letter-spacing: 0.45px;
}













.egx-catalog-btn.egx-catalog-btn--inner {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%),
        #0b0b0b !important;
    color: #f3efe3 !important;
    border: 1px solid rgba(200,166,70,0.16) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 20px rgba(0,0,0,0.20) !important;
}

.egx-catalog-btn.egx-catalog-btn--inner i {
    color: #d4af37 !important;
}

.egx-catalog-btn.egx-catalog-btn--inner:hover {
    background:
        linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%),
        #0d0d0d !important;
    color: #ffffff !important;
    border-color: rgba(212,175,55,0.26) !important;
}




/* ===== FINAL OVERRIDE: header catalog dropdown ===== */

.egx-catalog {
    position: relative;
}

.egx-catalog-btn {
    position: relative;
    z-index: 221;
}

.egx-catalog-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: auto !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    padding: 10px 0 !important;
    background: linear-gradient(180deg, #121212 0%, #0b0b0b 100%) !important;
    border: 1px solid rgba(200,166,70,0.18) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 44px rgba(0,0,0,0.42) !important;
    z-index: 220 !important;
    display: none;
    overflow: hidden !important;
}

.egx-catalog-dropdown.open {
    display: block !important;
}

.egx-catalog-dropdown ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.egx-catalog-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.egx-catalog-dropdown a {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    color: #f3efe3 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    border-bottom: 1px solid rgba(200,166,70,0.08) !important;
    background: transparent !important;
    transition: background .2s ease, color .2s ease, padding-left .2s ease !important;
}

.egx-catalog-dropdown li:last-child a {
    border-bottom: 0 !important;
}

.egx-catalog-dropdown a:hover {
    background: rgba(212,175,55,0.08) !important;
    color: #f0d37b !important;
    padding-left: 22px !important;
}

.egx-catalog-btn--inner {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.01) 100%),
        #0b0b0b !important;
    color: #f3efe3 !important;
    border: 1px solid rgba(200,166,70,0.16) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 20px rgba(0,0,0,0.20) !important;
}

.egx-catalog-btn--inner i {
    color: #d4af37 !important;
}

.egx-catalog-btn--inner:hover {
    background:
        linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%),
        #0d0d0d !important;
    color: #ffffff !important;
    border-color: rgba(212,175,55,0.26) !important;
}

@media (max-width: 767px) {
    .egx-catalog-dropdown {
        width: calc(100vw - 28px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 28px) !important;
        left: 0 !important;
    }

    .egx-catalog-dropdown a {
        min-height: 48px !important;
        font-size: 14px !important;
        padding: 0 16px !important;
    }
}

/* ===== PRODUCT REVIEWS — ENGINE GROUP ===== */

.eg-reviews {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #f3efe3;
}

.eg-reviews-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.eg-reviews-title,
.eg-review-form-title,
.eg-reviews-empty h3,
.eg-reviews-login-box h3 {
    margin: 0;
    color: #f5f2ea;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
}

.eg-reviews-count {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,175,55,0.10);
    border: 1px solid rgba(212,175,55,0.18);
    color: #d4af37;
    font-size: 15px;
    font-weight: 800;
}

.eg-reviews-subtitle,
.eg-review-form-text,
.eg-reviews-empty p,
.eg-reviews-login-box p {
    margin: 10px 0 0;
    color: rgba(243,239,227,0.68);
    font-size: 16px;
    line-height: 1.75;
}

.eg-reviews-list,
.eg-reviews-form-wrap,
.eg-reviews-empty,
.eg-reviews-login-box {
    padding: 26px 28px;
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(212,175,55,0.06), transparent 28%),
        rgba(255,255,255,0.015);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.eg-reviews-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eg-review-card {
    padding: 20px 22px;
    border: 1px solid rgba(212,175,55,0.10);
    border-radius: 20px;
    background: rgba(255,255,255,0.015);
}

.eg-review-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.eg-review-card__author {
    color: #f5f2ea;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.eg-review-card__date {
    margin-top: 6px;
    color: rgba(243,239,227,0.50);
    font-size: 13px;
    line-height: 1.4;
}

.eg-review-card__text {
    margin-top: 16px;
    color: rgba(243,239,227,0.80);
    font-size: 16px;
    line-height: 1.8;
}

.eg-review-card__actions {
    margin-top: 18px;
}

.eg-review-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.eg-review-author {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.10);
    background: rgba(255,255,255,0.015);
    color: rgba(243,239,227,0.76);
    font-size: 15px;
    line-height: 1.6;
}

.eg-review-author strong {
    color: #f5f2ea;
    font-weight: 800;
}

.eg-review-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eg-review-field label {
    color: #f5f2ea;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.eg-review-select,
.eg-review-textarea {
    width: 100%;
    border: 1px solid rgba(212,175,55,0.14);
    background: #0d0d0d;
    color: #f3efe3;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.eg-review-select {
    min-height: 56px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #d4af37 50%),
        linear-gradient(135deg, #d4af37 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.eg-review-textarea {
    min-height: 150px;
    padding: 16px 18px;
    resize: vertical;
    font-size: 15px;
    line-height: 1.7;
}

.eg-review-select:focus,
.eg-review-textarea:focus {
    outline: none;
    border-color: rgba(212,175,55,0.38);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.08);
    background-color: #101010;
}

.eg-review-textarea::placeholder {
    color: rgba(243,239,227,0.36);
}

.eg-review-error {
    color: #e07c7c;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.eg-review-form .eg-btn,
.eg-reviews-login-box .eg-btn {
    align-self: flex-start;
    min-width: 260px;
}

.eg-reviews-login-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 991px) {
    .eg-reviews-list,
    .eg-reviews-form-wrap,
    .eg-reviews-empty,
    .eg-reviews-login-box {
        padding: 22px 20px;
        border-radius: 20px;
    }

    .eg-reviews-title,
    .eg-review-form-title,
    .eg-reviews-empty h3,
    .eg-reviews-login-box h3 {
        font-size: 24px;
    }

    .eg-review-card__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .eg-reviews {
        gap: 18px;
    }

    .eg-reviews-list,
    .eg-reviews-form-wrap,
    .eg-reviews-empty,
    .eg-reviews-login-box {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .eg-reviews-title,
    .eg-review-form-title,
    .eg-reviews-empty h3,
    .eg-reviews-login-box h3 {
        font-size: 22px;
    }

    .eg-reviews-subtitle,
    .eg-review-form-text,
    .eg-reviews-empty p,
    .eg-reviews-login-box p,
    .eg-review-card__text {
        font-size: 15px;
        line-height: 1.7;
    }

    .eg-review-card {
        padding: 16px;
        border-radius: 16px;
    }

    .eg-review-form .eg-btn,
    .eg-reviews-login-box .eg-btn {
        width: 100%;
        min-width: 0;
    }

    .eg-review-select {
        min-height: 52px;
    }

    .eg-review-textarea {
        min-height: 130px;
    }
}


/* ===== MOBILE FIX: header catalog dropdown ===== */
@media (max-width: 767px) {
    .egx-nav-shell {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .egx-nav-row {
        grid-template-columns: minmax(0, 1fr) 132px !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .egx-menu-btn {
        min-width: 0 !important;
        width: 100% !important;
        height: 52px !important;
        font-size: 14px !important;
        border-radius: 16px !important;
    }

    .egx-catalog {
        width: 132px !important;
        min-width: 132px !important;
        flex: 0 0 132px !important;
        position: relative !important;
    }

    .egx-catalog-btn {
        width: 100% !important;
        min-width: 132px !important;
        height: 52px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
        border-radius: 16px !important;
    }

    .egx-catalog-dropdown {
        left: auto !important;
        right: 0 !important;
        top: calc(100% + 10px) !important;
        width: min(86vw, 330px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 62vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        border-radius: 18px !important;
        padding: 10px 0 !important;
        z-index: 9999 !important;
    }

    .egx-catalog-dropdown ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .egx-catalog-dropdown li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .egx-catalog-dropdown a {
        display: block !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        font-size: 15px !important;
        padding: 16px 18px !important;
    }
}


/* ===== PRODUCT FAVORITE BUTTON — premium ===== */

.eg-product-fav {
    display: none !important;
}

.eg-product-favcard {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px 0 14px;
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 100%),
        #0d0d0d;
    color: rgba(245,242,234,.92) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: .22s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.03),
        0 10px 24px rgba(0,0,0,.18);
}

.eg-product-favcard:hover {
    transform: translateY(-1px);
    border-color: rgba(221,183,84,.30);
    background:
        linear-gradient(180deg, rgba(221,183,84,.08) 0%, rgba(221,183,84,.03) 100%),
        #101010;
    color: #fff !important;
}

.eg-product-favcard__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(221,183,84,.08);
    border: 1px solid rgba(221,183,84,.14);
    color: #ddb754;
    flex: 0 0 38px;
    transition: .22s ease;
}

.eg-product-favcard__icon i {
    font-size: 16px;
    color: inherit;
}

.eg-product-favcard.active {
    border-color: rgba(221,183,84,.34);
    background:
        linear-gradient(180deg, rgba(221,183,84,.12) 0%, rgba(221,183,84,.05) 100%),
        #111;
    color: #fff !important;
}

.eg-product-favcard.active .eg-product-favcard__icon {
    background: rgba(221,183,84,.18);
    border-color: rgba(221,183,84,.28);
    color: #f0d77f;
}

@media (max-width: 767px) {
    .eg-product-favcard {
        width: 100%;
        justify-content: flex-start;
        min-height: 50px;
        border-radius: 16px;
        font-size: 14px;
    }

    .eg-product-favcard__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}