/**
 * Correctifs tablette front (768–1199px) — version minimale (évite écran blanc).
 * Desktop (>1199) et mobile (<768) ne sont pas touchés.
 */

@media (min-width: 768px) and (max-width: 1199px) {
	/*
	 * Barre Beloccasion FIXE (comme mobile) — menu-mobile.css ne la fixe
	 * que jusqu’à 919px ; carticon seulement ≤768px.
	 */
	.wsmobileheader {
		display: block !important;
		position: relative !important;
		height: 52px !important;
		min-height: 52px !important;
		margin: 0 !important;
		padding: 0 !important;
		/* réserve la place : la barre noire commence juste en dessous */
	}

	.wsmobileheader .smallogo,
	.smallogo {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: 52px !important;
		z-index: 1010 !important;
		background: #fff !important;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45) !important;
		padding-top: 9px !important;
		text-align: center !important;
		margin: 0 !important;
	}

	.wsmobileheader .smallogo img,
	.smallogo img {
		height: 32px !important;
		width: auto !important;
		margin: 0 auto !important;
	}

	.wsmobileheader .animated-arrow,
	.animated-arrow {
		position: fixed !important;
		left: 0 !important;
		top: 0 !important;
		z-index: 1011 !important;
		margin: 12px 0 0 15px !important;
	}

	.wsmobileheader .carticon,
	.carticon {
		position: fixed !important;
		right: 55px !important;
		top: 10px !important;
		z-index: 1011 !important;
		width: 25px !important;
		height: 25px !important;
		font-size: 25px !important;
	}

	.wsmobileheader .callusicon,
	.callusicon {
		position: fixed !important;
		right: 15px !important;
		top: 17px !important;
		z-index: 1011 !important;
		width: 25px !important;
		height: 25px !important;
	}

	/* Plus de padding body (cassait la sensation de barre fixe) */
	body:has(.wsmobileheader) {
		padding-top: 0 !important;
	}

	/* Barre noire unique : Affilié + livraison + tél + WhatsApp + contact
	   Visible dès le chargement (sous le spacer 52px du wsmobileheader) */
	.top-header {
		height: auto !important;
		min-height: 38px;
		overflow: visible !important;
		background: #211f1d !important;
		border-bottom: none !important;
		padding: 8px 0 !important;
		position: relative;
		z-index: 40;
		margin-top: 0 !important;
	}

	.top-header .container {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0;
		width: 100% !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}

	.top-header .nav-top-links,
	.top-header .pull-right.nav-top-links,
	.top-header .rtl {
		float: none !important;
		display: inline-flex !important;
		flex-wrap: nowrap !important;
		align-items: center;
		width: auto !important;
		max-width: none !important;
		line-height: 1.3 !important;
		flex-shrink: 0;
		margin: 0 !important;
		padding: 0 !important;
	}

	.top-header #google_translate_element {
		display: none !important;
	}

	.top-header a,
	.top-header a span {
		color: #f5f5f5 !important;
		font-size: 12px !important;
		padding: 4px 10px !important;
		margin: 0 !important;
		border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
		white-space: nowrap !important;
		background: transparent !important;
		display: inline-flex !important;
		align-items: center;
		gap: 4px;
		line-height: 1.2;
		vertical-align: middle;
	}

	.top-header a:last-child,
	.top-header .pull-right.nav-top-links a:last-of-type {
		border-right: none !important;
	}

	/* Annule margin-right:125px inline Contactez-nous */
	.top-header a[style] {
		margin-right: 0 !important;
	}

	.top-header .fa.fa-phone {
		color: #eb5a25 !important;
	}

	.top-header .fa.fa-whatsapp {
		color: #09d261 !important;
	}

	.top-header i.icon-dollar-coin,
	.top-header i.chat-support {
		color: #1b8c8f !important;
		top: 0 !important;
		position: relative !important;
	}

	.top-header .flag-icon {
		top: 0 !important;
		font-size: 14px !important;
		vertical-align: middle;
		margin: 0 2px !important;
	}

	/* Conteneur home figé à 1199px → overflow */
	#home-slider .container,
	#home-slider .container.container-mobile {
		width: 100% !important;
		max-width: 100% !important;
	}

	#home-slider {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	/* Barre CATÉGORIES orpheline (liste déjà masquée par le thème) */
	#box-vertical-megamenus {
		display: none !important;
	}

	#home-slider .header-top-right,
	#home-slider .col-sm-9.header-top-right {
		width: 100% !important;
		float: none !important;
		margin-left: 0 !important;
		padding-left: 15px;
		padding-right: 15px;
	}

	#home-slider .header-top-right .homeslider {
		width: 100% !important;
		float: none !important;
		padding: 5px 0 !important;
	}

	/* Cause du « à moitié » : viewport bxSlider figé à 351px */
	#home-slider .loading-slider,
	#home-slider .homeslider .loading-slider {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	#home-slider .homeslider .bx-wrapper,
	.header-top-right .homeslider .bx-wrapper {
		max-width: 100% !important;
		overflow: hidden;
	}

	#home-slider .homeslider .bx-wrapper .bx-viewport,
	.header-top-right .homeslider .bx-wrapper .bx-viewport {
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
	}

	#home-slider .homeslider .bx-wrapper .bx-viewport ul,
	#home-slider .homeslider .bx-wrapper .bx-viewport li,
	.header-top-right .homeslider .bx-wrapper .bx-viewport li {
		height: auto !important;
		max-height: none !important;
	}

	#home-slider .homeslider img,
	.header-top-right .homeslider img,
	#home-slider .homeslider .bx-wrapper img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: block !important;
	}

	#home-slider .header-top-right .header-banner {
		width: 100% !important;
		float: none !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
		margin-top: 12px;
	}

	#home-slider .header-top-right .header-banner img {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
		display: block;
	}

	#home-slider .slider-left {
		display: none !important;
	}

	/* Doublon icônes : garder la rangée .services-mobile, pas .services-pc */
	#home-slider .services-pc,
	.services-pc {
		display: none !important;
	}

	.services-mobile {
		display: block !important;
		padding: 10px 8px !important;
		overflow: hidden;
	}

	.services-mobile > [class*="col-xs-"] {
		float: left;
		width: 16.666% !important;
		padding: 4px 2px !important;
		text-align: center;
		box-sizing: border-box;
	}

	.services-mobile img {
		max-width: 56px;
		width: auto;
		height: auto;
		margin: 0 auto;
		display: inline-block;
		float: none;
	}

	.services-mobile small {
		display: block;
		font-size: 10px;
		line-height: 1.2;
		margin-top: 4px;
		position: static;
		width: auto;
		left: auto;
		top: auto;
	}

	/* Autres bannières home / catégories */
	.banner-boder-zoom img,
	.banner-boder-zoom2 img,
	.content-page img.img-responsive,
	.banniere img,
	.block-banner img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: block;
	}

	/* Filtres catalogue / affiliation : une seule ligne */
	.bo-filters form,
	.bo-filters-form {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: stretch;
		gap: 8px;
	}
	.bo-filters .filter-category,
	.bo-filters .show-product-item,
	.bo-filters .sort-product {
		flex: 1 1 0 !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		grid-column: auto !important;
	}

	/* ——— Affiliation / Nouvel Arrivage : grille mobile (styles hors max-width 768) ——— */
	.mini-produits ._produit,
	.bo-aff-products-grid ._produit {
		height: auto !important;
		padding: 6px 4px 16px !important;
		box-sizing: border-box;
	}
	.mini-produits ._produit img,
	.mini-produits ._produit img.img-responsive,
	.bo-aff-products-grid ._produit img,
	.bo-aff-products-grid ._produit img.img-responsive,
	.content-page .mini-produits img.img-responsive,
	.content-page .bo-aff-products-grid img.img-responsive {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		display: block !important;
		object-fit: contain;
		border-radius: 5px;
	}
	.mini-produits ._remise2,
	.bo-aff-products-grid ._remise2 {
		background: #ff7400;
		width: 65px;
		text-align: center;
		margin: 8px auto;
		border-radius: 11px;
		font-weight: 700;
		color: #fff;
	}
	.mini-produits ._remise,
	.bo-aff-products-grid ._remise {
		background: #ff7400;
		width: 43px;
		text-align: center;
		margin: 7px auto 13px;
		border-radius: 11px;
		font-weight: 700;
		color: #fff;
	}
	.mini-produits ._price .price,
	.bo-aff-products-grid ._price .price {
		font-weight: 700;
		line-height: 1.25;
		display: block;
		text-align: center;
	}
	.mini-produits .content_price,
	.bo-aff-products-grid .content_price {
		text-align: center;
	}

	/* ——— MegaShop : icône + barre sous-catégories (portrait & paysage) ——— */
	.megashop .nav-menu.show-brand > .container {
		display: flex;
		align-items: stretch;
		flex-wrap: nowrap;
	}
	.megashop a.megashop-link {
		flex: 0 0 auto;
		display: block;
		align-self: stretch;
	}
	.megashop .show-brand .navbar-brand {
		display: flex !important;
		align-items: center;
		gap: 8px;
		height: 50px;
		overflow: hidden;
		box-sizing: border-box;
		padding: 0 28px 0 10px !important;
		width: 160px !important;
		max-width: 28%;
		font-size: 13px !important;
		line-height: 1.15 !important;
		white-space: nowrap;
		float: none !important;
		margin: 0 !important;
	}
	.megashop .show-brand .navbar-brand img,
	.megashop .show-brand .navbar-brand img.bo-megashop-icon {
		width: 23px !important;
		max-width: 23px !important;
		height: auto !important;
		float: none !important;
		margin: 0 !important;
		display: block !important;
		object-fit: contain;
		filter: brightness(0) invert(1);
	}
	.megashop .nav-menu .navbar-collapse {
		flex: 1 1 auto;
		float: none !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-bottom-width: 2px;
	}
	.megashop .nav-menu .nav {
		display: flex;
		flex-wrap: nowrap;
		float: none;
		white-space: nowrap;
	}
	.megashop .nav-menu .nav > li {
		float: none;
		flex: 0 0 auto;
	}
	.megashop .nav-menu .nav > li > a {
		display: flex;
		align-items: center;
		height: 50px;
		padding: 0 12px !important;
		box-sizing: border-box;
	}
	.megashop .nav-menu .nav > li > a h5 {
		margin: 0;
		line-height: 1.2;
	}

	.product-list.grid li {
		width: 33.333%;
	}

	/* BeloServices : 2 cartes carrées */
	.product-list.bo-services-posters > li.bo-service-poster,
	.product-list.bo-services-posters > li.product {
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		float: none !important;
	}

	/* Options service (toilettage) : 4 images + chips 2 colonnes */
	#product .product-options,
	#options-popup .product-options {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		overflow: visible;
	}
	#product .product-option:not(.sous-option) img,
	#options-popup .product-option:not(.sous-option) img,
	#product .product-option.have-image img,
	#options-popup .product-option.have-image img {
		width: 72px !important;
		height: 72px !important;
		border-radius: 12px !important;
	}
	#product .sous-options .product-options,
	#options-popup .sous-options .product-options {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	#product .product-option.sous-option:not(.have-image),
	#options-popup .product-option.sous-option:not(.have-image),
	.sous-options .product-option.sous-option:not(.have-image) {
		flex: 1 1 calc(50% - 8px) !important;
		max-width: calc(50% - 8px);
		min-height: 42px;
		border-radius: 12px !important;
		padding: 10px 12px !important;
	}

	/* ——— Page produit (iPad) ——— */
	.product-page #columns,
	#product #columns,
	#product .container,
	.product .container#columns,
	.produit-middle > .container {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		box-sizing: border-box;
	}

	#product .primary-box,
	.product .primary-box {
		display: block !important;
		width: 100%;
		overflow: hidden;
	}

	/* Image + infos uniquement (pas la colonne recommandations) */
	#product .pb-left-column.produit-page-image,
	#product .pb-right-column.produit-page-info,
	.produit-page-image,
	.produit-page-info {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.produit-page-info {
		margin-top: 20px !important;
	}

	/* Image : plus de hauteur fixe 575px */
	#product .produit-page-image .product-full,
	#product .pb-left-column.produit-page-image .product-image .product-full,
	.product-full-mobile {
		padding: 0 !important;
		width: 100% !important;
	}

	#product .produit-page-image .product-full img,
	#product .produit-page-image #product-zoom,
	.product-full-mobile img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: none !important;
		object-fit: contain !important;
		display: block;
	}

	#product .produit-page-image .product-img-thumb {
		padding: 0 24px !important;
		margin-top: 12px;
	}

	.produit-page-info .product-name {
		font-size: 22px !important;
		line-height: 1.3 !important;
	}

	.produit-page-info .product-price-group .price {
		font-size: 26px !important;
	}

	/* Panier + icônes (favoris / ami / j'achète) */
	#product .form-option.ajouter-panier-mobile,
	.produit-page-info .form-option.ajouter-panier-mobile {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: 16px;
		padding: 0 !important;
		position: static !important;
		left: auto !important;
		bottom: auto !important;
		background: transparent !important;
	}

	#product .form-option.ajouter-panier-mobile .attributes,
	#product .form-option.ajouter-panier-mobile .button-group {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
	}

	#product .btn-add-cart,
	.produit-page-info .btn-add-cart {
		width: auto !important;
		min-width: 180px;
		flex: 1 1 180px;
		max-width: 100%;
		text-align: center;
		margin: 0 !important;
		float: none !important;
		left: auto !important;
		position: relative !important;
		border-radius: 999px !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	#product .btn-add-favoris,
	#product .btn-home,
	#product .btn-link-affiliate {
		position: static !important;
		float: none !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
		border-radius: 999px !important;
		height: 48px;
		min-width: 160px;
		flex: 1 1 160px;
		box-sizing: border-box;
	}

	#product .form-option .button-group,
	.produit-page-info .form-option .button-group {
		display: flex !important;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 10px;
		width: 100%;
		max-width: none;
	}

	#product .form-option .button-group > a.btn-add-cart,
	#product .form-option .button-group > a.btn-link-affiliate {
		flex: 1 1 calc(50% - 5px);
		min-width: 140px;
		width: auto !important;
		margin: 0 !important;
		height: 48px;
	}

	.bo-mobile-cta {
		display: flex;
		width: 100%;
		gap: 0;
	}
	.bo-mobile-cta > a.btn-add-cart,
	.bo-mobile-cta > a.btn-link-affiliate {
		flex: 1 1 50%;
		border-radius: 0 !important;
		min-height: 52px;
		height: 52px;
		margin: 0 !important;
		box-shadow: none !important;
	}

	#product .btn-link-affiliate > div {
		position: static !important;
		float: none !important;
		width: auto !important;
		display: inline-block;
	}

	#product .button-group.hidden-xs,
	.produit-page-info .button-group.hidden-xs {
		display: flex !important;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 12px;
		margin-top: 12px;
		width: 100%;
	}

	#product .button-group.hidden-xs a {
		display: inline-block;
		white-space: nowrap;
	}

	/* Colonne « Produits recommandés » → bandeau horizontal sous le produit */
	#product .bo-recommended.pb-right-column,
	#product .top-right-product.bo-recommended {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
		padding: 20px 0 0 !important;
		margin: 24px 0 0 !important;
		clear: both;
		border-top: 1px solid rgba(15, 31, 32, 0.08);
	}

	#product .bo-recommended-list,
	.bo-recommended .bo-recommended-list {
		flex-direction: row !important;
		flex-wrap: wrap;
		gap: 12px !important;
	}

	#product .bo-recommended .bo-related-card {
		flex: 1 1 30%;
		min-width: 140px;
		max-width: calc(33.333% - 8px);
	}

	/* Sidebar catégories (left_column) trop étroite en tablette → masquer */
	.produit-middle #left_column,
	.gray-bg #left_column,
	.product-page #left_column {
		display: none !important;
	}

	.produit-middle #center_column,
	.gray-bg #center_column,
	.product-page #center_column {
		width: 100% !important;
		float: none !important;
		max-width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#product-detail img,
	.product-page #product-detail img {
		max-width: 100% !important;
		height: auto !important;
	}

	.produit-page-image {
		margin-bottom: 16px !important;
	}

	/* Header tablette :
	   - Logo au-dessus de la recherche
	   - Recherche + icônes (compte / envies / panier) sur une ligne */
	.main-header {
		padding: 12px 0 !important;
	}

	.main-header .row {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		justify-content: flex-start;
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.main-header .header-logo,
	.main-header .logo {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		float: none !important;
		text-align: center !important;
		margin: 0 0 10px !important;
		padding: 0 !important;
		order: 1;
	}

	.main-header .header-logo img,
	.main-header .logo img {
		width: auto !important;
		max-width: 160px !important;
		height: auto !important;
		display: inline-block;
		margin: 0 auto;
	}

	.main-header .header-search-box {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		float: none !important;
		margin: 0 10px 0 0 !important;
		padding: 0 !important;
		order: 2;
	}

	.main-header .header-search-box .form-inline {
		width: 100%;
		margin: 0;
	}

	.main-header .header-link,
	.main-header .header-cart,
	.main-header .header-liste-envie,
	.main-header .header-sign-in {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 40px;
		float: none !important;
		margin: 0 2px 0 6px !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center;
		position: relative;
		order: 3;
	}

	/* Icônes seules à droite de la recherche */
	.main-header .header-link .text,
	.main-header .header-sign-in .text,
	.main-header .header-cart .text,
	.main-header .header-liste-envie .text {
		display: none !important;
	}

	.main-header .header-link i {
		float: none !important;
		margin: 0 !important;
		top: 0 !important;
		font-size: 28px !important;
	}

	.main-header .shopping-cart-box {
		width: auto !important;
		float: none !important;
		margin: 0 !important;
	}

	/* Barre langues AR/FR — comme mobile */
	.languageMenus.visible-xs,
	.languageMenus-tablet {
		display: block !important;
		visibility: visible !important;
		margin-top: 0 !important;
		background: #282828 !important;
		padding: 10px 0 !important;
		text-align: center;
		line-height: 28px;
		width: 100%;
		clear: both;
	}

	.languageMenus-tablet .row {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.languageMenus-tablet .row > [class*="col-"] {
		float: none !important;
		width: 50% !important;
		padding: 0 12px;
	}

	.languageMenus-tablet .flag-icon {
		font-size: 25px !important;
		top: 0 !important;
		vertical-align: middle;
	}

	.languageMenus-tablet a {
		color: #fff !important;
		font-size: 15px !important;
		text-decoration: none !important;
		display: inline-block;
		padding: 4px 8px;
	}

	/* Éviter le doublon dans la mini-barre top-header */
	.top-header a[href*="language"],
	.top-header a[href="/language"],
	.top-header a[href*="lang=fr"] {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.product-list.grid li {
		width: 50%;
	}

	.main-header .header-logo img,
	.main-header .logo img {
		max-width: 140px !important;
	}

	.main-header .header-search-box {
		margin-right: 6px !important;
	}

	.main-header .header-link i {
		font-size: 24px !important;
	}
}

/* Bannière toilettage PC : masquée en tablette portrait uniquement */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
	#home-slider .header-top-right .header-banner {
		display: none !important;
	}
}

