/* Stonegate Heritage palette overrides for Fxzone.
   Vendor styles remain untouched; this file owns the brand color layer. */

:root {
    --theme-color: #3b1f23 !important;
    --secondary-color: #161412 !important;
    --text-color: #2b1e17 !important;
    --title-color: #2b1e17 !important;

    --stonegate-wine: #3b1f23;
    --stonegate-gold: #b89b5e;
    --stonegate-ivory: #f3e9d7;
    --stonegate-chocolate: #2b1e17;
    --stonegate-carbon: #161412;
    --stonegate-paper: #fff8ed;
    --stonegate-border: rgba(184, 155, 94, 0.34);
    --stonegate-muted: rgba(43, 30, 23, 0.72);
    --stonegate-light-text: rgba(243, 233, 215, 0.82);
}

body,
.boxed_wrapper {
    background: var(--stonegate-ivory) !important;
    color: var(--stonegate-chocolate) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.sec-title h2,
.content-box h2,
.content-box h3,
.service-block-one .inner-box h3 a,
.news-block-one .inner-box h3 a,
.team-block-one .inner-box h3 a,
.blog-sidebar .post-widget .post h5 a {
    color: var(--stonegate-chocolate) !important;
}

p,
li,
span,
.content_block_one .content-box p,
.content_block_two .content-box p,
.content_block_three .content-box p,
.service-block-one .inner-box p,
.news-block-one .inner-box p {
    color: inherit;
}

a,
button,
.theme-btn {
    transition: all 300ms ease;
}

a:hover,
.sec-title h6,
.sec-title h6:before,
.service-block-one .inner-box h3 a:hover,
.service-block-one .inner-box .link-box a:hover,
.news-block-one .inner-box h3 a:hover,
.blog-sidebar .post-widget .post h5 a:hover {
    color: var(--stonegate-wine) !important;
}

.sec-title.light h2,
.sec-title.light h6,
.more-text.light p,
.more-text.light p a {
    color: var(--stonegate-ivory) !important;
}

.sec-title.light h6,
.sec-title.light h6:before,
.more-text.light p a:hover {
    color: var(--stonegate-gold) !important;
}

/* Buttons and controls */
.theme-btn.btn-one,
.theme-btn.btn-three,
button[type="submit"],
input[type="submit"] {
    background: var(--stonegate-wine) !important;
    border-color: var(--stonegate-gold) !important;
    color: var(--stonegate-ivory) !important;
}

.theme-btn.btn-two {
    background: var(--stonegate-ivory) !important;
    border: 1px solid var(--stonegate-border) !important;
    color: var(--stonegate-chocolate) !important;
}

.theme-btn.btn-one span,
.theme-btn.btn-two span,
.theme-btn.btn-three span,
.theme-btn span:before,
.theme-btn.btn-one span:before,
.theme-btn.btn-two span:before,
.theme-btn.btn-three span:before {
    color: currentColor !important;
}

.theme-btn:hover,
.theme-btn.btn-one:hover,
.theme-btn.btn-two:hover,
.theme-btn.btn-three:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--stonegate-gold) !important;
    border-color: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.pagination li a {
    background: var(--stonegate-paper) !important;
    color: var(--stonegate-chocolate) !important;
    border-color: var(--stonegate-border) !important;
}

.pagination li a.current,
.pagination li a:hover {
    background: var(--stonegate-wine) !important;
    color: var(--stonegate-ivory) !important;
}

.scroll-top,
.chat-icon button,
.chat-popup .close-chat {
    background: var(--stonegate-carbon) !important;
    color: var(--stonegate-gold) !important;
}

/* Header, nav, dropdowns */
.header-top,
.main-header .header-lower .outer-container,
.main-header .sticky-header,
.main-header .support-box .support-content,
.main-menu .navigation > li > ul,
.main-menu .navigation > li > .megamenu,
.main-menu .navigation > li > ul > li > ul {
    background: var(--stonegate-wine) !important;
    border-color: var(--stonegate-border) !important;
}

.sticky-header {
    box-shadow: 0 12px 32px rgba(22, 20, 18, 0.22) !important;
}

