/*
	Theme Name: Boutique Lacassagne
	Version: 1.0.0
	Author: VcomK
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

body{
	margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
header.site-header, footer .footer-grid {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.cart-link {
	position: relative;
}

.cart-count {
	position: absolute;
	top: 0;
	right: -6px;
	background: #e0316b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.cart-count:empty {
	display: none;
}
.product a.added_to_cart.wc-forward {
    display: none;
}
button {
    cursor: pointer;
}
/* Footer global */
footer {
  background-color: #1d3f89;
  color: #cbd5e1;
  padding: 4rem 1rem 2rem;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1536px;
  margin: 0 auto;
}

/* Grille principale */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Bloc commun */
.footer-block {
  min-width: 350px;
}

/* Bloc présentation */
.footer-about {
  flex: 2;
  max-width: 600px;
}

.footer-about h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-about p {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.footer-socials a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #e0316b;
}

.footer-links h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.footer-links li a:hover {
  color: #e0316b;
}

.footer-contact h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.8;
}
.footer-contact ul li a {
    text-decoration: none;
    color: #cbd5e1;
}
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 10px;
}

.footer-contact ul li span {
  color: #facc15;
  flex-shrink: 0;
  position: relative;
  top: 4px;
}

.footer-bottom {
  border-top: 1px solid #192432;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}
.footer-bottom a {
    color: #cbd5e1;
}

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 32px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-placeholder {
    width: 140px;
    height: 80px;
    background: #e2e8f0;
}


.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #1d3f89;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8px);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}
#mobile-menu .don-button {
    background: #f0b100;
    /* width: 100%; */
    display: block;
    text-align: center;
    color: #fff;
    margin-top: 10px;
}
.mobile-menu a {
    font-weight: 500;
    color: #000;
}
/* ====== MENU DESKTOP ====== */
.header-menu {
    display: none;
}

.header-menu ul {
    display: flex;
	justify-content: center;
    gap: 32px;
    list-style: none;
}

.header-menu a {
    font-size: 16px;
    font-weight: 500;
    color: rgb(29, 63, 137);
    text-decoration: none;
    transition: color .3s;
}

.header-menu a:hover {
    color: #f1c40f;
}



/* ====== ICONES ====== */
.header-icons {
    display: none;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
}
.header-icons svg {
    max-width: 20px;
}
.icon-btn:hover svg {
    stroke: #e0316b;
}
.don-button {
    background: rgb(224, 49, 107);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
}

.don-button:hover {
    background: #ffffff;
    color: rgb(224, 49, 107);
    transform: scale(1.05);
}
.page-template-template-home #shop .grid span {
    z-index: 3;
} 
.page-template-template-home #shop .grid a {
    display: block;
    position: relative;
    height: 100%;
    z-index: 1;
}
.page-template-template-home .absolute.bottom-0.left-0.right-0 {
    z-index: 2;
}
.aspect-video {
    cursor: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
  gap: 20px 0;
}

.col-6 {
  width: 50%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.col-6 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; 
}
.page-template-la-campagne section p, .page-template-la-campagne section ul li {color: #444;font-size: 1rem;line-height: 1.5;}

.page-template-la-campagne section#section-1 h1, .page-template-la-campagne section#section-1 h2 {
    color: #e0316b;
}

