/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.underlined{
	position:relative;
}
.underlined:after{
	content:"";
	position:absolute;
	left:0;
	bottom:0;
	width:60px;
	height:1px;
	background-color:#C9A45C;
}
.page-header{
	 background-color: var(--e-global-color-accent);
	padding:180px 15px 10px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
	margin-bottom:50px;
}
.page-header h1{
	color:#fff;
}
.product.woocommerce.add_to_cart_inline {
	border:none !important;
	text-align:center;
	margin:20px 0;
}
.wc-block-cart__empty-cart__title + .wp-block-separator,
.wc-block-cart__empty-cart__title + .wp-block-separator + .wp-block-heading,
.wc-block-cart__empty-cart__title + .wp-block-separator + .wp-block-heading + .wp-block-woocommerce-product-new {
    display: none !important;
}
.wp-block-woocommerce-cart{
	margin-inline:0 !important;
}
.product.woocommerce.add_to_cart_inline a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart{
	 background-color: var(--e-global-color-4d945a4);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    text-decoration: var(--e-global-typography-accent-text-decoration);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    border-radius: 5px 5px 5px 5px;
    padding: 15px 30px 15px 30px;
	    transition: all .3s;
}
.product.woocommerce.add_to_cart_inline a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover , .product.woocommerce.add_to_cart_inline a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:focus{
    background-color: var(--e-global-color-primary);
    color: #FFFFFF;
}
td.wc-block-cart-item__image,table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image ,.woocommerce .woocommerce-customer-details .woocommerce-column__title {
 display:none !important;
	}
