/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.nectar-scrolling-tabs .scrolling-tab-nav .n-sticky > .line {
    background: linear-gradient(to bottom, #00001e00, #0080c8);
    background-color: transparent !important;
    /*border-radius: 25%;*/
}

.copyright .span_5 {
    width: 100% !important;
}

.copyright p {
    color: #777777 !important;
    font-size: 15px;
    padding: 12px 0 18px !important;
}

.custom-footer {
    background: #313233;
    font-size: 17px;
    font-weight: 400;
}

.custom-footer #menu-main-menu-2 {
    @media (min-width: 999px) {
        display: flex;
        gap: 48px;
    }
}

.custom-footer ul {
    padding: 0 !important;
    margin: 0 !important;
}

.custom-footer ul li {
    list-style-type: none !important;
}

.custom-footer a {
    color: #CCCCCC !important;
    /*2. footer font color #777777*/
}

.custom-footer a:hover {
    color: #007fc5 !important;
}

.custom-footer .social {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    font-size: 24px;
}

.custom-footer .sub-menu {
    margin-left: 16px !important;
    margin-bottom: 12px !important;
}

.custom-footer .sub-menu a {
    position: relative;
}

.custom-footer .sub-menu a:before {
    content: '';
    position: absolute;
    left: -14px;
    height: 1px;
    width: 6px;
    background-color: #CCCCCC;
    top: 50%;
}

.custom-footer .sub-menu a:hover:before {
    background-color: #007fc5 !important;
}


/** Floating button */

.floating-buttons {
    position: fixed;
    right: 6px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 6px;

    top: 50%;
    transform: translateY(-50%);
}

.floating-button {
    color: white;
    display: flex;
    align-items: center;
    line-height: 1;
    text-align: center;
    transition: all 0.3s ease-out;
    border-radius: 50%;

    background: #007fc5;
    padding: 12px 12px 12px 12px;
}

.floating-button:hover {
    color: white;
    background: #f7e948;
}

.floating-button i {
    font-size: 30px;
    transform: translateY(1px);
    width: 30px;
    height: 30px;
}

.floating-button__text {
    font-size: 14px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 14px;
}

#to-top {
    color: white;
    line-height: 1;
    text-align: center;
    transition: all 0.3s ease-out;
    background: #007fc5 !important;
    width: 54px;
    height: 54px;
    right: 6px;
}

body #to-top:hover:after {
    color: white;
    background: #f7e948 !important;
}

#to-top i {
    line-height: 54px;
    width: 54px;
    height: 54px;
    font-size: 38px;
    transform: translate(0, -5%) !important;
}

#to-top:hover i {
    transform: translate(0, -105%) !important;
}

/** Forms */

.gfield_required {
    color: #007fc5 !important;
}

.gfield_label {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.gform_button {
    background-color: #007fc5 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.gform_button:hover {
    background-color: #f7e948 !important;
}

.gform-body .fancy-select-wrap {
    padding-top: 0 !important;
    position: relative;
}

.gform-body .select2-selection.select2-selection--single {
    min-height: 38px;
    position: relative;
}

.gform-body .address_country {
    margin-bottom: auto;
}

.gform-body .address_country .gform-field-label {
    font-size: 13px !important;
    color: #585e6a !important;
    line-height: var(--gf-local-line-height) !important;
    display: block;
}


/** Footer */
.grayscaled-logo {
    filter: saturate(0) brightness(1.25);
    transition: filter 0.2s ease-in-out;
}

.grayscaled-logo:hover {
    filter: none;
}

hr {
    border-color: #888;
}

/** Submenu **/

body:not([data-header-format=left-header]) #top .sf-menu li ul {
    left: 50%;
    border-radius: 12px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    gap: 6px;
    width: auto;
    padding: 12px 18px;
    transform: translate(-50%, -25%);
    z-index: 999;
}

#top .sf-menu li ul li.menu-item a {
    font-size: 18px !important;
    padding: 10px 12px;
    text-align: center;
    color: white;
    font-weight: 400;
    transition: background-color .2s ease, border-color .2s ease;
    border-radius: 5px;
    white-space: nowrap;
    border: 2px solid transparent;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-item > a,
