/* Listes de cadeaux : espace client, fiche produit, page publique. Charte Poupette. */

/* Icône cadeau dans le menu Mon compte : même positionnement absolu que les
   icônes du thème (li en position relative, icône ancrée à gauche, centrée). */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--mes-listes svg {
	display: none !important;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--mes-listes::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 43px;
	height: 33px;
	margin-top: -17px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23305f72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4'/%3E%3Cpath d='M5 12v8h14v-8'/%3E%3Cpath d='M12 8v12'/%3E%3Cpath d='M12 8c-1.5 0-4-.5-4-2.5S10.5 3 12 8z'/%3E%3Cpath d='M12 8c1.5 0 4-.5 4-2.5S13.5 3 12 8z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 1024px) {
	.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--mes-listes::before {
		width: 34px;
		height: 26px;
		margin-top: -13px;
	}
}

/* Pastille "nouveaux cadeaux" */
.pc-pastille {
	display: inline-block;
	min-width: 18px;
	padding: 1px 6px;
	border-radius: 10px;
	background: #dd6688;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	line-height: 1.5;
}

/* ── Mon compte ─────────────────────────────────────────────────────────── */

.pc-listes .pc-listes__table {
	width: 100%;
	border-collapse: collapse;
	margin: 12px 0 24px;
}

.pc-listes .pc-listes__table th,
.pc-listes .pc-listes__table td {
	padding: 8px 10px;
	border-bottom: 1px solid #e6ecef;
	text-align: left;
	vertical-align: middle;
}

.pc-listes .pc-listes__vignette img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
}

.pc-listes .pc-listes__ligne--complet td {
	opacity: .55;
}

.pc-listes .pc-listes__partage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	border: 2px solid #dd6688;
	border-radius: 12px;
	padding: 12px 16px;
	margin: 12px 0 20px;
}

.pc-listes .pc-listes__partage input {
	flex: 1 1 260px;
	border: 1px solid #c8c8c8;
	border-radius: 8px;
	padding: 6px 10px;
}

.pc-listes .pc-listes__adresse {
	border: 1px solid #cfe0ea;
	border-radius: 12px;
	padding: 12px 16px;
	margin: 16px 0;
}

.pc-listes .pc-listes__adresse input {
	margin: 4px 8px 4px 0;
}

.pc-listes .pc-listes__retirer {
	border: 0;
	background: none;
	color: #b32d2e;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

/* ── Fiche produit ──────────────────────────────────────────────────────── */

.pc-liste-produit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
}

.pc-liste-produit__bouton {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #dd6688;
	border-radius: 999px;
	background: #fff;
	color: #dd6688;
	padding: 8px 16px;
	font-weight: 600;
	cursor: pointer;
}

.pc-liste-produit__bouton:hover {
	background: #dd6688;
	color: #fff;
}

.pc-liste-produit__etat {
	color: #1a7f37;
	font-size: 13px;
}

.pc-liste-produit--lien a {
	color: #dd6688;
	text-decoration: underline;
}

.pc-liste-produit__present {
	flex: 1 1 100%;
	color: #1a7f37;
	font-size: 13px;
	font-weight: 600;
}

/* ── Page publique : univers jouet, rose et teal ────────────────────────── */

.pc-liste-publique {
	padding: 0 0 48px;
	color: #305f72;
}

