/*
Theme Name: Motta Child Theme
Theme URI: http://motta.uix.store/
Author: UIX Themes
Author URI: http://uix.store
Description: A fully responsive Premium WordPress Theme with a pixel perfect design and extensive functionality
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motta
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Template: motta
*/

.woocommerce-page.woocommerce-checkout .woocommerce form.woocommerce-checkout #customer_details.col2-set .col-1 {
    clear: none;
    float: none !important; 
    width: 100%;
    max-width: 100%;
    flex: none;
}

.woocommerce-page.woocommerce-checkout .woocommerce form.woocommerce-checkout #customer_details.col2-set .col-2 {
    clear: none;
    float: none !important;
    width: 100%;
    max-width: 100%;
    flex: none;
}

.woocommerce-cart-form {
    display: flex;
    padding: 0!important;
    flex-direction: column;
}


form.checkout {
    padding-top: 43px;
    display: flex;
}

.woocommerce-page.woocommerce-checkout .woocommerce form.woocommerce-checkout #customer_details {
    float: none;
    width: 80%;
    margin: 0;
    margin-bottom: 15px;
    max-width: 100%;
    flex: auto;
}

.woocommerce-checkout-packages, .woocoomerce-cart-packages {
    width: 100%;
}

.woocommerce-cart-totals {
    width:auto;
    margin-left: 20px;
}

table.shop_table .order-total td {
    text-align: start;
}


@media (max-width: 992px) {

form.checkout {
    padding-top: 43px;
    display: flex;
    flex-direction: column;
}

.woocommerce-page.woocommerce-checkout .woocommerce form.woocommerce-checkout #customer_details {
    float: none;
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    max-width: 100%;
    flex: auto;
}

form.checkout table.shop_table tbody td.product-total {
    width: 30%;
    text-align: end;
    font-weight: 500;
    vertical-align: top;
}

}


/* Largeur du menu déroulant | Barre de navigation */

.header-category--both .header-category__content {
    min-width: 290px !important;
}


/* Marge gauche entre text et prix TTC */

ul.products li.product .price > .woocommerce-Price-amount:first-child {
    margin-left: 5px !important;
}

/* Page panier */

.woocommerce-cart .woocommerce-shipping-destination {
    float: none;
}

table.shop_table .woocommerce-shipping-totals td {
    border: none !important;
}

.dokan-vendor-setup-wizard #wc-logo img {
    width: 130px !important;
}

.price__save{
	display:none;
}

/* hide sku display on single product page  */

.meta .meta-sku{
	display:none; 
}

/* password strength text color */
.woocommerce-password-strength.strong {
    color: green !important;
}

/* BLOC SEO PRODUCT CATEGORY */

.contenu-acf-categorie {
    margin-top: 4rem;
}

.contenu-acf-categorie h1 {
    font-size: 1.5rem;
}

.contenu-acf {
    display: flex;
	align-items: center;
}

.contenu-textuel {
    width: 80rem;
    padding: 10px 25px;
}

.contenu-image img {
    width: 1000px;
}

.contenu-acf-categorie div:nth-child(2) {
    flex-direction: row-reverse;
}


@media (max-width: 700px) {
	.contenu-textuel {
    width: 100%;
    padding: 0px;
	}
	.contenu-acf {
    display: flex;
	flex-direction:column-reverse;
	align-items: center;
	}
	.contenu-image img {
    width: 100%;
	}
	.contenu-acf-categorie div:nth-child(2) {
    flex-direction:column-reverse;
	}
}

.single-product div.product .short-description .short-description__label {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
}

/* TOPBAR FOR BLOG */

.topbar .nav-menu {
	display:flex !important;
}

/******************************************* PAGE PRODUIT *************************************************/


/* Prix en fond jaune */
.single-product div.product .motta-price-stock .price {
	background-color:#FFD342;
	color:#000;
	padding: 15px;
    border-radius: 10px 0px;
}

/* Refonte de la carte vendeur */
.single-product .dokan-vendor-info-wrap, .modal__quickview .dokan-vendor-info-wrap {
    border: solid 1px #ecf0f4 !important;
    box-shadow: none !important;
    margin-top: 20px;
    border-radius: 10px;
}

