/* Emballages cadeau (2.9.0) : accordéon « Demander un emballage cadeau » du panier et de la page Commande. */

.cbc-gw .cbc-gw__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.cbc-gw .cbc-gw__item {
	display: flex; align-items: center; gap: .8rem; margin: 0; padding: .6rem .7rem;
	background: #fff; border: 1px solid #ece2c9; border-radius: 10px; transition: border-color .15s ease;
}
.cbc-gw .cbc-gw__item.is-selected { border-color: #172716; }
.cbc-gw .cbc-gw__img.cbc-gw__img { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.cbc-gw .cbc-gw__img--none { display: block; background: #f5f2e5; }
.cbc-gw .cbc-gw__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.cbc-gw .cbc-gw__name { font-size: .85rem; font-weight: 600; line-height: 1.3; color: #172716; }
.cbc-gw .cbc-gw__price { font-size: .8rem; color: #6e6c60; }
.cbc-gw .cbc-gw__qty { flex: none; display: inline-flex; align-items: center; gap: .45rem; }
.cbc-gw .cbc-gw__n { min-width: 1.4em; font-size: .9rem; font-weight: 600; text-align: center; color: #172716; }

.cbc-gw button.cbc-gw__btn {
	display: grid; place-items: center; width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0;
	font: 500 1rem/1 inherit; color: #172716; background: #fff;
	border: 1px solid #e6dabd; border-radius: 50%; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.cbc-gw button.cbc-gw__btn:hover,
.cbc-gw button.cbc-gw__btn:focus-visible { color: #fff; background: #172716; border-color: #172716; }
.cbc-gw button.cbc-gw__btn:focus-visible { outline: 2px solid #a98a58; outline-offset: 2px; }
.cbc-gw button.cbc-gw__btn:disabled { opacity: .35; cursor: default; color: #172716; background: #fff; border-color: #e6dabd; }

.cbc-gw .cbc-gw__label { display: block; margin: .2rem 0 .45rem; font-size: .85rem; font-weight: 600; color: #172716; }
.cbc-gw .cbc-gw__label abbr { color: #b32d2e; text-decoration: none; border: 0; }
.cbc-gw textarea.cbc-gw__note {
	display: block; width: 100%; min-height: 78px; margin: 0; padding: .6rem .75rem;
	font: inherit; font-size: .85rem; line-height: 1.5; color: #2b2b2b; background: #fff;
	border: 1px solid #e6dabd; border-radius: 8px; box-shadow: none; resize: vertical;
}
.cbc-gw textarea.cbc-gw__note:focus { border-color: #a98a58; outline: 2px solid rgba(169, 138, 88, .35); outline-offset: 0; }
.cbc-gw .cbc-gw__msg { margin: .45rem 0 0; font-size: .78rem; color: #b32d2e; }
.cbc-gw .cbc-gw__msg:empty { display: none; }
.cbc-gw.is-loading .cbc-gw__list { opacity: .55; pointer-events: none; }

@media (max-width: 480px) {
	.cbc-gw .cbc-gw__item { gap: .6rem; padding: .55rem; }
	.cbc-gw .cbc-gw__img.cbc-gw__img { width: 40px; height: 40px; }
}