#header-outer #top nav > ul > li:not(.megamenu) ul a:hover {
    border-color: #007fc5;
}

#header-outer:not([data-format="left-header"]) #top nav > ul > li:not(.megamenu) ul .current-menu-item > a {
    background-color: transparent !important;
    cursor: default !important;
}

.menu-item-has-children.sfHover {
    z-index: 99;
}

#header-outer.entrance-animation {
    animation: none !important;
    opacity: 1;
}


/** Content Nav **/
/*.page-submenu .full-width-section {*/
/*    background-color: transparent;*/
/*}*/

/*body .page-submenu ul {*/
/*    background-color: #000000aa !important;*/
/*    color: #ffffff;*/
/*    backdrop-filter: blur(6px);*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    width: auto;*/
/*    display: flex !important;*/
/*    margin: 48px auto 0;*/
/*    padding: 0 48px;*/
/*    justify-content: center;*/
/*    transform: translateY(-24px);*/
/*}*/

/*.page-submenu .full-width-content {*/
/*    display: flex;*/
/*    background-color: transparent !important;*/
/*}*/

/*body .page-submenu li a {*/
/*    font-weight: 400;*/
/*}*/

/*.page-submenu li a:hover, .page-submenu.stuck .current-menu-item a {*/
/*    color: #007fc5;*/
/*}*/

/** WP Custom Auth Theme Styles */
body.material #header-secondary-outer nav > .sf-menu {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

body.material #header-secondary-outer nav .wpca-menu-auth-buttons {
    position: relative;
    margin-left: 11px;
}

body.material #header-secondary-outer nav .wpca-menu-auth-buttons.logged-in:before {
    background-color: white;
    content: '';
    border-radius: 5px;
    display: flex !important;
    position: absolute;
    left: -9px;
    right: -9px;
    top: -4px;
    bottom: -4px;
    border: 1px solid #ccc;
}

body.material #header-secondary-outer nav .wpca-menu-auth-buttons > * {
    font-family: 'Roboto', sans-serif;
    font-size: 12px !important;
    font-weight: 500;
    color: rgba(0, 0, 0, .5);
}

body.material #header-secondary-outer nav .wpca-menu-auth-buttons .wpca-menu-btn-login,
body.material #header-secondary-outer nav .wpca-menu-auth-buttons .wpca-menu-btn-signup,
body.material #header-secondary-outer nav .wpca-menu-auth-buttons .wpca-menu-btn-dashboard {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 10px 12px;

}

body.material #header-secondary-outer nav .wpca-menu-auth-buttons .wpca-menu-btn-signup {
    color: white !important;
    font-weight: bold;
}

.portfolio-template-default .flickity-viewport {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    margin-top: 0 !important;
}

.vertical-center-row {
    display: flex !important;
    align-items: center;
}

.vertical-center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;

    margin-top: auto !important;
    margin-bottom: auto !important;
}

/** Accessoires details page */

/* Typography */
.vc_custom_product_title h1 {
    background: linear-gradient(135deg, #00001e 0%, #0080c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Images */
.product-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 14, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-main-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 14, 0.15);
}

/* Thumbnail Gallery */
.product-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.product-thumbnail {
    flex: 1;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #0080c8;
    transform: translateY(-5px);
}

/* Technical Specs List */
.fancy-ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 14, 0.08);
    transition: all 0.3s ease;
}

.fancy-ul li:hover {
    padding-left: 10px;
    background: linear-gradient(90deg, rgba(0, 128, 200, 0.05) 0%, transparent 100%);
}

/* Buttons */
.nectar-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nectar-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nectar-button:hover:before {
    width: 300px;
    height: 300px;
}

/* Compatible Products Grid */
.nectar-post-grid-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nectar-post-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 14, 0.1);
}

.nectar-post-grid-item .content {
    padding: 20px;
}

.nectar-post-grid-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #00001e;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .vc_custom_product_title h1 {
        font-size: 36px !important;
    }

    .product-thumbnails {
        gap: 10px;
    }

    .nectar-button {
        width: 100%;
        margin-bottom: 15px;
    }
}


/* Loading Animation */
.accessory-loading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
