/*
Theme Name: Candeller
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Candeller is a candle shop ecommerce Bootstrap 5 website template by TemplatesJungle.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:
1. VARIABLES
2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.3 Background Color
  2.4 Section
    - Section Paddings
    - Section Margins
  2.5 Buttons
  2.6 Forms
3. SITE STRUCTURE
  3.1 Header
  3.2 Billboard
  3.3 Services
  3.4 Video
  3.5 Footer
4. PAGES
  4.1 About Us Page
  4.2 Shop Page
  4.3 Single Product Page
  4.4 Cart Page
  4.5 Blog Page
  4.6 Single Post Page

/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
    :root {
        --header-height: 100px;
        --header-height-min: 80px;
    }
}

/* Fonts */
:root {
    --body-font: "Montserrat", sans-serif;
    --heading-font: "Uncial Antiqua", system-ui
}

/*----------------------------------------------*/
/* 2. GENERAL TYPOGRAPHY */
/*----------------------------------------------*/

/* 2.1 General Styles
/*----------------------------------------------*/
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
}

body {
    background-color: #060407;
    font-family: var(--body-font);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    text-transform: uppercase;
    color: #7E2A53;
    letter-spacing: 0.96px;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 2.625rem;
    line-height: 127%;
}

h4 {
    font-size: 1.75rem;
    line-height: 127%;
}

h5 {
    font-size: 1.5rem;
}

p {
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.125rem;
    font-weight: 300;
    color: #ECD0EC;
}

ul.inner-list li {
    font-size: 1.2em;
}

a {
    color: #BA71A2;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.7px;
    transition: 0.3s color ease-out;
}

a:hover {
    text-decoration: none;
    color: #ECD0EC;
}

.fs-1 {
    font-size: 1.75rem !important;
}

.fs-2 {
    font-size: 1.625rem !important;
}

.fs-3 {
    font-size: 1.375rem !important;
}

.fs-4 {
    font-size: 1.25rem !important;
}

.fs-5 {
    font-size: 1.125rem !important;
}

.fs-6 {
    font-size: 0.875rem !important;
}

/* 2.3 Shadow
/*----------------------------------------------*/
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05) !important;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1540px;
    }
}

/* 2.4 Section
--------------------------------------------------------------*/
/* - Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.padding-small {
    padding-top: 2em;
    padding-bottom: 2em;
}

.padding-medium {
    padding-top: 4em;
    padding-bottom: 4em;
}

.padding-large {
    padding-top: 7em;
    padding-bottom: 7em;
}

.padding-xlarge {
    padding-top: 9.5em;
    padding-bottom: 9.5em;
}

/* - Section Margin
--------------------------------------------------------------*/
.margin-xlarge {
    margin-top: 9.5em;
    margin-bottom: 9.5em;
}

/** 2.5 Buttons
--------------------------------------------------------------*/
button {
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.7px;
    transition: 0.3s color ease-out;
}

.btn:focus {
    box-shadow: none;
}

/** 2.6 Forms
--------------------------------------------------------------*/
label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

textarea,
select,
input {
    padding: 8px 0;
    background: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 1px solid #ECD0EC;
    outline: none;
}

.form-control {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.5;
    color:#7E2A53;
    background-color: #ECD0EC;
    box-shadow: none;
    padding: 5;
}

.form-control::placeholder {
    color: #BA71A2;
}

.form-control:focus {
    background-color: #ECD0EC;
    color: #7E2A53;
    box-shadow: none;
}

/* - Image Hover Effects
------------------------------------------------------------- */
.zoom-effect {
    background-color: #f5f3ef;
    overflow: hidden;
}

img.zoom-in {
    -webkit-transition: 0.6s ease;
    transition: 0.6s ease;
}

