/*************************

Theme Name: THE ENGLISH SHOP
Description: Theme enfant de GeneratePress. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: Florian | Progressio Web
Author URI: https://progressio-web.fr
Template: generatepress
Version: 1.0

*************************/


html, body {
    overflow-x: clip;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: #ffffff;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-primary);
    border-radius: 0px;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-cart, a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-checkout, a.xoo-wsc-ft-btn.xoo-wsc-ft-btn-continue, .xoo-wsc-empty-cart a.xoo-wsc-btn {
    text-transform: none;
}

.swiper-container {
  overflow: hidden;
}

.cover {
    background-size: cover!important;
}

.fixed {
    background-attachment: fixed;
}

.one-container.archive .post:not(:last-child):not(.is-loop-template-item), .one-container.blog .post:not(:last-child):not(.is-loop-template-item) {
    padding-bottom: 0px;
}

a.elementor-button:hover span.elementor-button-icon svg path {
    fill: inherit;
}

div.wpforms-container-full input[type=checkbox]:before,
div.wpforms-container-full input[type=radio]:before {
    border-radius: 999px!important;
    width: 20px;
    height: 20px;
}


body.woocommerce-page .inside-article {
    max-width: 1250px;
    margin: auto;
}

body.woocommerce-cart .inside-article , body.woocommerce-checkout .inside-article, body.woocommerce-account .inside-article {
    max-width: 1250px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    padding: 270px 50px 100px 50px;
}

body.woocommerce-cart .entry-content .alignwide, body.woocommerce-checkout .entry-content .alignwide {
    width: 100%;
    margin: auto;
}

body.woocommerce-cart .entry-content:not(:first-child), body.woocommerce-checkout .entry-content:not(:first-child) {
    margin: 0;
}

body.woocommerce-cart h1.entry-title, body.woocommerce-checkout h1.entry-title {
    text-align: center;
}

body.woocommerce-cart.one-container .site-content, body.woocommerce-checkout.one-container .site-content {
    padding: 0px!important;
}

/*********************************************/
/************** CUSTOM CONTENT ***************/
/*********************************************/

.content_custom *, .elementor-widget-text-editor * {
    margin-bottom: 30px !important;
}

.content_custom *:first-child,  .elementor-widget-text-editor *:first-child {
    margin-top: 0px !important;
}

.content_custom h2,  .elementor-widget-text-editor h2 {
    margin-top: 50px;
}

.content_custom *:last-child,  .elementor-widget-text-editor *:last-child {
    margin-bottom: 0px !important;
}

.content_custom li,  .elementor-widget-text-editor li {
    margin-bottom: 10px !important;
}

.content_custom ul,  .elementor-widget-text-editor ul {
    margin-left: 30px;
}

.strong {
    color : var( --e-global-color-accent );
}

.content_custom a {
    text-decoration: underline!important;
    font-weight: 600!important;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    letter-spacing: 3px;
}

h2 {
    font-size: 30px;
}

.ft_script {
    font-family: "KunstlerScript", Sans-serif!important;
    text-transform:capitalize!important;
    font-weight: 500!important;
    font-size: 65px!important;
}

/*********************************************/
/***************** GENERAL *******************/
/*********************************************/

.page-numbers.prev, .page-numbers.next {
    background: var(--e-global-color-primary);
    color: white !important;
    padding: 15px;
    border-radius: 9999px;
    transition : all 0.3s ease-out;
}

.product-template-default.single.single-product span.tes-terms__values {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.page-numbers.prev:hover , .page-numbers.next:hover  {
    background: var( --e-global-color-secondary );
    transition : all 0.3s ease-out;
}

.page-numbers.prev {
    margin-right: 20px !important;
}

.page-numbers.next {
    margin-left: 20px !important;
}

a.page-numbers {
    background: white!important;
    color: var(--e-global-color-primary) !important;
    width: 35px;
    height: 35px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: solid 2px var(--e-global-color-primary)!important;
}

span.page-numbers.current {
    background: var(--e-global-color-secondary)!important;
    color: white!important;
    width: 35px;
    height: 35px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: solid 2px var(--e-global-color-primary)!important;
}

#nav_desk_header .menu-item-56 a {
    display: block;
    text-align: center;
}

#nav_desk_header a {
    align-items: baseline;
}

#nav_desk_header a {
    height: fit-content;
}

#home_main_slider .title_hero_home {
    color: white;
    font-size: 60px;
    text-transform: uppercase;
}

#home_main_slider span.swiper-pagination-bullet {
    transition: all 0.3s ease-in-out;
}

