

html, body {
    overflow: visible;
    scroll-behavior: smooth;
}

input[type=radio] {
    /*display: none;*/
}

#block-dimensions input[type=text] {
    border: solid 1px #ccc;
    height: 48px;
    width: 100%;
    font-size: 1rem;
    color: #000;
    border-radius: 0px;
    padding: 0 10px;
    margin-right: 5px;
}

#block_sortie_man .block_formTab div {
    width: calc(50% - 10px);
    max-width: none;
    margin-bottom: 5px;
}

#block_sortie_man .block_formTab label {
    border:solid 1px #ddd;
    display: block;
}

#block_sortie_man .block_formTab p {
    margin:0;
    padding: 5px;
}

.block_formTab {
    display: flex;
    flex-wrap: wrap;
}

.block_formTab div {
    display: flex;
    flex-direction: column;
    border:solid 1px transparent;
    text-align: center;
    width: calc(33.33% - 10px);
    box-sizing: border-box;
    margin: 0 5px;
    max-width: 160px;
}

.block_formTab div img {
    width: 100%;
    max-width: 150px;
    border: solid 1px #DDD;
}

#block_devis .block_formTab .choose {
    border:solid 1px orange;
}

.block_formTab label {
    cursor: pointer;
}

#block-dimensions h3 span {
    color: #9b9b9b;
    font-size: 0.8rem;
}


.pastille-color {
    height: 80px;
    border: solid 1px #ccc;
}

.pastille-color p {
    color: #fff;
}

.block_formTab .block-pastille {
    margin-bottom: 5px;
}

.block-pastille label[for=tablier-9016] p, .block-pastille label[for=ossature-9016] p {
    color: #000;
}

#block_devis h2 {
    margin-top: 2rem;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    border-bottom: solid 1px;
}

#block_devis h3 {
    margin-top: 1rem;
}

.flex {
    display: flex;
    align-items: center;
}

.dim_finale {
    background: #24256e;
    color: #fff;
    padding: 10px 10px;
    margin-top: 1rem;
}

#block_devis .dim_finale h3 {
    margin: 0;
    margin-bottom: 0.8rem;
}

#block-dimensions .has-error input {
    border-color: red;
}

.help-block {
    color: red;
    font-size: 0.9rem;
}


@media only screen and (min-width: 980px)
{
    #premium_block {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 5rem;
    }

    #block_devis {
        width: 50%;
    }

    #block_resume {
        width: calc(50%-10px);
        margin-right: 10px;
    }
}

.title{
    margin-top:50px;
    font-size:25px;
    color:#fff;
    font-weight:700;
    margin-bottom:25px
}

.item{
    margin:10px;
    background-color:#fff;
    /* border: solid 1px #ccc; */
    text-align: center;
    transition:transform .3s;
    transform:translate3d(0,-1px,0)}
    
/*.item:hover{transform:translate3d(0,-10px,0)}*/

/* .item img{display:block;width:100%;height:auto; max-width: 100px;} */

.item__body{padding:25px}