/* En-tête festif : fond rose pâle avec confettis en dégradés radiaux, sans image */
.pc-liste-publique__entete {
	text-align: center;
	background:
		radial-gradient(circle 5px at 12% 30%, #f6c9d6 99%, transparent),
		radial-gradient(circle 4px at 28% 72%, #bcd8e4 99%, transparent),
		radial-gradient(circle 6px at 46% 22%, #f9e3b5 99%, transparent),
		radial-gradient(circle 4px at 64% 68%, #f6c9d6 99%, transparent),
		radial-gradient(circle 5px at 80% 30%, #bcd8e4 99%, transparent),
		radial-gradient(circle 4px at 92% 62%, #f9e3b5 99%, transparent),
		#fdf3f6;
	border-radius: 0 0 24px 24px;
	padding: 40px 20px 32px;
	margin-bottom: 24px;
}

.pc-liste-publique__surtitre {
	margin: 0 0 4px;
	color: #dd6688;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
}

.pc-liste-publique__entete h1 {
	margin: 0 0 8px;
	color: #305f72;
}

.pc-liste-publique__date {
	font-weight: 600;
	margin: 0;
	color: #4a7284;
}

.pc-liste-publique__message {
	max-width: 640px;
	margin: 20px auto 28px;
	border: 0;
	background: #fff;
	border-radius: 14px 14px 14px 3px;
	box-shadow: 0 4px 16px rgba(48, 95, 114, .12);
	padding: 16px 22px;
	font-style: italic;
	text-align: center;
}

.pc-liste-publique__message footer {
	margin-top: 6px;
	font-style: normal;
	font-weight: 700;
	color: #dd6688;
}

.pc-liste-publique__grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 20px;
	margin: 24px 0 40px;
}

.pc-liste-publique__carte {
	position: relative;
	border: 2px solid #f6dce4;
	border-radius: 16px;
	padding: 14px;
	text-align: center;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pc-liste-publique__carte:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(48, 95, 114, .14);
	border-color: #dd6688;
}

.pc-liste-publique__carte img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.pc-liste-publique__carte--offert {
	opacity: .6;
	background: #fdf3f6;
}

.pc-liste-publique__carte--offert:hover {
	transform: none;
	box-shadow: none;
	border-color: #f6dce4;
}

.pc-liste-publique__nom {
	font-weight: 700;
	margin: 0;
	color: #305f72;
}

.pc-liste-publique__prix {
	margin: 0;
	color: #dd6688;
	font-weight: 700;
	font-size: 17px;
}

.pc-liste-publique__compteur {
	margin: 0;
	font-size: 13px;
	color: #787c82;
}

.pc-liste-publique__badge {
	display: inline-block;
	margin-top: auto;
	align-self: center;
	padding: 6px 14px;
	border-radius: 999px;
	background: #dd6688;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
}

.pc-liste-publique__carte .pc-liste-publique__offrir {
	margin-top: auto;
	border-radius: 999px;
	background: #dd6688;
	border-color: #dd6688;
	color: #fff;
}

.pc-liste-publique__carte .pc-liste-publique__offrir:hover {
	background: #c9557a;
	border-color: #c9557a;
	color: #fff;
}

/* Comment ça marche + à propos */
.pc-liste-publique__infos {
	max-width: 900px;
	margin: 0 auto;
}

.pc-liste-publique__infos h2 {
	text-align: center;
	color: #305f72;
}

.pc-liste-publique__etapes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 20px 0 32px;
}

.pc-liste-publique__etape {
	background: #fff;
	border: 2px solid #f6dce4;
	border-radius: 16px;
	padding: 18px;
	text-align: center;
}

.pc-liste-publique__etape p {
	margin: 10px 0 0;
	font-size: 14px;
}

.pc-liste-publique__numero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #dd6688;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
}

.pc-liste-publique__apropos {
	background: #f0f6fb;
	border-radius: 16px;
	padding: 20px 26px;
	text-align: center;
}

/* ── Partage réseaux (Mon compte) ───────────────────────────────────────── */

.pc-listes__reseaux {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.pc-listes__reseaux a {
	display: inline-flex;
	color: #305f72;
}

.pc-listes__reseaux a:hover {
	color: #dd6688;
}

.pc-listes__aide {
	color: #787c82;
	font-size: 13px;
}

.pc-listes__actions form {
	display: inline-block;
	margin-right: 10px;
}

.pc-listes__lien-action {
	border: 0;
	background: none;
	color: #305f72;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

/* ── Checkout cadeau : cartouche pleine largeur, bien visible ───────────── */

.pc-checkout-cadeau {
	border: 2px solid #dd6688;
	background: #fdf3f6;
	border-radius: 16px;
	padding: 20px 24px;
	margin: 0 0 28px;
	color: #305f72;
}

.pc-checkout-cadeau h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: #dd6688;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: 18px;
}

.pc-checkout-cadeau__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px;
	margin: 0 0 14px;
}

.pc-checkout-cadeau__option {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff;
	border: 2px solid #f6dce4;
	border-radius: 12px;
	padding: 14px 18px;
	cursor: pointer;
	margin: 0;
	line-height: 1.5;
}

.pc-checkout-cadeau__option input {
	margin-top: 5px;
	flex: 0 0 auto;
}

.pc-checkout-cadeau__option strong {
	display: block;
	margin-bottom: 4px;
}

.pc-checkout-cadeau__option .pc-checkout-cadeau__aide {
	display: block;
}

.pc-checkout-cadeau__option:has(input:checked) {
	background: #fdeef3;
	border-color: #dd6688;
	box-shadow: 0 2px 10px rgba(221, 102, 136, .18);
}

.pc-checkout-cadeau .form-row {
	margin: 0 0 14px;
	line-height: 1.5;
}

.pc-checkout-cadeau textarea {
	width: 100%;
	border: 1px solid #e3c3ce;
	border-radius: 8px;
	background: #fff;
}

.pc-checkout-cadeau__aide {
	color: #787c82;
	font-size: 13px;
	font-weight: 400;
}