.header-top,
.header-top li,
.header-top span,
.header-top a,
.header-top .info-list li,
.header-top .info-list li a,
.header-top .links-list li a,
.main-menu .navigation > li > a,
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > .megamenu li > a,
.main-menu .navigation > li > ul > li > ul > li > a,
.main-header .search-toggler,
.main-header .option-list li a,
.main-header .support-box h5,
.main-header .outer-box .account-box,
.main-header .outer-box .account-box .account-menu-trigger,
.main-header .outer-box .account-box .nice-select,
.main-header .outer-box .account-box .nice-select span,
.mobile-menu .navigation li > a,
.mobile-menu .contact-info,
.mobile-menu .contact-info h4,
.mobile-menu .contact-info ul li,
.mobile-menu .contact-info ul li a {
    color: var(--stonegate-ivory) !important;
}

.header-top .info-list li:last-child a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.dropdown.current > a:before,
.main-menu .navigation > li:hover > a:before,
.main-menu .navigation > li > ul > li > a:hover,
.main-menu .navigation > li > .megamenu li > a:hover,
.main-menu .navigation > li > ul > li > ul > li > a:hover,
.main-header .search-toggler:hover,
.main-header .support-box .support-content .single-item .inner:hover h5,
.mobile-menu .navigation li.current > a,
.mobile-menu .navigation li > a:hover,
.mobile-menu .contact-info ul li a:hover {
    color: var(--stonegate-gold) !important;
}

.header-top .info-list li i,
.header-top .links-list li i,
.main-menu .navigation > li.dropdown > a:before,
.main-menu .navigation > li > ul > li > a:before,
.main-menu .navigation > li > ul > li > ul > li > a:before,
.main-header .outer-box .account-box .icon-box,
.main-header .option-list i,
.main-header .option-list .support-box .icon-box {
    color: var(--stonegate-gold) !important;
}

.header-top .links-list li::before,
.main-header .outer-box .left-column .logo-box::before,
.main-header .option-list li::before,
.main-header .menu-right-content .btn-box::before,
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > .megamenu li > a,
.main-menu .navigation > li > ul > li > ul > li > a,
.main-header .support-box .support-content .single-item {
    border-color: rgba(243, 233, 215, 0.2) !important;
}

.main-header .menu-right-content .btn-box .theme-btn.btn-one,
.main-header .sticky-header .btn-box .theme-btn.btn-one,
.header-style-two .menu-right-content .theme-btn,
.header-style-four .menu-right-content .theme-btn {
    background: var(--stonegate-gold) !important;
    border-color: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.main-header .menu-right-content .btn-box .theme-btn.btn-one:hover,
.main-header .sticky-header .btn-box .theme-btn.btn-one:hover,
.header-style-two .menu-right-content .theme-btn:hover,
.header-style-four .menu-right-content .theme-btn:hover {
    background: var(--stonegate-ivory) !important;
    border-color: var(--stonegate-ivory) !important;
    color: var(--stonegate-wine) !important;
}

.main-header .outer-box {
    gap: 28px;
}

.main-header .menu-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.main-header .main-menu,
.main-header .main-menu .navbar-collapse {
    width: 100%;
}

.main-header .main-menu .navbar-collapse {
    justify-content: center;
}

.main-header .main-menu .navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header .main-menu .navigation > li {
    float: none;
}

.main-header .menu-right-content {
    flex: 0 0 auto;
    gap: 40px !important;
}

.main-header .menu-right-content .btn-box {
    display: block !important;
}

.main-header .menu-right-content .btn-box .theme-btn.btn-one {
    min-width: 205px;
    padding-left: 28px;
    padding-right: 28px;
    white-space: nowrap;
}

.main-header .menu-right-content .btn-box::before {
    left: -20px !important;
}

.main-header .menu-right-content .dashboard-btn-box::before {
    display: none;
}

.nice-select,
.nice-select .list,
.nice-select .option {
    background: var(--stonegate-paper) !important;
    border-color: var(--stonegate-border) !important;
    color: var(--stonegate-chocolate) !important;
}

.nice-select::before,
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    color: var(--stonegate-gold) !important;
}

.main-header .account-box .nice-select,
.main-header .account-box .nice-select.wide,
.header-style-three .menu-right-content .account-box .nice-select {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--stonegate-ivory) !important;
}

