/* =======================================================
   MODAL PANIER - BASE
======================================================= */

.modal-backdrop {
	background: rgba(0, 0, 0, 0.55) !important;
	opacity: 1 !important;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.modal-backdrop.in,
.modal-backdrop.show {
	opacity: 1 !important;
}

.modal-panier .modal-dialog {
	width: min(92vw, 50rem) !important;
	max-width: none;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 0 0 auto;
}

.modal-panier .modal-content {
	height: 100vh;
	height: 100dvh;
	border-radius: 0;
	display: flex;
	flex-direction: column;
}

.modal-panier .modal-header {
	flex-shrink: 0;
}

.modal-panier .cart-modal-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 0;
}

.modal-panier .cart-modal-scroll .table {
	margin-bottom: 0;
}

.modal-panier .cart-modal-bottom {
	flex-shrink: 0;
	background: #fff;
	border-top: 1px solid #e5e5e5;
}

@media (max-width: 48rem) {
	.modal-panier .modal-dialog {
		width: 100vw;
		margin: 0;
	}

	.modal-panier .modal-content {
		width: 100vw;
	}
}


/* =======================================================
   MODAL PANIER - LISTE PRODUITS
======================================================= */

.modal-panier .cart-product-cell {
	border-top: 0 !important;
	padding: 0 1.8rem 2rem !important;
}

.modal-panier .cart-product {
	display: grid;
	grid-template-columns: 8rem 1fr 5.5rem;
	gap: 1.5rem;
	align-items: start;
}

.modal-panier .cart-product-image-box {
	width: 8rem;
	aspect-ratio: 1 / 1;
	background: #f8f8f8;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.modal-panier .cart-product-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.modal-panier .cart-product-title {
	display: block;
	color: #1f1f1f;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	text-decoration: none;
}

.modal-panier .cart-product-subtitle {
	margin-top: .35rem;
	color: #4f4f4f;
	font-size: 1.05rem;
	font-weight: 700;
}

.modal-panier .cart-product-prices {
	margin-top: .25rem;
	font-size: 1.1rem;
}

.modal-panier .cart-product-old-price {
	color: #555;
	text-decoration: line-through;
	margin-right: .4rem;
}

.modal-panier .cart-product-price {
	color: #1f1f1f;
}

.modal-panier .cart-product-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 3.5rem;
}

.modal-panier .cart-product-qty {
	min-width: 4.5rem;
	height: 2.4rem;
	border: 1px solid #cfcfcf;
	background-color: #fff;
	color: #1f1f1f;
	padding: 0 .7rem;
	font-size: 1rem;
	cursor: pointer;
}

.modal-panier .cart-product-remove {
	color: #1f1f1f;
	font-size: 1.05rem;
	text-decoration: underline;
	text-underline-offset: .25rem;
}

@media (max-width: 48rem) {
	.modal-panier .cart-product-cell {
		padding: 0 1rem 1.5rem !important;
	}

	.modal-panier .cart-product {
		grid-template-columns: 5rem 1fr 4.2rem;
		gap: .9rem;
	}

	.modal-panier .cart-product-image-box {
		width: 5rem;
	}

	.modal-panier .cart-product-title {
		font-size: 1rem;
	}

	.modal-panier .cart-product-subtitle,
	.modal-panier .cart-product-prices {
		font-size: .9rem;
	}

	.modal-panier .cart-product-qty {
		min-width: 3.8rem;
		height: 2rem;
		padding: 0 .45rem;
		font-size: .9rem;
	}

	.modal-panier .cart-product-actions {
		gap: 2.2rem;
	}

	.modal-panier .cart-product-remove {
		font-size: .9rem;
	}
}


/* =======================================================
   MODAL PANIER - LIVRAISON
======================================================= */

.modal-panier .cart-delivery-summary {
	padding: 1.6rem 2.2rem;
	border-top: 1px solid #e5e5e5;
	background: #fafafa;
}

.modal-panier .cart-delivery-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1rem;
	color: #1f1f1f;
}