/* Modal réservation toilettage — tablette / iPad */
@media (min-width: 768px) and (max-width: 1199px) {
	#builder .bo-builder-dialog {
		width: 92% !important;
		max-width: 880px;
		margin: 28px auto;
	}
	#builder .bo-builder__scroll {
		padding: 26px 22px 14px;
		max-height: min(74vh, 720px);
		max-height: min(74dvh, 720px);
	}
	#builder .bo-builder__grid {
		gap: 22px 24px;
	}
	#builder .bo-builder__image {
		min-height: 220px;
		max-height: 280px;
	}
	#builder .bo-builder__title {
		font-size: 20px !important;
	}
	#builder .bo-builder__cta {
		padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
	}
}

/* iPad / tablette paysage : même aperçu large que desktop */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
	#builder .bo-builder__grid {
		grid-template-columns: 1.05fr 0.95fr;
	}
	#builder .bo-builder__image {
		min-height: 220px;
		max-height: 280px;
	}
}

/* iPad / tablette portrait : formulaire d’abord, champs 2×2, puis récap */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
	#builder .bo-builder {
		max-height: 90vh;
		max-height: 90dvh;
		display: flex;
		flex-direction: column;
	}
	#builder .bo-builder__body.modal-body {
		flex: 1 1 auto;
		min-height: 0;
	}
	#builder .bo-builder__scroll {
		max-height: none;
	}
	#builder .bo-builder__grid {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	#builder .bo-builder__form {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 16px;
		order: 0;
	}
	#builder .bo-builder__form > input[type="hidden"] {
		display: none !important;
	}
	#builder .bo-builder__form > .bo-builder__field {
		grid-column: auto;
	}
	#builder .bo-builder__form > .bo-builder__field:has(.col2),
	#builder .bo-builder__form > .bo-builder__field:has(.colfin) {
		grid-column: auto;
	}
	#builder .bo-builder__form > .bo-builder__field--full {
		grid-column: 1 / -1 !important;
	}
	#builder .bo-builder__recap {
		order: 1;
	}
	#builder .bo-builder__image {
		min-height: 220px;
		max-height: min(280px, 34vh);
		max-height: min(280px, 34dvh);
	}
	#builder .bo-builder__cta {
		position: sticky;
		bottom: 0;
		z-index: 4;
	}
}