@media(max-width:992px){
	.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product{
	grid-column-start: 1 !important;
	}	
}
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
    visibility: visible !important;
	    text-align: left;
    padding-left: 12px;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link){
	    background-color: var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    font-style: var(--e-global-typography-accent-font-style);
    text-decoration: var(--e-global-typography-accent-text-decoration);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 5px 5px 5px 5px;
    padding: 15px 30px 15px 30px;
	transition: all .3s;
}
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover , body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):focus {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-4d945a4);
}
.wc-block-components-address-form__country.wc-block-components-country-input {
    display: none;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text{
	    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
	    color: #000;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
    max-width: 0 !important;
    width: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name{
	 font-size: 15px;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
    width: 15px !important;
}
.wc-block-components-form .wc-block-components-text-input input[type=email]:focus, .wc-block-components-form .wc-block-components-text-input input[type=number]:focus, .wc-block-components-form .wc-block-components-text-input input[type=password]:focus, .wc-block-components-form .wc-block-components-text-input input[type=tel]:focus, .wc-block-components-form .wc-block-components-text-input input[type=text]:focus, .wc-block-components-form .wc-block-components-text-input input[type=url]:focus, .wc-block-components-text-input input[type=email]:focus, .wc-block-components-text-input input[type=number]:focus, .wc-block-components-text-input input[type=password]:focus, .wc-block-components-text-input input[type=tel]:focus, .wc-block-components-text-input input[type=text]:focus, .wc-block-components-text-input input[type=url]:focus{
	outline-color:#C9A45C !important;
}
.woocommerce-order {
    display: flex;
    flex-direction: column;
}
.woocommerce-order  .woocommerce-message {
    border-top-color: var(--e-global-color-accent);
	background-color:#fff;
    order: -1;
}
.woocommerce-order .woocommerce-message::before {
    color: var(--e-global-color-accent);
}

/* css du file upload */

/* ─── Upload moderne Metform ─── */

.mf-input-file-upload {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.mf-file-upload-container {
  position: relative;
}

.mf-input-file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  background: #FFFFFF0D;
  border: 1.5px dashed #FFEFEE55;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: #FFEFEE;
  font-size: 13px;
  text-align: center;
  margin-block: 15px;
  width: 100% !important;	
}

/* Icône upload via pseudo-élément (pas besoin du <i>) */
.mf-input-file-upload-label::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border: 1.5px solid #FFEFEE88;
  border-radius: 50%;
  background: #FFEFEE0D
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFEFEE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E")
    no-repeat center / 16px;
}

/* Texte "Cliquez pour ajouter" via pseudo-élément */
.mf-input-file-upload-label::after {
  content: "Cliquez pour ajouter des images";
  font-size: 13px;
  color: #FFEFEE99;
}

/* Masquer le contenu interne Metform (span + icône) */
.mf-input-file-upload-label span,
.mf-input-file-upload-label .icon-upload {
  display: none;
}

/* États hover / focus / active */
.mf-file-upload-container:hover .mf-input-file-upload-label,
.mf-input-file-upload:hover + .mf-input-file-upload-label {
  border-color: #FFEFEE;
  background: #FFEFEE12;
}

.mf-input-file-upload:active + .mf-input-file-upload-label {
  background: #FFEFEE1A;
}

.mf-input-file-upload:focus-visible + .mf-input-file-upload-label {
  outline: 2px solid #FFEFEE;
  outline-offset: 2px;
}

/* Label et aide */
.mf-input-label {
  color: #FFEFEE;
  font-size: 13px;
  font-weight: 500;
}

.mf-input-help {
  font-size: 11px;
  color: #FFEFEE55;
}
span.mf-file-remove {
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
label.mf-file-cross {
    margin: 0 !important;
}
.wp-block-woocommerce-checkout-order-summary-block
 {
    margin-bottom: 20px;
}
/* ========== STYLE POUR LA PAGE MON COMPTE (lindamakart.fr) ========== */

/* Conteneur principal */
.woocommerce-account .woocommerce {
    margin: 3rem auto;
}

/* Navigation du compte - version onglets élégants */
.woocommerce-MyAccount-navigation {
    background: #fefaf5;
    border-bottom: 2px solid #e3d9d0;
    margin-bottom: 2rem;
    border-radius: 0;
    box-shadow: none;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction:column;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li a{
	  width:100%;
}

.woocommerce-MyAccount-navigation a {
    display: inline-block;
    padding: 1rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #4a4238;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
    background: none;
}

.woocommerce-MyAccount-navigation a:hover {
    color: #b58b6b;
    border-bottom-color: #dabfaa;
}

.woocommerce-MyAccount-navigation .is-active a {
    color: #9b6e4c;
    border-bottom-color: #c2a07f;
    font-weight: 600;
}

/* Contenu du compte */
.woocommerce-MyAccount-content {
    background: #fffcf9;
    padding: 2.5rem;
    border: 1px solid #f0e7df;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
    border-radius: 2px;
}

.woocommerce-MyAccount-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #3a3530;
}

.woocommerce-MyAccount-content strong {
    color: #aa7b58;
    font-weight: 600;
}

.woocommerce-MyAccount-content a {
    color: #b3805a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: #634d38;
    text-decoration: none;
}

/* Notices & messages */
.woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}
.woocommerce-message,
.woocommerce-info {
    background: #fef1e6;
    border-left: 4px solid #cdaa8b;
    font-size: 0.9rem;
	border-top-color: #cdaa8b;
}
.woocommerce-info::before {
    color: #cdaa8b;
}
/* Boutons généraux (si utilisés dans le compte) */
.woocommerce .button {
    background: #ede3d9;
    color: #5a463a;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 500;
    transition: 0.2s;
    border-radius: 0;
}

.woocommerce .button:hover {
    background: #dacbbc;
    color: #2e2a26;
}

/* Responsive : mobile */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
        align-items: stretch;
    }
    .woocommerce-MyAccount-navigation a {
        border-bottom: 1px solid #f0e1d4;
        padding: 0.8rem 1rem;
    }
    .woocommerce-MyAccount-content {
        padding: 1rem;
    }
    .woocommerce {
        padding: 0rem;
    }
}