/* ReefKingNova2 2.4.160 – scoped NOVA compatibility rules.
   Loaded separately with a release URL, independently of the combined CSS cache. */

html body #shop-nav > .language-dropdown {
    display: flex !important;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
}
html body .language-dropdown .rk-language-label {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    line-height: 1;
}
html body .language-dropdown .rk-language-flag {
    display: inline-block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 16px !important;
    max-width: none;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.18);
    vertical-align: middle;
}
/* Supersede the former emoji pseudo-elements, including the mobile menu clone. */
html body #shop-nav > .language-dropdown [data-rk-lang]::before,
html body li.language-dropdown > .dropdown-toggle::before,
html body li.language-dropdown a[data-iso]::before {
    content: none !important;
    display: none !important;
}
html body #shop-nav > .language-dropdown > .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: auto;
    min-height: 44px;
    color: #F2EFE7 !important;
    -webkit-text-fill-color: #F2EFE7 !important;
}
html body li.language-dropdown > .dropdown-menu {
    min-width: 150px;
    padding: .4rem;
    border: 1px solid #3B3C38 !important;
    border-radius: 10px;
    background: #151614 !important;
    color: #F2EFE7 !important;
}
html body li.language-dropdown .dropdown-menu .rk-language-link {
    display: flex !important;
    align-items: center;
    min-height: 42px;
    padding: .55rem .7rem;
    border-radius: 7px;
    background: transparent !important;
    color: #F2EFE7 !important;
    -webkit-text-fill-color: #F2EFE7 !important;
}
html body li.language-dropdown .dropdown-menu .rk-language-link.active,
html body li.language-dropdown .dropdown-menu .rk-language-link:hover,
html body li.language-dropdown .dropdown-menu .rk-language-link:focus-visible {
    background: #211D15 !important;
    color: #DDBD78 !important;
    -webkit-text-fill-color: #DDBD78 !important;
}

/* Product tabs belong to ReefKing, rather than NOVA's generic button styles. */
html body #rk2-home [data-rk-product-tabs] .rk2-product-tabs {
    display: flex;
    align-items: center;
    gap: .4rem;
    max-width: 100%;
}
html body #rk2-home [data-rk-product-tabs] button.rk2-product-tab {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: .6rem 1rem;
    border: 1px solid #8F713C !important;
    border-radius: 999px !important;
    background: #151614 !important;
    color: #F2EFE7 !important;
    -webkit-text-fill-color: #F2EFE7 !important;
    box-shadow: none !important;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    cursor: pointer;
}
html body #rk2-home [data-rk-product-tabs] button.rk2-product-tab:hover,
html body #rk2-home [data-rk-product-tabs] button.rk2-product-tab.is-active {
    border-color: #DDBD78 !important;
    background: #211D15 !important;
    color: #DDBD78 !important;
    -webkit-text-fill-color: #DDBD78 !important;
}
html body #rk2-home [data-rk-product-tabs] button.rk2-product-tab:focus-visible {
    outline: 2px solid #DDBD78 !important;
    outline-offset: 3px;
}
html body #rk2-home [data-rk-product-tabs] .rk2-product-panel[hidden] {
    display: none !important;
}
@media (max-width: 767.98px) {
    html body #rk2-home [data-rk-product-tabs] .rk2-product-tabs {
        flex-wrap: wrap;
        overflow: visible;
        gap: 7px;
        padding: .25rem 0;
    }
}

/* Explicit page class also covers an empty/submitted contact form and browsers
   without :has(). Only page surfaces and form controls receive these colours. */
html.rk-page-contact,
html.rk-page-contact body,
html.rk-page-contact #main-wrapper,
html.rk-page-contact #content-wrapper {
    background: #090A09 !important;
    background-image: none !important;
    color: #F2EFE7 !important;
}
html.rk-page-contact #content-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}
html.rk-page-contact body #content {
    width: calc(100% - 48px) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(1.25rem,3vw,2.5rem) !important;
    border: 1px solid #292A27 !important;
    border-radius: 12px !important;
    background: #151614 !important;
    background-image: none !important;
    color: #F2EFE7 !important;
    box-shadow: none !important;
}
html.rk-page-contact #content > .container,
html.rk-page-contact #content > .container-fluid,
html.rk-page-contact #content > .container-fluid-xl,
html.rk-page-contact .breadcrumb-container,
html.rk-page-contact .rk-contact-scope {
    background: transparent !important;
    background-image: none !important;
}
html.rk-page-contact .rk-contact-scope {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
html.rk-page-contact .rk-contact-heading {
    color: #F2EFE7 !important;
    -webkit-text-fill-color: #F2EFE7 !important;
}
html.rk-page-contact #content .form-control,
html.rk-page-contact #content .custom-select {
    background-color: #0E0F0E !important;
    border-color: #3D3D37 !important;
    color: #F2EFE7 !important;
    -webkit-text-fill-color: #F2EFE7 !important;
    box-shadow: none !important;
}
html.rk-page-contact #content .form-control:focus,
html.rk-page-contact #content .custom-select:focus {
    border-color: #DDBD78 !important;
    box-shadow: 0 0 0 .15rem rgba(221,189,120,.16) !important;
}
html.rk-page-contact #content .label-slide .form-group:not(.checkbox):not(.exclude-from-label-slide) label,
html.rk-page-contact #content .label-slide .form-group:not(.checkbox):not(.exclude-from-label-slide) label span,
html.rk-page-contact #content .label-slide .form-group:not(.checkbox):not(.exclude-from-label-slide) label::before,
html.rk-page-contact #content .label-slide .form-group:not(.checkbox):not(.exclude-from-label-slide) label::after {
    background: #0E0F0E !important;
    color: #AAA79F !important;
    -webkit-text-fill-color: #AAA79F !important;
    box-shadow: none !important;
}
html.rk-page-contact #content .form-control.is-invalid,
html.rk-page-contact #content .custom-select.is-invalid {
    border-color: #B83B3B !important;
}
@media (max-width: 767.98px) {
    html.rk-page-contact body #content {
        width: calc(100% - 24px) !important;
        padding: 1.1rem !important;
    }
}
