/*!
Template:     kadence
Theme Name:   Savage TN - Kadence
Version:      1.2.20
Requires at least: 6.3
Requires PHP: 7.4
Author:       BILLON-LANFREY Jérémi
*/

/* Base Classes*/ 
.center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2em;
}

.mb-0 {
    margin-bottom: 0em;
}

.mt-3 {
    margin-top: 3em;
}

/* ========= Font ========== */
@font-face {
  font-family: 'Designer';
  src: url('./font/Designer/Designer.otf');
}

/* ======== Title =========*/
.entry-title {
    text-align: center !important;
}

/* =========  Home heeader ========= */
.home.page:not(.page-template-template-homepage) .site-header {
    margin-bottom: 0px;
}

.home-title {
    margin-top: 1em;
}

#homePageTitle {
    font-family: 'Designer' !important;
}

.BannieresTShirtSignatureTitle {
    font-size: 3.75em !important;
} 

/* === Style for image header*/
.home.page .entry-hero {
    display: none;
}

.home.page #primary {
    margin-top:0px;
}

.home.page .entry-content-wrap {
    padding-top: 0px;
}

.home.page #inner-wrap {
    margin-top: -115px;
}

.mobileBanniereHome {
    clip-path: circle(120% at 50% 0);
}

/* ================== NavBar ================== */
.user-icon-navBar {
    display: flex;
}

.user-icon-navBar svg {
    height: 21px;
}

/* ========= HomeNav ========= */
.home.page #masthead {
    background: transparent !important;
    position: fixed !important;
    width: 100% !important;
}
.home.page .scrolled#masthead {
    background: white !important;
}
/* Icon */
.home.page svg.kadence-svg-icon.kadence-menu2-svg,
.home.page svg.kadence-svg-icon.kadence-shopping-cart-svg {
    transition: all 0.2s ease-in-out;
    stroke:white;
    fill:white;
}

.home.page .scrolled svg.kadence-svg-icon.kadence-menu2-svg,
.home.page .scrolled svg.kadence-svg-icon.kadence-shopping-cart-svg {
    stroke:black;
    fill:black;
}

.home.page svg.kadence-svg-icon.kadence-menu2-svg:hover {
    stroke:#2B6CB0;
    fill:#2B6CB0;
}
/* Icon user*/
.home.page .user-icon-navBar svg {
    transition: all 0.2s ease-in-out;
    stroke:white;
}
.home.page .scrolled .user-icon-navBar svg {
    stroke:black;
}

.user-icon-navBar svg:hover {
    stroke:#2B6CB0 !important;
}
/*Gestion de l'affichage du hover en meme temps pour les icon*/
.home.page .drawer-toggle.header-cart-button .header-cart-total,
.home.page .drawer-toggle.header-cart-button svg.kadence-svg-icon.kadence-shopping-cart-svg {
    transition: all 0.2s ease-in-out;
}
/* Span total cart*/
.home.page .header-cart-total{
    background: white !important;
    color: black !important;
}
.home.page .scrolled .header-cart-total {
    background: black !important;
    color: white !important;
}
.home.page .drawer-toggle.header-cart-button:hover .header-cart-total{
    background: #2B6CB0 !important;
    color: white !important;
}

.home.page .drawer-toggle.header-cart-button:hover svg.kadence-svg-icon.kadence-shopping-cart-svg{
    stroke:#2B6CB0;
    fill:#2B6CB0;
}

/* Gestion images */
.home.page img.custom-logo {
    content: url('https://savagetn.com/wp-content/uploads/2025/02/LogoBlanc-cropped.png') !important;
}
.home.page .scrolled img.custom-logo {
    content: url('https://savagetn.com/wp-content/uploads/2024/12/cropped-SavageTN-LOGO.png') !important;
}
/* Gestion des link dans le menu */
.home.page .main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: white !important;
}

.home.page .scrolled .main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: black !important;
}

.home.page .main-navigation .primary-menu-container > ul > li.menu-item:hover > a {
    color: #2B6CB0 !important;
}

/* Gestion footer */
.home.page #primary {
    margin-bottom: 0px;
}

/* ================== Footer ================== */
.footer-social-wrap a svg {
    height: 1.5em !important;
    width:1.5em !important;
}

.site-middle-footer-inner-wrap {
    padding-top: 0px !important;
}

.site-footer-row-container-inner .widget.widget_nav_menu h2.widget-title {
    color: white;
}

.site-footer-row-container-inner .widget.widget_nav_menu ul.menu li.menu-item a,
.site-footer-row-container-inner .widget.widget_nav_menu ul.menu li.menu-item.menu-item-has-children button svg {
    color: #e9e9e9;
}

.site-footer-row-container-inner .widget.widget_nav_menu ul.menu li.menu-item a:hover,
.site-footer-row-container-inner .widget.widget_nav_menu ul.menu li.menu-item.menu-item-has-children button:hover svg {
    color: #2B6CB0;
}

/* ================== ProductDetail Page ================== */
/* ========= select ========= */
#pa_taille, .orderby, #pa_couleurs {
    -webkit-appearance: none;
    padding: 7px 40px 7px 12px;
    width: 100%;
    border: 1px solid #E8EAED;
    border-radius: 5px;
    background: white;
    box-shadow: 0 1px 3px -2px #9098A9;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    transition: all 150ms ease;
    margin: 5px 0;
}

#pa_taille:focus , .orderby:focus, #pa_couleurs:focus{
    outline: none;
    border-color: #0077FF;
    box-shadow: 0 0 0 2px rgba(#0077FF,.2);
}