.item__title{font-size:24px;margin-bottom:5px;font-weight:700;color:#232323}

.item__description{color:#585858; font-size: 0.7em;}

.carousel_block {
    position: relative;
}
.carousel,.items{overflow: hidden;}

/* .carousel{margin-bottom:30px} */

.carousel__container{
    transition:transform .3s;
    transform: translate3d(0, 0, 0);
    /* transform:translateZ(0) */
}

.carousel__container:after{content:"";clear:both;display:table}
.carousel__item{float:left}

.carousel__next,.carousel__prev{
    position:absolute;
    width:40px;
    height:40px;
    background:#fff url(caret-right.svg) 50% no-repeat;
    background-size:20px 20px;
    border-radius:50%;
    top:50%;
    margin-top:-20px;
    right:-20px;
    box-shadow:0 15px 35px #3232321a,0 5px 15px #0000001a;
    cursor:pointer;
    transition:transform .3s,opacity .3s}

.carousel__next:hover,.carousel__prev:hover{transform:scale(1.2)}

.carousel__prev{background-image:url(caret-left.svg);right:auto;left:-20px}

.carousel__next--hidden,.carousel__prev--hidden{opacity:0; visibility: hidden;}

.carousel__pagination{
    position:absolute;bottom:-20px;
    left:0;right:0;text-align:center;
    display:none}

.carousel__pagination__button{
    background-color:#fff;
    width:10px;height:10px;
    border-radius:50%;
    display:inline-block;
    margin:0 3px;
    box-shadow:0 2px 5px #3232321a;
    transition:transform .3s;
    cursor:pointer}

.carousel__pagination__button--active,.carousel__pagination__button:hover{
    transform:scale(1.4)}

@media screen and (min-width:800px){
    .carousel__pagination{display:block}
}

	#loader-js {
		height: 100%; 
		left: 0; 
		position: fixed; 
		top: 0; 
		overflow-x: hidden; 
		overflow-y: hidden; 
		width: 100%; 
		z-index: 2002; 
		opacity: 0.5; 
		display: none; 
		background:#fff; 
		justify-content: center; 
		align-items: center;
	}

	#block_resume {
		width: calc(50% - 70px);
    	padding: 0px 20px;
		margin: 0;
	}
	#block_devis h2 {
		font-size: 1.5rem;
		border-bottom: solid 1px #d0d0d0;
		color: #092995;
		font-weight: bold;
		padding: 10px 0;
		text-align: left;
		text-transform: none;
		margin-bottom: 15px;
		padding-top: 0;
	}
	#block_devis p, #block_devis label {
		font-size: 0.9rem;
		font-weight: 200;
		color: #333;
		line-height: 1.2;
	}

	#block_devis h3 {
		margin-top: 0;
		color: #333;
		padding: 0;
		margin-bottom: 10px;
	}

	h1 {
		font-size: 35px;
		color: #24256e;
		margin: 10px 30px;
		border-bottom: solid 1px #aaa;
		padding-bottom: 15px;
		margin-right: 20px;
	}

	.sous-titre-produit {
		font-size: 1rem;
		color: #555;
		margin-bottom: 1.5rem;
		margin-left: 30px;
		line-height: 1.2;
		padding: 0;
	}

	.sous-titre-produit span {
		font-weight: bold;
	}

	.service {
		display:flex;
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 1.5rem;
		gap: 60px;
	}

	.service .icon {
		background: orange;
		padding: 5px;
		border-radius: 100%;
		display: flex;
	}

	.service-special {
		display:flex;
		gap:5px;
		align-items: center;
	}

	.service-special .flagfr {
		width: 34px;
		display: flex;
		height: 24px;
		border-radius: 85px;
	}

	.flagfr .flag {
		width: 10px;
		height: 100%;
		border-radius: 20px 0px 20px;
	}

	.para {
		display: flex;
		align-items: center;
		gap: 5px;
		color: #000 !important;
		padding: 0px;
	}

	.price-remise {
		background: rgb(198, 17, 18);
		color: rgb(255, 255, 255);
		padding: 10px;
		font-weight: bold;
		border-radius: 3px;
		font-size: 21px;
		text-align: center;
		display: flex;
		justify-content: space-between;
	}

	.price-remise-info {
		display: flex; 
		color: #000;
		justify-content: right;
		gap: 15px;
		font-size: 15px;
		font-weight: bold;
		margin: 10px 0px;
	}

	.mtnt-price {
		color:red;
	}

	.old-price {
		text-decoration:line-through;
	}

	.price-ttc {
		font-size: 2.7rem;
		font-weight: 600;
		text-align: right;
		color: black;
		padding: 10px;
		padding-right: 10px;
		padding-right: 0;
	}

	.prix-4x {
		color: #000;
		font-size: 1rem;
		text-align:right;
		padding:10px;
		padding-right: 0;
	}

	#prix-4x {
		color:orange; 
		font-weight: bold;
	}

	.add-to-cart-button 
	{
		background-color: orange;
		color: white;
		padding: 12px 20px;
		border: none;
		cursor: pointer;
		font-size: 16px;
		border-radius: 4px;
		transition: background-color 0.3s ease;
	}

	.add-to-cart-button:hover {
		background-color: rgb(204, 133, 0);
	}

	.add-to-cart-button i {
		margin-right: 10px;
	}

	.desactive-cart {
		opacity: 0.4;
		cursor: not-allowed;
		background-color: grey;
		pointer-events: none;
	}

	.select-quantite {
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		background-color: #ffffff;
		border: 1px solid #ccc;
		border-radius: 3px;
		padding: 8px 12px;
		font-size: 15px;
		color: #333;
		width: 80px;
		background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%3E%3Cpath%20fill%3D'%23666'%20d%3D'M0%200l5%206%205-6z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 10px center;
		background-size: 10px 6px;
		cursor: pointer;
		font-size:1.2rem;
	}

	.select-quantite:focus {
		outline: none;
		border-color: #666;
	}

	select::-ms-expand {
		display: none;
	}

	#block-price {
        padding-bottom: 10px;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        padding-top: 5px;
        display: flex;
        flex-direction: column;
        max-height: 95vh;
	}

	#block_manoeuvre div {
		width: calc(25% - 10px);
	}

	#block-dimensions input[type="text"] { 
		width: 90%;
		border-radius: 5px;
		text-align: center;
		font-weight: bold;
	}

	.mm {
		position: absolute;
		right: 10%;
		color: #333;
		line-height: 50px;
	}

	.block_formTab div img {
		border-radius: 5px;
	}

	.dimensions-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.dimension-row {
		display: flex;
		width: 100%;
		margin-bottom: 25px;
		justify-content: space-between;
	}

	.dimension-column {
		width: 49%;
	}

	.input-wrapper {
		position: relative;
	}

	.center-text {
		text-align: center;
	}

	.dim-final {
		background: #092995;
		color: #fff;
		padding: 1em;
		text-align: center;
		font-size: 1rem;
	}

	.hidden {
		display: none;
	}

	.text-center {
		text-align: center;
	}

	.coffre-size {
		padding: 0;
	}

	.coffre-size span { 
		font-size: 1rem;
		font-weight: bold;
	}

	#block_sortie_man .block_formTab label {
		margin: 0;
		padding: 5px;
	}


	#block_devis .carousel__item .item {
		font-size: 1.1em;
		display: block;
		cursor: pointer;
	}

	.help-block {
		font-size:0.7rem;
		margin-left:3px;
	}

	.viewer-frame {
		position: relative;
		width: 100%;
		aspect-ratio: 1 / 1; 
		border-radius: 0.5rem;
		overflow: hidden;
		margin-bottom:10px;
	}

	.viewer-frame img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%; 
		opacity: 0;
		transition: opacity .6s ease;
		pointer-events: none;
		user-select: none;
		z-index: 2;
		max-width: 100%;
		max-height: 64vh;
		object-fit: contain;
	}

	.viewer-frame img.active {
		opacity: 1;
	}

	#colorLayer {
		z-index: 3;
	}

	#global-error {
		background: #fff4f4;
		border: 1px solid #ff5b5b;
		color: #000;
		text-align:center;
		margin-bottom:5px;
	}

	.cart-modal {
		color: black;
		right: 0;
		bottom: 0;
		margin: 0;
		margin-top: 0px;
		position: fixed;
		top: 0;
		background: #fff;
		overflow-x: hidden;
		overflow-y: auto;
		width: 480px;
		height: 100%;
		box-sizing: border-box;
		border-left: solid 1px #ccc;
		transform: translate(150%);
		transition: transform 0.5s ease-in-out;
		z-index: 999999;
		padding: 0 2rem;
		display: flex;
		flex-direction: column;
	}

	.open { 
		transform: translate(0%)!important;
        /* visibility: visible; */
	}
    
	.cart-modal-head {
		height: 70px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex: 0 0 auto;
	}

	.product_name {
		color: #000;
  		font-weight: bold;
	}

	.product_info {
		flex: 1;
	}

	.product_description {
		font-size: 12px;
		color: #555;
		font-weight: 500;
		line-height: 1.3;
		padding: 0;
	}

	.cart-modal-content {
		flex: 1 1 auto;
    	overflow-y: auto;
	}

	.added-product {
		display: flex;
		align-items: center;
		gap: 30px;
	}

	.product_price {
		font-weight: bold;
		font-size: 1.2rem;
	}

	.cart-modal-foot {
		height: 100px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-top: solid 1px #ccc;
		flex: 0 0 auto;
	}

	.cart-modal-soushead {
		flex: 0 0 auto;
		border-bottom: solid 1px #ccc;
		padding-bottom: 2rem;
	}

	.button-modal {
		background-color: orange;
		color: white !important;
		padding: 20px;
		border: none;
		cursor: pointer;
		font-size: 16px;
		border-radius: 4px;
		transition: background-color 0.3s ease;
		font-weight: bold;
	}

	.button-modal:hover {
		filter: brightness(0.9);
	}

	.btn-close {
		font-size: 17px;
		background: #eee;
		padding: 10px;
		border-radius: 100%;
		cursor: pointer;
	}

	.btn-close:hover {
		background: #ddd;
	}

	.confirm-add {
		color: green;
		font-size: 14px;
	}

	.other-product h2 {
		margin: 2rem 0;
 		padding: 0;
	}

	.other-product .added-product {
		margin-bottom: 30px;
		margin-right: 15px;
	}

	.other-product .button-modal {
		padding: 15px;
		border-radius: 100%;
	}
	
	.subtitle {
		line-height: 1.1;
	}

	#error-toast {
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background-color: #d4edda;
		border-color: #c3e6cb;
		color: #155724;
		padding: 16px 24px;
		border-radius: 8px;
		font-size: 16px;
		z-index: 100000;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
		animation: fadeInOut 4s ease forwards;
	}

	#HautFinal, #LargFinal {
		color: #FFFF00;
		font-size: 28px;
		font-weight: bold;
	}

	#block_manoeuvre div label svg {
		position: absolute;
		right: 0px;
		top: 2px;
		padding: 3px;
		background: rgba(255,255,255,0.5);
		border-radius: 50px;
	}

	#block_manoeuvre div {
		position: relative;
	}

	#block_devis h4 {
		margin-top: 0;
		color: #333;
		padding: 0;
		margin-bottom: 2px;
	}

	#lame_tablier div, #block_attache div, #block_coulisse .block_formTab div {
		width: calc(26% - 10px);
	}

	.desactive {
		position: relative;
		cursor: not-allowed;
		opacity: 0.6;
	}
	.desactive::after {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(128, 128, 128, 0.3); 
		z-index: 1;
	}

	#block_devis .block-pastille label {
		align-items: center;
		display: flex;
		color: #fff;
		justify-content: center;
		border-radius: 5px;
	}
