/*
Theme Name: Geneviève Graveline
Theme URI: https://genevievegraveline.com/
Author: Daniel Lalonde
Author URI: https://dlalonde.com/
Description: Thème pour le site de Geneviève Graveline
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: gg
*/

body{
    background: url('images/bg.jpg');
    font-family: "Work Sans", sans-serif;
    font-size: 15px;
    line-height: 1.8em;
    font-weight: 400;
    color: #585858;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Playfair Display", serif;
    /*font-family: "Cormorant Garamond", serif;*/
    letter-spacing: -.01em;
    color: #405861;
    line-height: 1.0363636364em;
    font-weight: inherit;
}

img{
    width: 100%;
    height: auto;
}

a{
    color: #818181;
}

a:hover{
    color: #405861;
}

#header{
    border-bottom: 1px solid #d4d4d4;
}

#footer{
    border-top: 1px solid #d4d4d4;
    text-align: center;
}

#header h1{
    font-family: "Work Sans", sans-serif;
}

@media screen and (min-width: 993px) {
    .menu-accueil > a,
    .menu-compte > a,
    .menu-panier > a {
        font-size: 0
    }
}

.menu-accueil > a::before,
.menu-compte > a::before,
.menu-panier > a::before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-right: 4px;
    font-size: 1rem;
    display: inline-block;
}

.menu-accueil > a::before {
    content: "\f015";
}

.menu-compte > a::before {
    content: "\f007";
}

.menu-panier > a::before {
    content: "\f07a";
}

#menu-top-menu{
    list-style: none;
}

#menu-top-menu li{
    display: inline-block;
}

.image-principale{
    max-width: 200px;
    border-radius: 50%;
}

.woocommerce-loop-product__price {
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.woocommerce-loop-product__cart {
    margin-top: 10px;
}

.woocommerce-loop-product__image img{
    max-width: 300px;
}

.product-details{
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.woocommerce-loop-product__title a{
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #000;
}

.navbar-brand{
    font-size: 30px;
    font-weight: 500;
}

.product .card{
    margin: 0 auto;
    text-align: center;
    height: 100%;
    position: relative;
    padding: 10px 10px 25px;
}

.product .card .card-title a{
    text-decoration: none;
}

.wp-element-button{
    --bs-btn-color: #fff;
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: #212529;
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 1px;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 0.375rem;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x)!important;
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s
    ease-in-out, background-color .15s 
    ease-in-out, border-color .15s 
    ease-in-out, box-shadow .15s 
    ease-in-out!important;
    min-height: none!important;
    width: auto!important;
}

.btn,
.woocommerce-Button,
.woocommerce-button,
.woocommerce-address-fields .button,
.wp-element-button{
    color: #4f4b4b!important;
    font-family: "Work Sans", sans-serif!important;
    border-color: #bdac99!important;
    background-color: #bdac99!important;
}

.btn:hover,
.woocommerce-Button:hover, 
.woocommerce-button:hover, 
.woocommerce-address-fields .button:hover,
.wp-element-button:hover{
    color: #e5e5e5!important;
    border-color: #5a4f4c!important;
    background-color: #5a4f4c!important;
}

.product .card .btn{
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: max-content;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .addresses .title .edit
{
    float: none;
    width: 100%;
    clear: both;
}

.woocommerce-order-overview{
    padding-left: 0;
}

.woocommerce-order-overview li{
    margin-bottom: 20px;
}

.woocommerce ul.order_details{
    margin: 3em auto;
}

a[id^="wp-block-file--media-"]:not(.wp-block-file__button) {
    display: none;
}

.wp-block-file *+.wp-block-file__button{
    margin-left: 0;
}

@media screen and (min-width: 993px) {
    .entry-summary-img{
        width: calc(100% / 3);
    }

    .entry-excerpt{
        width: calc(calc(100% / 3) * 2);
    }
}

.entry-list article.module{
    border-bottom: 1px solid #d4d4d4;
}

.entry-list article.module:last-child{
    border-bottom: 0;
}

.entry-list h2 a{
    text-decoration: none;
}

.module-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
.prev-module, .next-module {
    text-decoration: none;
    font-weight: bold;
}

main .woocommerce-breadcrumb {
    font-size: .92em;
    color: #767676;
    margin: 0 0 1em;
    padding: 0;
}

main .woocommerce-breadcrumb a {
    color: #767676;
}