/* Refonte des labels des variantions */
.single-product div.product .wcboost-variation-swatches__item.selected {
    border-color: var(--mt-color__primary) !important;
    background-color: var(--mt-color__primary) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.single-product div.product .wcboost-variation-swatches--button .wcboost-variation-swatches__item:hover, .single-product div.product .wcboost-variation-swatches--label .wcboost-variation-swatches__item:hover {
    border-color: var(--mt-color__primary) !important;
    color: #1d2128;
}

 /* Styles des images galerie */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: var(--mt-color__primary) !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
    border-color: var(--mt-color__primary) !important;
}

/* */

.single-product div.product .woocommerce-tabs .motta-tabs-heading li.active a {
    border-color: var(--mt-color__primary) !important;
    color: #1d2128;
}

.single-product div.product .woocommerce-tabs .motta-tabs-heading li a {
    border-bottom: 4px solid #ecf0f4 !important;
} 
 
.les-plus-produit {
    padding: 0px 20px 20px;
    border: solid 1px #ecf0f4;
    border-radius: 10px;
}

.video-wrapper iframe {
	width:100%;
}

/* Fix: Empêche le bouton de remonter au hover quand un produit a des avis */
ul.products.product-card-layout-4 li.product .product-inner:hover .motta-rating + .product-actions {
    transform: none !important;
}

ul.products.product-card-layout-4 li.product .product-inner:hover .motta-rating + .deal-sold + .product-actions {
    transform: none !important;
}

/* Garde les avis visibles au hover pour cohérence */
ul.products.product-card-layout-4 li.product .product-inner:hover .motta-rating {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Pages d'archives produits */


.page-header--minimal .site-breadcrumb + .page-header__content {
	margin-top: 0px;
    padding: 0px !important;
    border-radius: 10px !important;
}

.page-header--products .page-header__title {
		font-size: 24px;
		font-size: 1.75rem;
		line-height: 20.29px;
		margin-top: 28px;
		color: #fff !important;
        margin: 0;
        background-color: #3b93ff;
        padding: 10px;
        width: fit-content;
        border-radius: 5px;
	}

.page-header--products .page-header__description {
    position: relative !important;
    z-index: 2;
	font-size: 14px;
    margin-top: 13px;
    background-color: white !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

@media (max-width: 768px) {
	.page-header--minimal .site-breadcrumb + .page-header__content {
		background: none !important;
		padding: 0px !important;
		margin-top: 0;
	}

	.page-header--products .page-header__title {
		font-size: 1.4rem;
		line-height: 1.2;
		padding: 0px;
		margin-top: 0 !important;
		background-color: inherit;
		color:#3b93ff !important;
	}

	.page-header--products .page-header__description {
		padding: 0px !important;
		border-radius: 6px !important;
	}
}

/* ================================================
   CACHER LE BREADCRUMB SUR MOBILE - PAGES PRODUITS
   ================================================ */
@media (max-width: 767px) {
	/* Cacher le breadcrumb sur les pages produits en mobile */
	.single-product .motta-breadcrumb-social-wrapper,
	.single-product .site-breadcrumb,
	.single-product .woocommerce-breadcrumb {
		display: none !important;
	}
}

.background-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200, 230, 255, 0.3) 0%, transparent 50%), 
                radial-gradient(circle at 70% 30%, rgba(180, 220, 255, 0.2) 0%, transparent 50%), 
                radial-gradient(circle at 50% 80%, rgba(190, 225, 255, 0.25) 0%, transparent 50%);
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.section-left {
    flex: 0 0 45%;
}