.variations th.label label {
    vertical-align: text-top;
}
/* ========= Masque info inutile ========= */
.product_meta {
    display: none;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper {
    display: none;
}
/*  =========  Change header background  ========= */
.entry-hero-container-inner {
    background: url("https://savagetn.com/wp-content/uploads/2025/02/backgroundBannerSavage.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.entry-hero-container-inner h1.entry-title,.entry-hero-container-inner h1.page-title.archive-title {
    color: white !important;
}
/* ====== Customization de l'affichages des produits dans les catalogue ======*/
.customize-product-card {
    position: relative;
    max-width: 300px;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: auto;
    transition: transform 0.3s ease;
    /* Animation de la transformation */
}
.customize-product-card:hover {
    transform: scale(1.05);
    /* Zoom léger lors du survol */
}
.customize-product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    /* Ajustez la hauteur du dégradé selon vos besoins */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0));
    z-index: 1;
}
.sold-out-filter::before {
    content: '';
    color: red;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.3;
    z-index: 2;
}
.sold-out-texte {
    color: #e2401c;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
}
.customize-product-card-content {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    z-index: 3;
}
.customize-product-card-title {
    margin: 0;
    color: #fff;
    font-weight: 500;
}
.customize-product-card-price {
    margin: 5px 0 0;
    font-size: 16px;
}
.custom-product-item {
    border-radius: 20px;
}
/* ========= Supprime les elements inutile du Template ========= */
.product-details.content-bg.entry-content-wrap {
    display: none;
}

.woocommerce ul.products li.product {
    overflow: visible !important;
}

/* ========= Formulaire de liste d'attentes ========= */
/* Style de l'overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contenu de la popup */
.popup-content {
    background: #000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: fixed;
    top: 50%; /* Distance depuis le haut */
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 90px); /* Hauteur max ajustée */
    overflow-y: auto; /* Rend la popup scrollable */
    border: solid 1px white;
}

/* Bouton de fermeture */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Styles du formulaire */
.popup-content h2 {
    color: white;
}
.custom-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    text-align: left;
    color: white;
}

.custom-form label.silent {
    display: block;
    font-style: italic;
    font-weight: lighter;
    text-align: left;
    color: white;
}

.custom-form .checkbox-group label {
    text-align: center;
}

.custom-form input, .custom-form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: rgba(59,59,59,1) !important;
    color: white !important;
}

.checkbox-group {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.checkbox-group img {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
    margin: 10px auto;
}

.checkbox-group input {
    display: none;
}

.checkbox-group input:checked + img {
    border: 3px solid white;
    transform: scale(1.05);
}

.custom-form button {
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-form button:hover {
    background: rgba(30,30,30,1) !important;
}

#inscriptionForm #checkboxErrorMessage {
    color: red;
    text-align: left;
}

/* ==== Style pour la scrollbar ==== */
.popup-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* ========= Page MerciWaitingListe ========= */
.page-id-1372 .entry-hero.page-hero-section.entry-hero-layout-standard {
    display: none;
}
.page-id-1372 #primary {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.page-id-1372 .entry-content-wrap {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
/* ==== Glitch BOUTON BLANC ==== */
.center {
    display: flex;
    margin: auto;
}
.glitch-btn-white,
.glitch-btn-white::after {
    padding: 10px 50px;
    font-size: 20px;
    border-radius: 5px;
    color: white !important;
    background-color: transparent;
    position: relative;
    border: solid 1px white !important;
    word-break: normal;
    word-wrap: normal;
    background: transparent !important;
}
.glitch-btn-white::after {
    --move1: inset(50% 50% 50% 50%);
    --move2: inset(31% 0 40% 0);
    --move3: inset(39% 0 15% 0);
    --move4: inset(45% 0 40% 0);
    --move5: inset(45% 0 6% 0);
    --move6: inset(14% 0 61% 0);
    clip-path: var(--move1);
    color: white !important;
    content: 'SAVAGE';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}
.glitch-btn-white:hover::after {
    animation: glitch_4011_header 1s;
    text-shadow: 10 10px 10px white !important;
    animation-timing-function: steps(2, end);
    text-shadow: -3px -3px 0px #1df2f0, 3px 3px 0px #e94be8;
    background-color: transparent;
    border: 3px solid rgb(0, 255, 213);
    overflow: visible;
}
.glitch-btn-white:hover {
    text-shadow: -1px -1px 0px #1df2f0, 1px 1px 0px #e94be8;
}
.glitch-btn-white:hover {
    background-color: transparent;
    border: 1px solid rgb(0, 255, 213);
    box-shadow: 0px 10px 10px -10px rgb(0, 255, 213);
}

@keyframes glitch_4011_header {
    0% {
        clip-path: var(--move1);
        transform: translate(0px, -10px);
    }
    10% {
        clip-path: var(--move2);
        transform: translate(-10px, 10px);
    }
    20% {
        clip-path: var(--move3);
        transform: translate(10px, 0px);
    }
    30% {
        clip-path: var(--move4);
        transform: translate(-10px, 10px);
    }
    40% {
        clip-path: var(--move5);
        transform: translate(10px, -10px);
    }
    50% {
        clip-path: var(--move6);
        transform: translate(-10px, 10px);
    }
    60% {
        clip-path: var(--move1);
        transform: translate(10px, -10px);
    }
    70% {
        clip-path: var(--move3);
        transform: translate(-10px, 10px);
    }
    80% {
        clip-path: var(--move2);
        transform: translate(10px, -10px);
    }
    90% {
        clip-path: var(--move4);
        transform: translate(-10px, 10px);
    }
    100% {
        clip-path: var(--move1);
        transform: translate(0);
    }
/* ==== supprimer fil d'ariane ==== */
}
.kadence-breadcrumb-container {
    display: none !important;
}