/* Drawer catalogue — tablette / iPad */
@media (min-width: 768px) and (max-width: 1199px) {
	.wsmenucontainer.bo-drawer {
		--bo-drawer-w: min(88vw, 400px, calc(100vw - 64px));
	}
	.wsmenucontainer.bo-drawer .animated-arrow {
		left: 16px !important;
		top: 18px !important;
		width: 28px !important;
		height: 20px !important;
		margin: 0 !important;
		z-index: 10060 !important;
		background: transparent !important;
		box-shadow: none !important;
		border-radius: 0 !important;
	}
	.wsmenucontainer.bo-drawer.wsoffcanvasopener .animated-arrow {
		left: calc(var(--bo-drawer-w) + 12px) !important;
		top: 14px !important;
		width: 34px !important;
		height: 34px !important;
		border-radius: 50% !important;
		background: #fff !important;
		box-shadow: 0 4px 14px rgba(15, 31, 32, 0.18) !important;
	}
	.wsmenucontainer.bo-drawer .bo-cat-row,
	.wsmenucontainer.bo-drawer a.link-categorie {
		min-height: 56px !important;
		font-size: 16px !important;
	}
	.wsmenucontainer.bo-drawer .bo-cat-row__icon {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}
	.wsmenucontainer.bo-drawer .bo-cat-row__icon .icon-menu,
	.wsmenucontainer.bo-drawer .link-categorie .icon-menu {
		width: 24px !important;
		height: 24px !important;
	}
	.wsmenucontainer.bo-drawer .bo-drawer__link > a {
		min-height: 50px !important;
		font-size: 16px !important;
	}
	.wsmenucontainer.bo-drawer .topmenusearch input {
		height: 48px !important;
		font-size: 16px !important;
	}
	.wsmenucontainer.bo-drawer .topmenusearch .btnstyle {
		width: 40px !important;
		height: 40px !important;
	}
	.wsmenucontainer.bo-drawer .bo-drawer__list > li.bo-drawer__social {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}
	.wsmenucontainer.bo-drawer .bo-drawer__social .iconfollowus {
		flex-basis: 36px !important;
		width: 36px !important;
		height: 36px !important;
		max-width: 36px !important;
	}
}

/* Affiliation — tablette / iPad portrait (filet complémentaire) */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
	.affiliation-top.jumbotron.text-center {
		background-size: cover !important;
		max-width: 100% !important;
	}
	.bo-affiliation-copy,
	.text-affiliation {
		overflow-x: hidden !important;
	}
	.bo-affiliation-copy img,
	.text-affiliation img {
		max-width: 100% !important;
		height: auto !important;
	}
}