.zoom-effect:hover img.zoom-in {
    opacity: 0.8;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Link Effect
 - Place anywhere you want your link to animate
 - Add data-after="Any text" to the link within the class
 - Use span within the anchor tag for the effect to work
------------------------------------------------------------- */
.link-effect a {
    position: relative;
    padding: 0;
    overflow: hidden;
    transition: 0.2s ease-in;
    display: block;
}

.link-effect a::after {
    content: attr(data-after);
    display: inline-block;
    transform: translateY(100%);
    position: absolute;
    left: 0;
    right: 0;
    text-align: inherit;
    transition: inherit;
}

.link-effect a>span {
    display: inline-block;
    transform: translateY(0%);
    transition: inherit;
}

.link-effect:hover a>span {
    transform: translateY(-100%);
}

.link-effect:hover a::after {
    transform: translateY(0%);
}

/* - Preloader
------------------------------------------------------------- */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #060407;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#preloader.hide-preloader {
    opacity: 0;
    visibility: hidden;
}

#loader {
    position: relative;
    left: -9999px;
    width: 24px;
    height: 24px;
    border-radius: 90px;
    background-color: #BA71A2;
    color: var(--accent-color);
    box-shadow: 9999px 0 0 0 #BA71A2;
    animation: loader 2s infinite linear;
    animation-delay: 0.2s;
}

#loader::before,
#loader::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
}

#loader::before {
    width: 24px;
    height: 24px;
    border-radius: 90px;
    background-color: #BA71A2;
    color: #BA71A2;
    animation: loader-before 2s infinite linear;
    animation-delay: 0s;
}

#loader::after {
    width: 24px;
    height: 24px;
    border-radius: 90px;
    background-color: #BA71A2;
    color: #BA71A2;
    animation: loader-after 2s infinite linear;
    animation-delay: 0.3s;
}

@keyframes loader {
    0% {
        box-shadow: 9999px -15px 0 0 rgba(152, 128, 255, 0);
    }

    25%,
    50%,
    75% {
        box-shadow: 9999px 0 0 0 #BA71A2;
    }

    100% {
        box-shadow: 9999px 15px 0 0 rgba(152, 128, 255, 0);
    }
}

@keyframes loader-before {
    0% {
        box-shadow: 9984px -15px 0 0 rgba(152, 128, 255, 0);
    }

    25%,
    50%,
    75% {
        box-shadow: 9984px 0 0 0 #BA71A2;
    }

    100% {
        box-shadow: 9984px 15px 0 0 rgba(152, 128, 255, 0);
    }
}

@keyframes loader-after {
    0% {
        box-shadow: 10014px -15px 0 0 rgba(152, 128, 255, 0);
    }

    25%,
    50%,
    75% {
        box-shadow: 10014px 0 0 0 #BA71A2;
    }

    100% {
        box-shadow: 10014px 15px 0 0 rgba(152, 128, 255, 0);
    }
}

/*----------------------------------------------*/
/* 3. SITE STRUCTURE */
/*----------------------------------------------*/

/* 3.1 Header
/*----------------------------------------------*/
/* - Search Bar
------------------------------------------------------------- */
#search-bar {
    position: relative;
}

#search-bar input[type="text"] {
    color: #ECD0EC;
    height: 40px;
    display: inline-block;
    border: none;
    outline: none;
    padding-right: 74px;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    cursor: pointer;
}

#search-bar input[type="text"]:focus:hover {
    border-bottom: 1px solid #BA71A2;
}

#search-bar input[type="text"]:focus {
    width: 200px;
    z-index: 1;
    border-bottom: 1px solid #ECD0EC;
    cursor: text;
}

#search-bar button {
    background: transparent;
    border: none;
}

/* cart dropdown */
.cart-dropdown .dropdown-menu {
    min-width: 21rem;
}

@media only screen and (max-width: 564px) {
    .cart-dropdown .dropdown-menu {
        min-width: fit-content;
    }
}

.nav-link {
    color: #ECD0EC;
    font-weight: 400;
    text-transform: uppercase;
}

.nav-link.active {
    color: #9882B9;
}

.nav-link:focus,
.nav-link:hover {
    color: #BA71A2;
}

/* 3.2 Billboard
/*----------------------------------------------*/
.swiper-slide .banner-content {
    max-height: fit-content;
    margin: auto;
    margin-left: 10%;
    padding: 6%;
    background-color: #060407;
}