#home_main_slider span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 40px;
    border-radius: 5px !important;
    transition: all 0.3s ease-in-out;
}

#home_main_slider .swiper-pagination-bullets.swiper-pagination-horizontal, .elementor-element .swiper .swiper-pagination-c {
    bottom: 20px !important;
}

.elementor-element.elementor-element-79e0c71 *, .elementor-element.elementor-element-7b79e2b * {
    cursor: pointer;
}

.pw-infinite-text-carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 30px 0px;
    border-top: 2px white solid;
}

.pw-infinite-text-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: pwInfiniteTextScroll 28s linear infinite;
}

.pw-infinite-text-track span {
    display: inline-block;
    font-size: clamp(28px, 5vw, 26px);
    line-height: 1;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    text-transform: uppercase;
}

.wc-block-cart__submit-container a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button {
    background: #330f0f;
}

.wc-block-cart__submit-container a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button:hover {
    background: #330f0f;
    color: white;
}

@keyframes pwInfiniteTextScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#nav_mobile .menu-item-56 a {
    display: block;
    text-align: center;
    line-height: 1.3em;
}

.ingredient_boucle_product * {
    text-align: center;
    font-size: 16px;
    font-style: italic;
    line-height: 1.3em;
}

@media (prefers-reduced-motion: reduce) {
  .pw-infinite-text-track {
    animation: none;
  }
}

div#content_product_page * {
    margin-bottom: 0;
}

div#content_product_page button.tes-swatch {
    flex-basis: auto;
}

div#content_product_page .woocommerce-variation.single_variation {
    padding-bottom: 30px;
}

div#content_product_page .woocommerce-variation.single_variation * {
    color: var(--e-global-color-primary);
}

.woocommerce div.product div.images {
    margin-bottom: 0!important;
}

div#form_activetrail p {
    text-align: center;
}

div#form_activetrail .wpcf7-submit {
    background: #A77B53;
    border-color: #A77B53;
    color: white;
}

.wpcf7-response-output {
    background: white;
    text-align: center;
}

span.wpcf7-not-valid-tip {
    background: white;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    position: absolute;
    top: 0;
}

.elementor-add-to-cart.elementor-product-simple {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .tea-history__content {
        position: relative;
        max-height: 170px;
        overflow: hidden;
        transition: max-height 0.45s ease;
    }

    .tea-history__content::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 70px;
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 1)
        );
        transition: opacity 0.3s ease;
    }

    .tea-history__content.is-open {
        max-height: 1000px;
    }

    .tea-history__content.is-open::after {
        opacity: 0;
    }

    .tea-history__content p:first-child {
        margin-top: 0;
    }

    .tea-history__content p:last-child {
        margin-bottom: 0;
    }

    .tea-history__toggle {
        margin-top: 20px;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

    .tea-history__toggle:hover {
        text-decoration-thickness: 2px;
    }

    .tea-history__toggle:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 5px;
    }

    @media (max-width: 767px) {
        .tea-history__content {
            max-height: 220px;
        }
    }

/*********************************************/
/**************** RESPONSIVE *****************/
/*********************************************/


@media screen and (max-width:1760px) {
    #nav_desk_header .menu-item-55 {
        display:none;
    }
    h2 {
        font-size: 27px;
    }
    #home_main_slider .title_hero_home {
        font-size: 27px;
    }
}

@media screen and (max-width:1451px) {
    #nav_desk_header {
        display: none !important;
    }
    h2 {
        font-size: 30px;
    }
    #home_main_slider .title_hero_home {
        font-size: 40px;
    }
}

@media screen and (min-width:1450px) {
    #toggle_menu_mobile {
        display: none !important;
    }
}

@media screen and (min-width:1201px) {
    .no_desk {
        display: none !important;
    }
}


/*********************************************/
/***************** TABLETTE ******************/
/*********************************************/

@media screen and (max-width:1024px) {
    .no_mob {
        display: none !important;
    }
}


/*********************************************/
/****************** MOBILE *******************/
/*********************************************/

@media screen and (max-width:768px) {
    #home_main_slider .title_hero_home {
        color: white;
        font-size: 38px;
    }
    h2 {
        font-size: 30px;
        line-height: 1.2em !important;
    }
    h1, h2, h3, h4, h5, h6 {
        letter-spacing: 1px;
    }
    
    .pw-infinite-text-track span {
        font-size: clamp(18px, 5vw, 22px);
    }
    body.woocommerce-cart .inside-article, body.woocommerce-checkout .inside-article, body.woocommerce-account .inside-article {
        padding: 190px 30px 50px 30px;
        gap: 30px;
    }
}