.main-header .account-box .nice-select span,
.main-header .account-box .nice-select:after,
.main-header .account-box .nice-select::before,
.header-style-three .menu-right-content .account-box .nice-select span,
.header-style-three .menu-right-content .account-box .nice-select::before {
    color: var(--stonegate-gold) !important;
}

.main-header .account-box .nice-select .list {
    background: var(--stonegate-paper) !important;
    border: 1px solid var(--stonegate-border) !important;
}

.main-header .account-box .nice-select .option {
    background: var(--stonegate-paper) !important;
    color: var(--stonegate-chocolate) !important;
}

.main-header .account-box .account-menu {
    position: relative;
}

.main-header .account-box .account-menu-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 18px 0 0;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 34px;
    font-family: var(--title-font);
    font-weight: 500;
    text-transform: capitalize;
    cursor: pointer;
}

.main-header .account-box .account-menu-trigger::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 0;
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 400;
    color: var(--stonegate-gold);
    transform: translateY(-50%);
}

.main-header .account-box .account-menu-list {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 178px;
    margin: 10px 0 0;
    padding: 10px 0;
    border: 1px solid var(--stonegate-border);
    border-radius: 4px;
    background: var(--stonegate-paper);
    box-shadow: 0 18px 38px rgba(22, 20, 18, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 20;
}

.main-header .account-box .account-menu:hover .account-menu-list,
.main-header .account-box .account-menu:focus-within .account-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-header .account-box .account-menu-list li {
    display: block;
}

.main-header .account-box .account-menu-list a {
    display: block;
    padding: 8px 18px;
    color: var(--stonegate-chocolate);
    font-family: var(--title-font);
    font-size: 18px;
    line-height: 24px;
    text-transform: none;
}

.main-header .account-box .account-menu-list a:hover,
.main-header .account-box .account-menu-list a:focus {
    color: var(--stonegate-gold);
}

.mobile-menu .menu-box {
    background: var(--stonegate-carbon) !important;
}

.mobile-menu .menu-backdrop {
    background: rgba(22, 20, 18, 0.86) !important;
}

.mobile-menu .close-btn,
.mobile-menu .navigation li.dropdown .dropdown-btn,
.mobile-menu .social-links li a {
    color: var(--stonegate-gold) !important;
    border-color: var(--stonegate-border) !important;
}

.mobile-menu .navigation li {
    border-color: rgba(243, 233, 215, 0.16) !important;
}

.mobile-nav-toggler .icon-bar {
    background-color: var(--stonegate-gold) !important;
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 30px 8px;
}

.mobile-menu-cta .theme-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

/* Hero and page titles */
.banner-carousel .slide-item::before {
    background: linear-gradient(-90deg, rgba(59, 31, 35, 0.96) 0%, rgba(59, 31, 35, 0.3) 75%) !important;
}

.banner-carousel .slide-item::after {
    background: linear-gradient(90deg, rgba(22, 20, 18, 0.96) 0%, rgba(22, 20, 18, 0.18) 75%) !important;
}

.banner-section .content-box::before,
.page-title .bg-layer::before {
    background: var(--stonegate-wine) !important;
}

.page-title .bg-layer::before {
    opacity: 0.82 !important;
}

.banner-carousel .content-box h1,
.banner-carousel .content-box h2,
.banner-carousel .content-box h3,
.banner-carousel .content-box h4,
.banner-style-two .content-box h2,
.banner-style-three .content-box h2,
.banner-style-four .content-box h2,
.page-title h1,
.page-title h2 {
    color: var(--stonegate-ivory) !important;
}

.banner-carousel .content-box p,
.banner-section .social-box .text,
.banner-section .social-box .social-links li a,
.page-title .bread-crumb li,
.page-title .bread-crumb li a,
.page-title .bread-crumb li span {
    color: var(--stonegate-light-text) !important;
}

.page-title .bread-crumb li a:hover,
.banner-section .social-box .social-links li a:hover,
.banner-carousel .owl-nav button:hover,
.banner-carousel .owl-dots button.active {
    color: var(--stonegate-gold) !important;
    border-color: var(--stonegate-gold) !important;
}

/* Light sections and cards */
.bg-color-1,
.service-section,
.chooseus-section,
.working-section,
.platform-section,
.education-section,
.news-section,
.partners-section,
.testimonial-section,
.team-section,
.account-section,
.assets-section,
.blog-grid,
.sidebar-page-container,
.contact-section,
.contact-form-section {
    background: var(--stonegate-ivory) !important;
}

.service-block-one .inner-box,
.chooseus-section .single-item,
.news-block-one .inner-box,
.working-block-one .inner-box,
.platform-section .inner-box,
.testimonial-block-one .inner-box,
.testimonial-block-two .inner-box,
.team-block-one .inner-box,
.account-block-one .inner-box,
.education-block-one .inner-box,
.blog-sidebar .search-widget,
.blog-sidebar .category-widget,
.blog-sidebar .post-widget,
.blog-sidebar .tags-widget .tags-list,
.blog-details-content .content-one blockquote,
.blog-details-content .author-box-inner,
.contact-form-section .tabs-content,
.chat-popup {
    background: var(--stonegate-paper) !important;
    border-color: var(--stonegate-border) !important;
    box-shadow: 0 14px 34px rgba(43, 30, 23, 0.08) !important;
}

.service-block-one .inner-box:hover,
.news-block-one .inner-box:hover,
.chooseus-section .single-item:hover,
.account-block-one .inner-box:hover,
.education-block-one .inner-box:hover {
    background: var(--stonegate-wine) !important;
    border-color: var(--stonegate-gold) !important;
    box-shadow: 0 18px 45px rgba(43, 30, 23, 0.2) !important;
}

.service-block-one .inner-box:hover h3 a,
.service-block-one .inner-box:hover p,
.service-block-one .inner-box:hover .link-box a,
.news-block-one .inner-box:hover h3 a,
.news-block-one .inner-box:hover p,
.chooseus-section .single-item:hover h3,
.chooseus-section .single-item:hover p,
.account-block-one .inner-box:hover h3,
.account-block-one .inner-box:hover p,
.education-block-one .inner-box:hover h3,
.education-block-one .inner-box:hover p {
    color: var(--stonegate-ivory) !important;
}

.service-block-one .inner-box:hover p:before,
.service-block-one .inner-box:hover .image-box .icon-box,
.chooseus-section .single-item:hover .icon-box,
.working-block-one .inner-box .icon-box,
.contact-section .community-box .icon-box,
.blog-details-content .content-one .text-box p:first-child span {
    background: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.chooseus-section .single-item .icon-box,
.pagination li a,
.blog-details-content .post-tag-option .tags-list li a,
.blog-sidebar .tags-widget .tags-list li a {
    background: rgba(184, 155, 94, 0.14) !important;
}

.chooseus-section .single-item::before,
.chooseus-section .left-content::before,
.chooseus-section .right-content::before {
    background-color: rgba(184, 155, 94, 0.34) !important;
}

.chooseus-section .single-item::after {
    background-color: var(--stonegate-paper) !important;
    border-color: var(--stonegate-border) !important;
}

/* Dark sections, tables and premium blocks */
.bg-color-2,
.challenge-section,
.challenge-section.dark-section,
.payouts-section,
.trader-section,
.main-footer,
.footer-style-two .widget-section,
.footer-style-three,
.footer-style-three .widget-section,
.footer-style-four,
.footer-bottom,
.footer-bottom-two {
    background: var(--stonegate-carbon) !important;
}

.challenge-section .sec-title h2,
.challenge-section .sec-title h6,
.challenge-section h5,
.challenge-section th,
.challenge-section td,
.challenge-section td p,
.challenge-section .upper-box h5,
.challenge-section .tab-btns li span,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.main-footer p,
.main-footer a,
.footer-style-two h3,
.footer-style-two h5,
.footer-style-two h6,
.footer-style-two p,
.footer-style-two a,
.footer-style-three h3,
.footer-style-three h5,
.footer-style-three h6,
.footer-style-three p,
.footer-style-three a,
.footer-style-four h3,
.footer-style-four h5,
.footer-style-four h6,
.footer-style-four p,
.footer-style-four a,
.footer-bottom p,
.footer-bottom a,
.footer-bottom-two p,
.footer-bottom-two a {
    color: var(--stonegate-ivory) !important;
}

.challenge-section .table-outer td,
.challenge-section .table-outer th,
.challenge-section .table-outer tbody tr:last-child td.big-data,
.challenge-section .table-outer tbody tr:last-child td,
.challenge-section .table-outer tbody tr td:nth-child(2),
.challenge-section .table-outer tbody tr td:nth-child(3),
.challenge-section .table-outer th.big-data {
    border-color: rgba(184, 155, 94, 0.28) !important;
}

.challenge-section .table-outer thead .title-box,
.challenge-section .table-outer .big-data .title-box,
.challenge-section .upper-box .select-box .nice-select,
.challenge-section .table-outer tbody td .theme-btn,
.challenge-style-two .tabs-content-3 .inner-box,
.content_block_two .content-box .tab-btns li.active-btn {
    background: var(--stonegate-chocolate) !important;
    color: var(--stonegate-ivory) !important;
}

.challenge-section .table-outer tbody tr:nth-child(even),
.challenge-section .table-outer tbody tr:nth-child(even) td::before {
    background-color: rgba(59, 31, 35, 0.48) !important;
}

.challenge-section .table-outer tbody td,
.challenge-section .table-outer tbody td.big-data i,
.challenge-section .table-outer tbody td .close-icon {
    color: var(--stonegate-light-text) !important;
}

.challenge-section .table-outer tbody td .check-icon,
.challenge-section .table-outer tbody .big-data button:hover,
.challenge-section .tab-btns li.active-btn span,
.challenge-section .tab-btns li:hover span {
    color: var(--stonegate-gold) !important;
}

.challenge-section .table-outer tbody .big-data button i,
.challenge-section .tab-btns li .shape {
    border-color: var(--stonegate-border) !important;
    color: var(--stonegate-gold) !important;
}

.challenge-section .table-outer tbody td .theme-btn:hover {
    background: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.challenge-section .challenge-plan-comparison .upper-box {
    display: block;
}

.challenge-section .challenge-tier-selector {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.challenge-section .challenge-tier-input {
    cursor: pointer;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.challenge-section .challenge-tier-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    min-width: 155px;
    padding: 0;
    position: relative;
    text-align: center;
}

.challenge-section .challenge-tier-track {
    background:
        repeating-linear-gradient(
            to right,
            rgba(255, 255, 255, 0.2) 0,
            rgba(255, 255, 255, 0.2) 1px,
            transparent 1px,
            transparent 6px
        );
    display: block;
    height: 35px;
    opacity: 0.65;
    transition: opacity 300ms ease;
    width: 156px;
}

.challenge-section .challenge-tier-track::before {
    background:
        repeating-linear-gradient(
            to right,
            var(--stonegate-gold) 0,
            var(--stonegate-gold) 1px,
            transparent 1px,
            transparent 6px
        );
    content: "";
    display: block;
    height: 100%;
    opacity: 0;
    transition: opacity 300ms ease;
}

.challenge-section .challenge-tier-input:checked ~ .challenge-tier-track,
.challenge-section .challenge-tier-btn:hover .challenge-tier-track {
    opacity: 1;
}

.challenge-section .challenge-tier-input:checked ~ .challenge-tier-track::before,
.challenge-section .challenge-tier-btn:hover .challenge-tier-track::before {
    opacity: 1;
}

.challenge-section .challenge-tier-name {
    color: var(--stonegate-ivory);
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
}

.challenge-section .challenge-tier-range {
    color: var(--stonegate-light-text);
    display: block;
    font-size: 13px;
    line-height: 18px;
    margin-top: 2px;
}

.challenge-section .challenge-tier-input:checked ~ .challenge-tier-name,
.challenge-section .challenge-tier-input:checked ~ .challenge-tier-range,
.challenge-section .challenge-tier-btn:hover .challenge-tier-name,
.challenge-section .challenge-tier-btn:hover .challenge-tier-range {
    color: var(--stonegate-gold) !important;
}

.challenge-plan-comparison:has(#challenge-tier-lite:checked) .table-outer thead th:nth-child(1) .title-box,
.challenge-plan-comparison:has(#challenge-tier-pro:checked) .table-outer thead th:nth-child(2) .title-box,
.challenge-plan-comparison:has(#challenge-tier-infinity:checked) .table-outer thead th:nth-child(4) .title-box,
.challenge-plan-comparison:has(#challenge-tier-ultimate:checked) .table-outer thead th:nth-child(5) .title-box {
    border: 1px solid rgba(184, 155, 94, 0.95);
    box-shadow: 0 0 22px rgba(184, 155, 94, 0.22);
}

.challenge-plan-comparison:has(#challenge-tier-lite:checked) .table-outer tbody td:nth-child(1),
.challenge-plan-comparison:has(#challenge-tier-pro:checked) .table-outer tbody td:nth-child(2),
.challenge-plan-comparison:has(#challenge-tier-infinity:checked) .table-outer tbody td:nth-child(4),
.challenge-plan-comparison:has(#challenge-tier-ultimate:checked) .table-outer tbody td:nth-child(5) {
    background: rgba(184, 155, 94, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(184, 155, 94, 0.38);
    color: var(--stonegate-ivory) !important;
}

.challenge-plan-comparison:has(#challenge-tier-lite:checked) .table-outer tbody tr:last-child td:nth-child(1) .theme-btn,
.challenge-plan-comparison:has(#challenge-tier-pro:checked) .table-outer tbody tr:last-child td:nth-child(2) .theme-btn,
.challenge-plan-comparison:has(#challenge-tier-infinity:checked) .table-outer tbody tr:last-child td:nth-child(4) .theme-btn,
.challenge-plan-comparison:has(#challenge-tier-ultimate:checked) .table-outer tbody tr:last-child td:nth-child(5) .theme-btn {
    background: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.challenge-plan-comparison:has(#challenge-tier-lite:checked) .table-outer tbody tr:last-child td:nth-child(1) .theme-btn span::before,
.challenge-plan-comparison:has(#challenge-tier-pro:checked) .table-outer tbody tr:last-child td:nth-child(2) .theme-btn span::before,
.challenge-plan-comparison:has(#challenge-tier-infinity:checked) .table-outer tbody tr:last-child td:nth-child(4) .theme-btn span::before,
.challenge-plan-comparison:has(#challenge-tier-ultimate:checked) .table-outer tbody tr:last-child td:nth-child(5) .theme-btn span::before {
    color: var(--stonegate-carbon) !important;
    transform: rotate(0deg);
}

@media only screen and (max-width: 767px) {
    .challenge-section .challenge-tier-selector {
        gap: 12px;
    }

    .challenge-section .challenge-tier-btn {
        min-width: calc(50% - 6px);
    }

    .challenge-section .challenge-tier-track {
        width: 100%;
    }
}

/* Footer */
.main-footer .footer-column:nth-child(odd) .footer-widget,
.footer-style-two .advice-widget .inner-box,
.footer-style-three .support-widget .icon-box,
.footer-style-four .support-box .single-item {
    background: linear-gradient(180deg, var(--stonegate-wine) 0%, var(--stonegate-carbon) 100%) !important;
    border-color: var(--stonegate-border) !important;
}

.main-footer .widget-title h3,
.footer-style-two .widget-title h3,
.footer-style-three .widget-title h3,
.footer-style-four .award-box h2 {
    color: var(--stonegate-ivory) !important;
}

.main-footer .links-widget .links-list li a,
.main-footer .contact-widget .info-list li p,
.main-footer .payment-widget p,
.main-footer .payment-widget .download-apps .single-item span,
.footer-style-two .links-widget .links-list li a,
.footer-style-three .links-widget .links-list li a,
.footer-nav li a,
.footer-bottom .bottom-inner .copyright p,
.footer-bottom-two .copyright p {
    color: var(--stonegate-light-text) !important;
}

.main-footer .links-widget .links-list li a:hover,
.main-footer .links-widget .links-list li a:hover i,
.main-footer .contact-widget .info-list li h5 a:hover,
.footer-style-two .links-widget .links-list li a:hover,
.footer-style-three .links-widget .links-list li a:hover,
.footer-style-four .footer-menu li a:hover,
.footer-nav li a:hover,
.footer-bottom .bottom-inner .copyright p a:hover,
.footer-bottom-two .copyright p a:hover {
    color: var(--stonegate-gold) !important;
}

.main-footer .contact-widget .social-links li a,
.footer-style-three .top-inner .social-links li a,
.footer-bottom-two .social-links li a {
    border-color: var(--stonegate-border) !important;
    color: var(--stonegate-ivory) !important;
}

.main-footer .contact-widget .social-links li a:hover,
.footer-style-three .top-inner .social-links li a:hover,
.footer-bottom-two .social-links li a:hover {
    background: var(--stonegate-gold) !important;
    border-color: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.footer-down .inner-box .text-box,
.footer-down .inner-box .form-inner .form-group input[type="email"],
.footer-style-two .logo-widget .form-inner .form-group input[type="email"] {
    background: var(--stonegate-chocolate) !important;
    border-color: var(--stonegate-border) !important;
    color: var(--stonegate-ivory) !important;
}

/* Forms, search and sidebars */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select,
.default-form input,
.default-form textarea,
.content_block_four .content-box .form-inner .form-group input[type="text"],
.content_block_four .content-box .form-inner .form-group input[type="email"],
.content_block_four .content-box .form-inner .form-group textarea,
.education-details-content .default-form .form-group input[type="text"],
.education-details-content .default-form .form-group input[type="email"],
.education-details-content .default-form .form-group textarea,
.blog-details-content .comment-form-area .form-inner .form-group input[type="text"],
.blog-details-content .comment-form-area .form-inner .form-group input[type="email"],
.blog-details-content .comment-form-area .form-inner .form-group textarea,
.contact-form-section .tabs-content .form-group input[type="text"],
.contact-form-section .tabs-content .form-group input[type="email"],
.contact-form-section .tabs-content .form-group textarea,
.contact-form-section .tabs-content .form-group .nice-select,
.blog-sidebar .search-widget .search-form .form-group input[type="search"],
.search-popup .search-form input[type="search"],
.chat-popup .chat-form .form-group input[type="text"],
.chat-popup .chat-form .form-group input[type="email"],
.chat-popup .chat-form .form-group textarea {
    background: var(--stonegate-paper) !important;
    border-color: var(--stonegate-border) !important;
    color: var(--stonegate-chocolate) !important;
}

input:focus,
textarea:focus,
.nice-select.open,
.content_block_four .content-box .form-inner .form-group input:focus,
.content_block_four .content-box .form-inner .form-group textarea:focus,
.education-details-content .default-form .form-group input:focus,
.education-details-content .default-form .form-group textarea:focus,
.blog-details-content .comment-form-area .form-inner .form-group input:focus,
.blog-details-content .comment-form-area .form-inner .form-group textarea:focus,
.contact-form-section .tabs-content .form-group input:focus,
.contact-form-section .tabs-content .form-group textarea:focus,
.blog-sidebar .search-widget .search-form .form-group input:focus,
.chat-popup .chat-form .form-group input:focus,
.chat-popup .chat-form .form-group textarea:focus {
    border-color: var(--stonegate-gold) !important;
    box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.16) !important;
}

::placeholder {
    color: rgba(43, 30, 23, 0.56) !important;
}

.search-popup,
.search-popup .popup-inner {
    background: rgba(243, 233, 215, 0.96) !important;
}

.search-popup .close-search,
.search-popup .search-form button[type="submit"],
.blog-sidebar .search-widget .search-form .form-group button[type="submit"] {
    color: var(--stonegate-wine) !important;
}

.blog-sidebar .category-widget .category-list li a,
.blog-sidebar .tags-widget .tags-list li a,
.blog-details-content .post-tag-option .tags-list li a {
    color: var(--stonegate-chocolate) !important;
    border-color: var(--stonegate-border) !important;
}

.blog-sidebar .category-widget .category-list li a:hover,
.blog-sidebar .tags-widget .tags-list li a:hover,
.blog-details-content .post-tag-option .tags-list li a:hover {
    background: var(--stonegate-wine) !important;
    border-color: var(--stonegate-wine) !important;
    color: var(--stonegate-ivory) !important;
}

/* Homepage variants and inherited hardcoded palettes */
.header-style-two .header-lower,
.header-style-three .header-lower,
.header-style-four .header-lower,
.header-style-two .header-lower .outer-container,
.header-style-three .header-lower .outer-container,
.header-style-four .header-lower .outer-container {
    background: var(--stonegate-wine) !important;
    border-color: var(--stonegate-border) !important;
}

.header-style-two .main-menu .navigation > li > a,
.header-style-three .main-menu .navigation > li > a,
.header-style-four .main-menu .navigation > li > a,
.header-style-four .main-menu .navigation > li > ul > li > a,
.header-style-four .main-menu .navigation > li > .megamenu li > a,
.header-style-four .main-menu .navigation > li > ul > li > ul > li > a,
.header-style-two .language-box .nice-select,
.header-style-three .menu-right-content .account-box .nice-select,
.header-style-four .language-box .nice-select {
    color: var(--stonegate-ivory) !important;
}

.home_two .theme-btn.btn-one,
.home_three .theme-btn.btn-one,
.home_four .theme-btn.btn-one,
.home_four .theme-btn.btn-two,
.banner-style-four .rating-box .theme-btn,
.banner-style-four .experience-box .theme-btn,
.challenge-style-two .tabs-content-3 .inner-box .btn-box .theme-btn {
    background: var(--stonegate-wine) !important;
    color: var(--stonegate-ivory) !important;
    border-color: var(--stonegate-gold) !important;
}

.home_two .theme-btn:hover,
.home_three .theme-btn:hover,
.home_four .theme-btn:hover {
    background: var(--stonegate-gold) !important;
    color: var(--stonegate-carbon) !important;
}

.payouts-style-two .outer-container,
.platform-style-two .outer-container,
.testimonial-style-two,
.content_block_seven .content-box .category-box .select-box .nice-select,
.news-style-two .left-content .newsletter-form form .form-group input[type="email"] {
    background: var(--stonegate-paper) !important;
    border-color: var(--stonegate-border) !important;
}

.banner-style-two,
.banner-style-three,
.banner-style-four,
.error-section,
.blog-sidebar .community-box,
.contact-section .community-box {
    background-color: var(--stonegate-carbon) !important;
}

.blog-sidebar .community-box h2,
.blog-sidebar .community-box p,
.blog-sidebar .community-box button[type="button"],
.contact-section .community-box h2,
.contact-section .community-box p {
    color: var(--stonegate-ivory) !important;
}

/* Decorative image overlays can overpower the new palette; keep them subtle. */
[class*="shape"],
[class*="pattern"] {
    opacity: 0.58;
}

img[src*="icon-"],
.icon-box img {
    filter: sepia(30%) saturate(80%) hue-rotate(350deg);
}

@media (max-width: 1599px) and (min-width: 1201px) {
    .main-header .header-lower .outer-container,
    .main-header .sticky-header .outer-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .main-header .outer-box {
        gap: 22px;
    }

    .main-header .outer-box .left-column .logo-box img {
        width: 172px;
    }

    .main-menu .navigation > li {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .main-menu .navigation > li > a {
        font-size: 15px !important;
    }

    .main-header .outer-box .account-box {
        display: flex !important;
    }

    .main-header .menu-right-content {
        gap: 26px !important;
    }

    .main-header .menu-right-content .btn-box {
        display: block !important;
    }

    .main-header .menu-right-content .btn-box .theme-btn.btn-one {
        min-width: 172px;
        padding: 16px 22px !important;
        font-size: 14px !important;
    }

    .main-header .menu-right-content .btn-box::before {
        left: -14px !important;
    }
}

@media (max-width: 1320px) and (min-width: 1201px) {
    .main-header .outer-box .account-box {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .main-header .menu-right-content .account-box {
        display: none !important;
    }

    .main-header .menu-right-content .btn-box .theme-btn.btn-one {
        min-width: auto;
        padding: 14px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 767px) {
    .banner-carousel .owl-item.active .content-box h2,
    .banner-carousel .owl-item.active .content-box h3,
    .banner-carousel .owl-item.active .content-box h4,
    .banner-carousel .owl-item.active .content-box p,
    .banner-carousel .owl-item.active .content-box .btn-box {
        opacity: 1 !important;
        transform: translateY(0) !important;
        animation: none !important;
        transition: none !important;
    }

    .banner-carousel .owl-item.owl-animated-out .content-box,
    .banner-carousel .owl-item:not(.active) .content-box {
        opacity: 0 !important;
        pointer-events: none !important;
        animation: none !important;
        transition: none !important;
    }

    .banner-carousel .content-box h2,
    .banner-carousel .content-box h3,
    .banner-carousel .content-box h4 {
        color: var(--stonegate-ivory) !important;
    }

    .banner-carousel .content-box p {
        color: var(--stonegate-light-text) !important;
    }
}