.page-template-la-campagne section#section-1 {
    padding: 35px 0;
}
@media (min-width: 768px) {
    .header-icons {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .header-menu {
        display: block;
        flex: 1;
        text-align: center;
    }
}

/* ====== MOBILE ====== */
.mobile-toggle {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 16px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    padding: 12px 0;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

/* ====== SEARCH BAR ====== */
.search-bar {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.search-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.container-large{
	max-width: 1536px;
	margin: 0 auto;
  padding: 0 15px;
}

/* --- CARD STYLE (comme React) --- */
.products .product {
    position: relative;
    overflow: hidden;
    border: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px -5px rgba(0,0,0,0.12);
    transition: all .3s ease;
}

.products .product:hover {
    box-shadow: 0 10px 40px -10px rgba(224,49,107,0.4);
}

/* --- IMAGE CONTAINER --- */
.products .product a.woocommerce-LoopProduct-link {
    position: relative;
    display: block;
}

.products .product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform .5s ease;
}

.products .product:hover img {
    transform: scale(1.05);
}

/* --- OVERLAY LIKE REACT --- */
.products .product::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .3s ease;
    z-index: 5;
}

.products .product:hover::before {
    /* background: rgba(0,0,0,0.10); */
}

/* --- SLIDE-UP BUTTON --- */
.products .product .add_to_cart_button {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100%;
    margin: 0 auto;
    width: 90%;
    z-index: 10;
    padding: 12px;
    background: #fff !important;
    color: #0f172a !important; /* slate-900 */
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all .3s ease;
    text-align: center;
}

.products .product:hover .add_to_cart_button {
    bottom: 140px;
}

/* Hover button color */
.products .product:hover .add_to_cart_button:hover {
    background: #e0316b !important;
    color: #fff !important;
}

/* --- CATEGORY --- */
.products .product .woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: 600;
    padding: 10px 15px 0 15px !important;
    color: #0f172a;
    transition: color .3s ease;
}

.products .product:hover .woocommerce-loop-product__title {
    color: #e0316b;
}

/* --- PRICE --- */
.products .product .price {
    display: block !important;
    padding: 0 15px 15px 15px;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 20px;
}

/* --- BADGE NEW --- */
.badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e0316b;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 20;
    font-weight: 600;
}


form.woocommerce-ordering {
    display: none;
}

.page-template-default h1, .page-template-plan-du-site h1{
    color: #e0316b;
    margin-top: 85px;
}

/* Panier */

a.wc-block-components-product-name {
    font-size: 18px !important;
    font-weight: 600;
    color: #e0316b;
}


.wc-block-cart-item__prices, span.price.wc-block-components-product-price {
    font-size: 14px !important;
    font-weight: 600;
    color: #0f172a;
}

span.price.wc-block-components-product-price .wc-block-cart-item__total {
    color: #000 !important;
}

td.wc-block-cart-item__total span.price.wc-block-components-product-price {
    color: #e0316b;
    font-size: 18px !important;
}

tr.wc-block-cart-items__header span {
    font-size: 16px;
}

.wc-block-cart__submit-container a {
    font-size: 18px !important;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    background: #e0316b;
    border-radius: 30px;
    margin-top: 0 !important;
    border: 2px solid #e0316b !important;
}

.wc-block-cart__submit-container a:focus {
    outline: none;
    border: none;
    box-shadow: none;
}
.wc-block-cart__submit-container a:hover {
    background: transparent;
    color: #e0316b;
}
section.related.products {
    float: inline-start;
}
.single-product section h1 a {
    color: #e0316b !important;
    text-decoration: none;
}

.single-product section .woocommerce .quantity .qty {
    padding: 8.5px 5px;
}

.single-product section .price {
    color: #e0316b !important;
    font-size: 22px !important;
    font-weight: 600;
}

.single-product section .product_meta a {
    color: #000;
}

.woocommerce div.product form.cart .button {
    background: #e0316b;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
    max-height: 500px;
    object-fit: contain;
}
img.logo-mimosa {
    max-width: 250px;
}

:root {
  --header-height: 120px;
  --footer-height: 300px;
}
.react-home {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.react-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100vh;
  background: #fff;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-hover {
    opacity: 0;
}

.bg-card:hover .image-hover {
    opacity: 1;
}

.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product .secondary-product-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.woocommerce ul.products li.product:hover .secondary-product-image {
    opacity: 1;
}
.woocommerce table.shop_attributes th {
    text-align: left;
}
.products .product::before {
    pointer-events: none;
}

.products .product .add_to_cart_button {
    pointer-events: auto;
}