#billboard .main-slider-pagination {
    z-index: 999;
    bottom: 62px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #7E2A53;
    opacity: 0.5;
    width: 18px;
    height: 18px;
    margin: 0 13px !important;
    transition: 0.3s ease;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #ECD0EC;
    opacity: 1;
}

/* 3.3 Services
/*----------------------------------------------*/
.icon-box-icon {
    width: fit-content;
    height: fit-content;
    padding: 25px;
    background-color: #7E2A53;
    color: #ECD0EC;
}


/* 3.5 Footer
/*----------------------------------------------*/
/*------------ Social Icon -----------*/
#footer-bottom a {
    letter-spacing: normal;
}


/* Cacher les checkboxes */
.btn-check {
    display: none;
}

/* État actif du bouton-filtre */
.btn-check:checked+label.btn {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #7E2A53;
}

.btn-check:checked+label.btn:hover {
    background-color: #9882B9;
    border-color: #9882B9;
}

/* Style de base des boutons filtres */
#filters .btn {
    border: 1px solid #BA71A2;
    color: #ECD0EC;
    background: transparent;
    transition: 0.3s ease;
}

#filters .btn:hover {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #7E2A53;
}

#filters .btn-check:checked+label.btn {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #7E2A53;
}

/* Cartes produits même hauteur */
#filters~.row {
    align-items: stretch;
}

.product-item {
    display: flex;
    flex-direction: column;
}

.image-holder {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    background-color: #ECD0EC;
}

.image-holder img.product-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.product-content {
    margin-top: auto;
}


.about-content .btn {
    border: 1px solid #BA71A2;
    color: #ECD0EC;
    background: transparent;
    transition: 0.3s ease;
}

.about-content .btn:hover {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #7E2A53;
}


.retour-accueil .btn {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #7E2A53;
}

.retour-accueil .btn:hover {
    border: 1px solid #BA71A2;
    color: #ECD0EC;
    background: transparent;
    transition: 0.3s ease;
}

.modaleBouton {
    border: 1px solid #BA71A2;
    background-color: #ECD0EC;
    color: #7E2A53;
    transition: 0.3s ease;
    align-content: center;
    padding: 10px;
}

.modaleBouton:hover {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #ECD0EC;
}

.input-content input{
    border: 1px solid #BA71A2;
    background-color: #ECD0EC;
    color: #7E2A53;
    transition: 0.3s ease;
    align-content: center;
}

.input-content input:hover {
    background-color: #7E2A53;
    color: #ECD0EC;
    border-color: #ECD0EC;
}

.modale {
    background-color: #7E2A53;
    color: #ECD0EC;
}

.product-content a:hover span {
    color: #7E2A53;
}

.product-content a::after {
    color: #9882B9;
}

.product-content h5 a:hover {
    color: #7E2A53;
}

#search-bar input[type="text"] {
    color: #ECD0EC;
}


.button-group .btn {
    border: 2px solid #ECD0EC;
    color: #ECD0EC;
    background: transparent;
    padding: 10px 35px;
    font-size: 1rem;
    letter-spacing: 2.5px;
    transition: 0.3s ease;
    font-weight: bold;
}

.button-group .btn:hover {
    background-color: #ECD0EC;
    color: #7E2A53;
    border-color: #ECD0EC;
    font-weight: bold;
}

.table-panier {
    color: #ECD0EC;
    font-size: large;
}

thead{
    color: #BA71A2;
    font-weight: bold;
}

.commande-text {
    color: #ECD0EC;
}

.commande-nombre {
    color: #BA71A2;
}


input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}


.boiteAuthentification {
    border: #7E2A53;
    border-style: double;
}


.formulaire {
    color: #ECD0EC;
}


.selectFormulaire {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.5;
    color:#7E2A53;
    background-color: #ECD0EC;
    box-shadow: none;
    padding: 5;
}

.formulaire .btn {
    color:#ECD0EC;
    background-color: #7E2A53;
    margin-top: 5px;
}

.formulaire .btn:hover{
    background-color: #ECD0EC;
    color: #7E2A53;
}