.modal-panier .cart-delivery-head strong {
	font-size: 1.8rem;
	font-weight: 800;
	line-height: 1.15;
}

.modal-panier .cart-delivery-head span {
	white-space: nowrap;
	font-size: 1.45rem;
	color: #1f1f1f;
}

.modal-panier .cart-delivery-bar {
	height: .8rem;
	margin: 0 0 1.1rem;
	background: #d6d6d6;
}

.modal-panier .cart-delivery-bar span {
	display: block;
	height: 100%;
	background: #171c18;
}

.modal-panier .cart-delivery-message {
	margin: 0 0 1rem;
	color: #555;
	font-size: 1.15rem;
	line-height: 1.35;
}

.modal-panier .cart-delivery-details {
	margin-top: .5rem;
}

.modal-panier .cart-delivery-details summary {
	cursor: pointer;
	color: #1f1f1f;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .2rem;
	list-style: none;
}

.modal-panier .cart-delivery-details summary::-webkit-details-marker {
	display: none;
}

.modal-panier .cart-delivery-details summary:after {
	content: "+";
	margin-left: .5rem;
	font-weight: 800;
}

.modal-panier .cart-delivery-details[open] summary:after {
	content: "-";
}

.modal-panier .cart-delivery-options {
	display: grid;
	gap: .35rem;
	margin-top: 1rem;
}

.modal-panier .cart-delivery-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: .6rem 0;
	border-bottom: 1px solid #e5e5e5;
	color: #555;
}

.modal-panier .cart-delivery-option:last-child {
	border-bottom: 0;
}

.modal-panier .cart-delivery-option strong {
	display: block;
	color: #1f1f1f;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
}

.modal-panier .cart-delivery-option small {
	display: block;
	margin-top: .1rem;
	color: #777;
	font-size: .9rem;
	line-height: 1.25;
}

.modal-panier .cart-delivery-option > span {
	text-align: right;
	font-size: 1rem;
	font-weight: 800;
	white-space: nowrap;
	color: #1f1f1f;
}

.modal-panier .cart-delivery-ok {
	color: #171c18 !important;
}

.modal-panier .cart-delivery-info {
	color: #00a4b8 !important;
}

@media (max-width: 48rem) {
	.modal-panier .cart-delivery-summary {
		padding: 1.3rem 1.2rem;
	}

	.modal-panier .cart-delivery-head strong {
		font-size: 1.35rem;
	}

	.modal-panier .cart-delivery-head span {
		font-size: 1.05rem;
	}

	.modal-panier .cart-delivery-message {
		font-size: .95rem;
	}

	.modal-panier .cart-delivery-details summary {
		font-size: .95rem;
	}

	.modal-panier .cart-delivery-option strong {
		font-size: .95rem;
	}

	.modal-panier .cart-delivery-option small,
	.modal-panier .cart-delivery-option > span {
		font-size: .85rem;
	}
}


/* =======================================================
   MODAL PANIER - BOUTON CONFIRMER
======================================================= */

.modal-panier .cart-modal-footer {
	padding: 1.6rem 2.2rem 1.2rem;
	background: #fff;
}

.modal-panier .cart-modal-button {
	display: block;
	width: 100%;
	padding: 1.35rem 1rem;
	background: #171c18;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 1.25rem;
	font-weight: 600;
	border: 0;
}

.modal-panier .cart-modal-button:hover,
.modal-panier .cart-modal-button:focus {
	background: #000;
	color: #fff !important;
	text-decoration: none;
}

.modal-panier .cart-modal-footer-note {
	margin-top: 1rem;
	text-align: center;
	color: #555;
	font-size: 1rem;
}

@media (max-width: 48rem) {
	.modal-panier .cart-modal-footer {
		padding: 1.2rem;
	}

	.modal-panier .cart-modal-button {
		font-size: 1.05rem;
		padding: 1.15rem 1rem;
	}

	.modal-panier .cart-modal-footer-note {
		font-size: .9rem;
	}
}