.loader {
  width: 48px;
  height: 48px;
  border: 4px solid #ddd;
  border-top-color: #e0316b;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.react-loader.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}


/* panier */
.woocommerce-cart .wc-block-grid__products {
  display: flex;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

/* a propos */
.missions {
  max-width: 1536px;
  margin: 0 auto;
  padding: 60px 20px;
}

.missions-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.missions-intro {
  max-width: 800px;
  margin-bottom: 40px;
  color: #555;
}

/* Grid des cards */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 35px;
}

/* Card */
.mission-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.mission-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  color: #e0316b;
}
main#a-propos h1{
    color: #e0316b;
    margin: 35px 0;
}
main#a-propos h2, main#la-campagne h2{
    color: #e0316b;
    font-size: 2rem;
}
main#a-propos p, main#la-campagne p, main#a-propos ul li, main#la-campagne ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
}

/* Mobile */
@media (max-width: 768px) {
  .missions-grid {
    grid-template-columns: 1fr;
  }

  .missions {
    padding: 40px 16px;
  }
}



@media (min-width: 1024px) {
  .woocommerce-cart .wc-block-grid__products {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .col-6 {
    width: 100%;
    margin-bottom: 0;
  }
  main#a-propos h2, main#la-campagne h2    {
        font-size: 1.5rem;
    }
}
.woocommerce-cart .wc-block-grid__product {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.woocommerce-cart .wc-block-grid__product:hover {
  box-shadow: 0 10px 40px -10px rgba(224,49,107,.4);
}
.woocommerce-cart .wc-block-grid__product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.woocommerce-cart .wc-block-grid__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease;
}

.woocommerce-cart .wc-block-grid__product:hover img {
  opacity: .9;
}

/* overlay léger */
.woocommerce-cart .wc-block-grid__product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .3s ease;
}

.woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-image::after {
  background: rgba(0,0,0,.1);
}
.woocommerce-cart .wc-block-grid__product-add-to-cart {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 5;
}

.woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-add-to-cart {
  transform: translateY(-135px);
}

.woocommerce-cart .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  width: 100%;
  background: #fff;
  color: #0f172a;
  padding: .5rem;
  transition: all .3s ease;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.woocommerce-cart .wc-block-grid__product-add-to-cart a:hover {
  background: #e0316b;
  color: #fff;
}
.woocommerce-cart .wc-block-grid__product-title {
  padding: 1rem 1rem .25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  transition: color .3s ease;
  text-align: left;
  text-decoration: none;
}

.woocommerce-cart .wc-block-grid__product:hover .wc-block-grid__product-title {
  color: #e0316b;
}

.woocommerce-cart .wc-block-grid__product .wc-block-grid__product-price {
  padding: 0 1rem 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  margin-left: 0;
}


.woocommerce-cart .wc-block-grid__product .wc-block-grid__product-link {
    text-decoration: none;
    width: 100%;
    display: block;
}

.woocommerce-cart .wc-block-grid.has-4-columns .wc-block-grid__product {
    max-width: 350px;
    flex: 1;
    margin-inline: 0;
}

.woocommerce-cart li.wc-block-grid__product .wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover {
    background: #e0316b;
    color: #fff;
}

/* sitemap */
ul#menu-plan-du-site {
    margin: 50px 0 75px;
}

ul#menu-plan-du-site li a {
    font-size: 18px;
    line-height: 1.5;
    color: #1d3fa8;
    text-decoration: none;
}
ul#menu-plan-du-site li a:hover{
    color: #e0316b;
}
ul#menu-plan-du-site li {
    margin-bottom: 10px;
}
body.mentions-legales section {
    margin-bottom: 50px;
}
body.mentions-legales section p, body.mentions-legales section p a {
    color: #000;
}
.legal-content p a {
    color: #e0316b;
}
.woocommerce div.product div.images .flex-control-thumbs {
    margin: 15px 0 0;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
.page-template-default h1, .page-template-plan-du-site h1 {
    color: #e0316b;
    margin-top: 35px;
}
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
}
}