.list-container {
    margin-top: 35px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checkmark-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background-color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkmark-icon svg {
    width: 12px;
    height: 12px;
    fill: white;
    stroke: white;
    display: block;
}

.checkmark-icon svg path {
    fill: white;
    stroke: none;
}

.list-text {
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    font-weight: 400;
}

.section-right {
    flex: 0 0 45%;
    padding-top: 30px;
}

.description-text {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin: 0;
    font-weight: 400;
}

.read-more-link {
    color: #0066cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 16px;
    margin-left: 4px;
    font-weight: 400;
    display: inline;
}

.read-more-link:hover {
    opacity: 0.8;
}

/* Responsive Mobile */
@media screen and (max-width: 768px) {

    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .section-left {
        flex: 1 1 100%;
        width: 100%;
    }

    .section-right {
        flex: 1 1 100%;
        width: 100%;
        padding-top: 0;
    }

    .list-container {
        margin-top: 20px;
    }

    .feature-list {
        gap: 16px;
    }

    .list-item {
        gap: 12px;
    }

    .list-text {
        font-size: 15px;
    }

    .description-text {
        font-size: 15px;
    }

    .read-more-link {
        font-size: 15px;
    }
}

/* Responsive Mobile Small */
@media screen and (max-width: 480px) {

    .content-wrapper {
        gap: 25px;
    }

    .list-container {
        margin-top: 10px;
    }

    .feature-list {
        gap: 14px;
    }

    .list-item {
        gap: 10px;
    }

    .checkmark-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
		color:#ffff;
    }

    .checkmark-icon svg {
        width: 10px;
        height: 10px;
        fill: white;
        stroke: white;
    }

    .checkmark-icon svg path {
        fill: white;
        stroke: none;
    }

    .list-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .description-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .read-more-link {
        font-size: 14px;
    }
}

/* ============================================
   PRESENTATION EDITORIALE CATEGORIE
   ============================================ */

.presentation-editoriale-categorie {
	margin: 80px 0 40px 0;
	padding: 0;
	width: 100%;
	display: block;
	clear: both;
}

.presentation-editoriale-categorie * {
	box-sizing: border-box;
}

.presentation-editoriale-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 40px;
	max-width: 100%;
	margin: 0 auto;
	width: 100%;
}

.presentation-editoriale-image-wrapper {
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	min-width: 0;
	max-width: 30%;
	width: auto;
	display: block;
}

.presentation-editoriale-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: 4px;
}

.presentation-editoriale-content-wrapper {
	flex: 1 1 auto !important;
	flex-grow: 1 !important;
	min-width: 0;
	display: block;
	width: auto;
}

.presentation-editoriale-content {
	width: 100%;
	display: block;
}

.presentation-editoriale-content > * {
	display: block;
	width: 100%;
}

.presentation-editoriale-content h1,
.presentation-editoriale-content h2,
.presentation-editoriale-content h3,
.presentation-editoriale-content h4,
.presentation-editoriale-content h5,
.presentation-editoriale-content h6 {
	margin-top: 0;
	margin-bottom: 1em;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.3;
}

.presentation-editoriale-content p {
	margin-top: 0;
	margin-bottom: 1em;
	line-height: 1.6;
}

.presentation-editoriale-content p:last-child {
	margin-bottom: 0;
}

.presentation-editoriale-content ul,
.presentation-editoriale-content ol {
	margin: 1em 0;
	padding-left: 2em;
}

.presentation-editoriale-content li {
	margin-bottom: 0.5em;
	line-height: 1.6;
}

.presentation-editoriale-content a {
	color: inherit;
	text-decoration: underline;
}

.presentation-editoriale-content a:hover {
	text-decoration: none;
}

/* Responsive - Tablette */
@media (max-width: 1024px) {
	.presentation-editoriale-wrapper {
		gap: 30px;
	}
	
	.presentation-editoriale-image-wrapper {
		max-width: 35%;
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	.presentation-editoriale-categorie {
		margin: 30px 0;
	}
	
	.presentation-editoriale-wrapper {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		gap: 20px;
	}
	
	.presentation-editoriale-image-wrapper {
		max-width: 100% !important;
		width: 100% !important;
		flex: 1 1 100% !important;
	}
	
	.presentation-editoriale-content-wrapper {
		width: 100% !important;
		flex: 1 1 100% !important;
	}
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
	.presentation-editoriale-categorie {
		margin: 20px 0;
	}
	
	.presentation-editoriale-wrapper {
		gap: 15px;
	}
}

/* ============================================
   SOUS-CATÉGORIES CARDS
   ============================================ */

.sous-categories-cards-section {
	margin: 60px 0 50px 0;
	padding: 0;
	width: 100%;
}

.sous-categories-cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
	width: 100%;
}

.sous-categorie-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sous-categorie-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	border-color: #3b93ff;
	text-decoration: none;
	color: inherit;
}

.sous-categorie-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f5f5f5;
}