.cart-delivery-country {
	margin: -.4rem 0 1rem;
	color: #888;
	font-size: .95rem;
	line-height: 1.3;
}

.sfg-panier-modal .modal-dialog {
    width: min(540px, 100vw);
    max-width: 540px;
    height: 100%;
    min-height: 100%;
    margin: 0 0 0 auto;
}

.sfg-panier-modal .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.sfg-panier-modal .modal-header {
    flex: 0 0 auto;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.sfg-panier-modal .modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.sfg-panier-modal .close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin: -8px -8px -8px 8px;
    padding: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 38px;
}

.sfg-panier-modal .cart-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
}

.sfg-panier-modal .cart-product-list {
    display: flex;
    flex-direction: column;
}

.sfg-panier-modal .cart-product-row {
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

.sfg-panier-modal .cart-product {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.sfg-panier-modal .cart-product-image-box {
    display: block;
    width: 88px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #f8f8f8;
}

.sfg-panier-modal .cart-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sfg-panier-modal .cart-product-info {
    min-width: 0;
}

.sfg-panier-modal .cart-product-title {
    display: -webkit-box;
    overflow: hidden;
    color: #1f2328;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sfg-panier-modal .cart-product-subtitle {
    margin-top: 5px;
    color: #747474;
    font-size: 12px;
    line-height: 1.35;
}

.sfg-panier-modal .cart-product-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.sfg-panier-modal .cart-status-success { background: #eaf7ef; color: #18794e; }
.sfg-panier-modal .cart-status-info { background: #edf4ff; color: #245ea8; }
.sfg-panier-modal .cart-status-warning { background: #fff5d8; color: #8a6515; }
.sfg-panier-modal .cart-status-danger { background: #fdecec; color: #b42318; }

.sfg-panier-modal .cart-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 10px;
}

.sfg-panier-modal .cart-product-old-price {
    color: #8a8a8a;
    font-size: 12px;
    text-decoration: line-through;
}

.sfg-panier-modal .cart-product-price {
    color: #16191d;
    font-size: 16px;
    font-weight: 800;
}

.sfg-panier-modal .cart-product-line-total {
    color: #707070;
    font-size: 12px;
}

.sfg-panier-modal .cart-deposit-box {
    margin-top: 10px;
    padding: 10px 11px;
    border: 1px solid #d9cff8;
    border-radius: 9px;
    background: #f7f3ff;
    color: #4c3c78;
    font-size: 12px;
    line-height: 1.45;
}

.sfg-panier-modal .cart-deposit-box strong {
    color: #2c204f;
}

.sfg-panier-modal .cart-product-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.sfg-panier-modal .cart-product-qty {
    min-width: 72px;
    min-height: 42px;
    padding: 7px 30px 7px 10px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    color: #202124;
    font-size: 15px;
    font-weight: 700;
}

.sfg-panier-modal .cart-product-qty-static {
    min-width: 72px;
    padding: 9px 10px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #f6f6f6;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.sfg-panier-modal .cart-product-remove {
    color: #666;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
}

.sfg-panier-modal .cart-modal-bottom {
    flex: 0 0 auto;
    overflow-y: auto;
    max-height: 46dvh;
    border-top: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.06);
}

.sfg-panier-modal .cart-delivery-summary {
    padding: 15px 20px 10px;
}

.sfg-panier-modal .cart-delivery-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.sfg-panier-modal .cart-delivery-head strong {
    color: #202124;
    font-size: 14px;
}

.sfg-panier-modal .cart-delivery-head span {
    flex: 0 0 auto;
    color: #555;
    font-size: 12px;
    font-weight: 700;
}

.sfg-panier-modal .cart-delivery-bar {
    height: 8px;
    margin-top: 11px;
    overflow: hidden;
    border-radius: 999px;
    background: #ececec;
}

.sfg-panier-modal .cart-delivery-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #20252a;
}

.sfg-panier-modal .cart-delivery-message,
.sfg-panier-modal .cart-delivery-country {
    margin: 9px 0 0;
    color: #686868;
    font-size: 12px;
    line-height: 1.45;
}

.sfg-panier-modal .cart-delivery-details {
    margin-top: 10px;
}

.sfg-panier-modal .cart-delivery-details summary {
    cursor: pointer;
    color: #292929;
    font-size: 12px;
    font-weight: 750;
}

.sfg-panier-modal .cart-delivery-options {
    margin-top: 10px;
    border-top: 1px solid #ededed;
}

.sfg-panier-modal .cart-delivery-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
    font-size: 12px;
}

.sfg-panier-modal .cart-delivery-option > div {
    min-width: 0;
}

.sfg-panier-modal .cart-delivery-option strong,
.sfg-panier-modal .cart-delivery-option small {
    display: block;
}

.sfg-panier-modal .cart-delivery-option small {
    margin-top: 2px;
    color: #777;
}

.sfg-panier-modal .cart-delivery-option > span {
    flex: 0 0 auto;
    text-align: right;
    font-weight: 700;
}

.sfg-panier-modal .cart-delivery-ok {
    color: #18794e;
}

.sfg-panier-modal .cart-modal-footer {
    padding: 10px 20px calc(14px + env(safe-area-inset-bottom));
}

.sfg-panier-modal .cart-modal-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #20252a;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.sfg-panier-modal .cart-modal-button:hover,
.sfg-panier-modal .cart-modal-button:focus {
    background: #111;
    color: #fff;
    text-decoration: none;
}

.sfg-panier-modal .cart-modal-button.is-disabled {
    pointer-events: none;
    opacity: .5;
}

.sfg-panier-modal .cart-modal-footer-note {
    margin-top: 7px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.sfg-panier-modal .cart-empty-state {
    padding: 50px 20px;
    text-align: center;
}

.sfg-panier-modal .cart-empty-state i {
    display: block;
    margin-bottom: 15px;
    color: #b5b5b5;
    font-size: 38px;
}

.sfg-panier-modal .cart-line-updating {
    pointer-events: none;
    opacity: .55;
}

@media (max-width: 575.98px) {
    .sfg-panier-modal .modal-dialog {
        width: 100vw;
        max-width: none;
        margin: 0;
    }

    .sfg-panier-modal .modal-header {
        padding: 14px 15px;
    }

    .sfg-panier-modal .modal-title {
        font-size: 19px;
    }

    .sfg-panier-modal .cart-modal-scroll {
        padding: 0 15px;
    }

    .sfg-panier-modal .cart-product-row {
        padding: 16px 0;
    }

    .sfg-panier-modal .cart-product {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .sfg-panier-modal .cart-product-image-box {
        width: 76px;
    }

    .sfg-panier-modal .cart-product-title {
        font-size: 15px;
        -webkit-line-clamp: 4;
    }

    .sfg-panier-modal .cart-product-subtitle,
    .sfg-panier-modal .cart-product-status,
    .sfg-panier-modal .cart-product-line-total,
    .sfg-panier-modal .cart-deposit-box {
        font-size: 12px;
    }

    .sfg-panier-modal .cart-product-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 88px;
    }

    .sfg-panier-modal .cart-product-qty,
    .sfg-panier-modal .cart-product-qty-static {
        min-width: 92px;
        min-height: 44px;
        font-size: 15px;
    }

    .sfg-panier-modal .cart-product-remove {
        padding: 10px 0;
        font-size: 13px;
    }

    .sfg-panier-modal .cart-modal-bottom {
        max-height: 48dvh;
    }

    .sfg-panier-modal .cart-delivery-summary {
        padding: 14px 15px 9px;
    }

    .sfg-panier-modal .cart-modal-footer {
        padding: 9px 15px calc(12px + env(safe-area-inset-bottom));
    }

    .sfg-panier-modal .cart-modal-button {
        min-height: 54px;
        font-size: 16px;
    }
}

/* =======================================================
   MODAL PANIER — CORRECTION STRUCTURE ET MOBILE FIRST
======================================================= */

.sfg-panier-modal,
.sfg-panier-modal * {
	box-sizing: border-box;
}

.sfg-panier-modal {
	position: fixed !important;
	inset: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.sfg-panier-modal .modal-dialog {
	position: fixed !important;
	top: 0 !important;
	right: 0;
	bottom: 0 !important;
	left: auto !important;

	width: min(560px, 100%) !important;
	max-width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;

	margin: 0 !important;

	-webkit-transform: none !important;
	transform: none !important;

	transition: right 0.25s ease-out !important;
}

.sfg-panier-modal.modal.right.fade .modal-dialog {
	right: -100% !important;
}

.sfg-panier-modal.modal.right.fade.show .modal-dialog {
	right: 0 !important;
}

.sfg-panier-modal .modal-content {
	width: 100% !important;
	max-width: 100% !important;

	height: 100vh;
	height: 100dvh;

	max-height: 100vh;
	max-height: 100dvh;

	overflow: hidden !important;
}

.sfg-panier-modal .modal-header {
	min-height: 68px;
	padding: 14px 16px;
}

.sfg-panier-modal .modal-title {
	font-size: 21px;
	font-weight: 800;
}

.sfg-panier-modal .close {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;
	min-width: 46px;

	margin: 0;
	padding: 0;

	font-size: 32px;
	line-height: 1;
}

.sfg-panier-modal .cart-modal-scroll {
	padding: 0 12px;
}

/*
 * Un produit devient une carte.
 * La structure par défaut est maintenant mobile.
 */
.sfg-panier-modal .cart-product-row {
	margin: 12px 0;
	padding: 14px;

	border: 1px solid #e4e4e4;
	border-radius: 14px;

	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.sfg-panier-modal .cart-product {
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr) !important;
	gap: 12px !important;
	align-items: start;
	width: 100%;
	min-width: 0;
}

.sfg-panier-modal .cart-product-image-box {
	grid-column: 1;
	grid-row: 1 / span 2;

	width: 72px;
	height: 72px;

	border-radius: 10px;
}

.sfg-panier-modal .cart-product-info {
	grid-column: 2;
	grid-row: 1;

	width: 100%;
	min-width: 0;
}

.sfg-panier-modal .cart-product-title {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;

	-webkit-line-clamp: 4;
}

.sfg-panier-modal .cart-product-subtitle {
	margin-top: 5px;

	font-size: 13px;
	line-height: 1.4;
}

.sfg-panier-modal .cart-product-status {
	display: flex;
	width: fit-content;
	max-width: 100%;

	margin-top: 8px;
	padding: 6px 9px;

	white-space: normal;

	font-size: 12px;
	line-height: 1.35;
}

.sfg-panier-modal .cart-product-prices {
	margin-top: 9px;
	gap: 6px;
}

.sfg-panier-modal .cart-product-price {
	font-size: 16px;
}

.sfg-panier-modal .cart-product-old-price,
.sfg-panier-modal .cart-product-line-total {
	font-size: 12px;
}

/*
 * Actions sous les informations,
 * et non plus complètement à droite.
 */
.sfg-panier-modal .cart-product-actions {
	grid-column: 2 !important;
	grid-row: 2;

	display: flex !important;
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: flex-start !important;

	width: 100%;
	margin-top: 12px;
	padding-left: 0 !important;

	gap: 9px !important;
}

.sfg-panier-modal .cart-quantity-control {
	display: flex;
	flex-direction: column;
	gap: 4px;

	margin: 0;
}

.sfg-panier-modal .cart-quantity-label {
	color: #686868;
	font-size: 11px;
	font-weight: 700;
}

.sfg-panier-modal .cart-product-qty,
.sfg-panier-modal .cart-product-qty-static {
	width: 96px !important;
	min-width: 96px !important;
	height: 48px !important;
	min-height: 48px !important;

	padding-top: 8px;
	padding-bottom: 8px;

	border-radius: 10px;

	font-size: 16px !important;
}

/*
 * Vrai bouton tactile.
 */
.sfg-panier-modal .cart-product-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	min-width: 104px;
	min-height: 48px;

	margin: 0;
	padding: 0 14px;

	border: 1px solid #dedede;
	border-radius: 10px;

	background: #f7f7f7;
	color: #3e3e3e;

	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;

	text-decoration: none;

	cursor: pointer;
	touch-action: manipulation;
}

.sfg-panier-modal .cart-product-remove:hover,
.sfg-panier-modal .cart-product-remove:focus {
	border-color: #cfcfcf;
	background: #efefef;
	color: #111;
	text-decoration: none;
}

/* Acompte plus aéré */

.sfg-panier-modal .cart-deposit-box {
	margin-top: 11px;
	padding: 4px 11px;

	font-size: 13px;
	line-height: 1.4;
}

.sfg-panier-modal .cart-deposit-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;

	padding: 9px 0;
}

.sfg-panier-modal .cart-deposit-row + .cart-deposit-row {
	border-top: 1px solid rgba(76, 60, 120, 0.15);
}

.sfg-panier-modal .cart-deposit-row span {
	flex: 1 1 auto;
	min-width: 0;
}

.sfg-panier-modal .cart-deposit-row strong {
	flex: 0 0 auto;

	white-space: nowrap;
	text-align: right;
	font-size: 14px;
}

/* Bas du modal */

.sfg-panier-modal .cart-modal-bottom {
	max-height: 44dvh;
	overflow-x: hidden;
	overflow-y: auto;
}

.sfg-panier-modal .cart-delivery-summary {
	padding: 15px 16px 10px;
}

.sfg-panier-modal .cart-delivery-head {
	gap: 10px;
}

.sfg-panier-modal .cart-delivery-head strong {
	font-size: 15px;
	line-height: 1.35;
}

.sfg-panier-modal .cart-delivery-head span {
	font-size: 12px;
}

.sfg-panier-modal .cart-delivery-message,
.sfg-panier-modal .cart-delivery-country {
	font-size: 13px;
	line-height: 1.45;
}

.sfg-panier-modal .cart-delivery-details summary {
	min-height: 42px;

	display: flex;
	align-items: center;

	font-size: 13px;
}

.sfg-panier-modal .cart-modal-footer {
	padding:
		10px
		16px
		calc(13px + env(safe-area-inset-bottom));
}

.sfg-panier-modal .cart-modal-button {
	min-height: 56px;

	border-radius: 11px;

	font-size: 16px;
	letter-spacing: 0.03em;
}

/*
 * À partir d'une tablette, on peut remettre les actions
 * dans une troisième colonne.
 */
@media (min-width: 576px) {

	.sfg-panier-modal .cart-product-row {
		margin: 0;
		padding: 18px 0;

		border: 0;
		border-bottom: 1px solid #ececec;
		border-radius: 0;

		box-shadow: none;
	}

	.sfg-panier-modal .cart-product {
		grid-template-columns:
			88px
			minmax(0, 1fr)
			112px !important;

		gap: 14px !important;
	}

	.sfg-panier-modal .cart-product-image-box {
		grid-column: 1;
		grid-row: 1;

		width: 88px;
		height: 88px;
	}

	.sfg-panier-modal .cart-product-info {
		grid-column: 2;
		grid-row: 1;
	}

	.sfg-panier-modal .cart-product-actions {
		grid-column: 3 !important;
		grid-row: 1;

		flex-direction: column !important;
		align-items: flex-end !important;

		margin-top: 0;
	}
}

@media (max-width: 575.98px) {

	.sfg-panier-modal .modal-dialog {
		right: 0;
		left: 0 !important;

		width: 100% !important;
		max-width: 100% !important;
	}

	.sfg-panier-modal.modal.right.fade .modal-dialog {
		right: -100% !important;
		left: auto !important;
	}

	.sfg-panier-modal.modal.right.fade.show .modal-dialog {
		right: 0 !important;
		left: 0 !important;
	}
}

/* Désactive le mini-popup panier du thème */
.minipopup-area {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.minipopup-area,
.minipopup-area .minipopup-box {
	display: none !important;
}