.sous-categorie-card-image-placeholder {
	background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sous-categorie-card-image-placeholder::before {
	content: "📦";
	font-size: 3rem;
	opacity: 0.3;
}

.sous-categorie-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.sous-categorie-card:hover .sous-categorie-card-image img {
	transform: scale(1.05);
}

.sous-categorie-card-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.sous-categorie-card-title {
	margin: 0 0 10px 0;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2128;
}

.sous-categorie-card-description {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #666;
	margin: 0;
	flex: 1;
}

/* Responsive - Tablette */
@media (max-width: 1024px) {
	.sous-categories-cards-container {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 25px;
	}
	
	.sous-categorie-card-image {
		height: 180px;
	}
}

/* Responsive - Mobile */
@media (max-width: 768px) {
	.sous-categories-cards-section {
		margin: 40px 0;
	}
	
	.sous-categories-cards-container {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 20px;
	}
	
	.sous-categorie-card-image {
		height: 160px;
	}
	
	.sous-categorie-card-content {
		padding: 15px;
	}
	
	.sous-categorie-card-title {
		font-size: 1.1rem;
	}
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
	.sous-categories-cards-section {
		margin: 30px 0;
	}
	
	.sous-categories-cards-container {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.sous-categorie-card-image {
		height: 180px;
	}
}



.comment-choisir-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.comment-choisir-image-wrapper {
    flex: 0 0 30%;
    max-width: 30%;
}

.comment-choisir-content-wrapper {
    flex: 0 0 70%;
    max-width: 70%;
}

/* Image responsive */
.comment-choisir-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* optionnel */
}

.comment-choisir-categorie h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.comment-choisir-categorie h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.comment-choisir-wrapper {
    display: flex;
    gap: 40px;
    align-items: center; /* centre verticalement image + contenu */
}

@media (max-width: 768px) {
     .comment-choisir-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .comment-choisir-image-wrapper,
    .comment-choisir-content-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.video-categorie-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
	text-align:center;
}

.video-categorie-embed {
    display: flex;
    justify-content: center;
    align-items: center;
}


.brands-categorie {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.brands-categorie-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 40px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.brand-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    border: 2px solid #1e88ff;
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    transition: transform .2s ease, background .2s ease;
}

.brand-card:hover {
    background: #f7fbff;
    transform: translateY(-2px);
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    max-height: 36px;
    width: auto;
    display: block;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.brand-arrow {
    font-size: 1.3rem;
    color: #000;
}

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

    .brands-categorie-title {
        font-size: 1.6rem;
    }
}

.floody-reassurance {
  margin: 48px 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #3b93ff 0%, #1f6fe0 100%);
  border-radius: 16px;
  color: #ffffff;
}

.floody-reassurance-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.floody-reassurance-text strong {
  font-size: 1.25rem;
  display: block;
}

.floody-reassurance-text p {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.floody-reassurance-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.floody-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  color: #3b93ff;
  transition: all 0.25s ease;
  min-width: 240px;
}

.floody-btn span {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
}

.floody-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .floody-reassurance {
    padding: 32px 16px;
  }

  .floody-btn {
    width: 100%;
  }
}



.floody-quote-card{
  margin: 18px 0 22px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e7ecf5;
  background: linear-gradient(135deg, #f7faff 0%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.floody-quote-card__inner{
  display: flex;
  flex-direction: column;
  align-items: center;      /* centre horizontalement */
  text-align: center;       /* centre le texte */
  gap: 10px;                /* compact */
}

.floody-quote-card__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(59, 147, 255, 0.12);
  color: #0b3d91;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 600;
}

.floody-quote-title{
  margin: 0;
  font-size: 1.12rem;       /* compact mais impactant */
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}

.floody-quote-text{
  margin: 0;
  max-width: 58ch;          /* évite les lignes trop longues */
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}

.floody-quote-actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
}

.floody-quote-button{
  background: #3b93ff !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
  border: 0 !important;
  box-shadow: 0 10px 22px rgba(59, 147, 255, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
  min-width: 240px;         /* visuellement “CTA” */
  text-align: center;
}

.floody-quote-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(59, 147, 255, 0.30);
}

.floody-quote-sub{
  font-size: 0.85rem;
  color: #64748b;
}

/* Mobile : CTA pleine largeur, très lisible */
@media (max-width: 640px){
  .floody-quote-card{ padding: 14px; }
  .floody-quote-button{ width: 100%; min-width: 0; }
  .floody-quote-text{ font-size: 0.93rem; }
}
