/*
Theme Name: PATISSERIE PRIVÉE
Theme URI: https://www.ajans.fr
Template: uncode
Author: AJANS
Author URI: https://www.ajans.fr
Version: 1
*/

.pp_bg-white {
	background-color: #FFFFFF;
	padding:1rem;
	min-height: 121px;
}

.quote-decoration {
	background: url("https://pp-anne.dev.ajans.fr/wp-content/uploads/2025/05/quote.png") no-repeat top left;
	background-size: auto 98px;
}

/* Yith Gift Cards */
.postid-161 div.product .price-container,
.postid-161 .gift-cards-list + h3 {
	display:none;
}
.postid-161 .gift-cards_form>h3 {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}
.postid-161 .gift-cards_form h3 {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 600;
}
.postid-161 .gift-cards-list h3 {
	margin-bottom: 1rem;
		margin-top: 1rem;
}
.gift-card-content-editor.step-content h5 {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	font-size: 20px;
}
.postid-161 .ywgc-form-preview-from {
	padding-bottom:0.5rem;
}
.postid-161 .gift-card-content-editor.step-content {
	margin-top:20px;
}

.postid-161 .gift-cards-list .ywgc-amount-buttons,
.postid-161 .gift-cards-list .ywgc-amount-buttons.ywgc-manual-amount {
	width:auto !important;
	max-width:100% !important;
}
.postid-161 .ywgc-manual-amount {
	margin-top:0;
}
.postid-161 .gift-cards_form .gift-card-content-editor.step-content input,
.postid-161 .gift-cards_form .gift-card-content-editor.step-content textarea,
.postid-161 .gift-cards_form .gift_card_template_button {
	margin-top:0rem;
	margin-bottom:1rem;
}

/* Bouton ajout panier : pleine largeur, plus gros, accent */
.postid-161 .gift_card_template_button .gift_card_add_to_cart_button {
	width: 100%;
	padding: 18px 24px;
	font-size: 17px;
	font-weight: 600;
	font-family: 'Outfit', sans-serif;
	letter-spacing: 0.3px;
	background-color: #D4A24B !important;
	color: #fff !important;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s;
}
.postid-161 .gift_card_template_button .gift_card_add_to_cart_button:hover {
	background-color: #C4922E !important;
}

/* Sécurité : masquer aussi la quantité en CSS (ceinture + bretelles) */
.gift_card_template_button .quantity {
	display: none !important;
}

/* Event Prime General styles */
.emagic .ep-btn {
	text-transform: none !important;
	font-family: Outfit !important;
}

/* Éléments masqués */
/* Description dans la card */
.ep-event-list-square_grid-container .ep-event-card .ep-box-card-desc {
	display:none;
}

/* Event Prime Card Item */
.emagic .ep-events .ep-box-card-item .ep-btn .ep-text-small {
	font-weight: 700!important;
}
.emagic .ep-events .ep-box-card-item .ep-btn .material-icons-outlined {
	margin-top: -3px;
}
.emagic .ep-events .ep-box-card-item .ep-btn .ep-text-small em {
	font-style:normal !important;
}

/* Event Prime Single Tplt */

/* Handle image */
.single-em_event #ep_single_event_image {
	padding-left: 0;
	padding-right: 0;
	width:100%;
}
.single-em_event #venue_hidden_details {
	display:none;
}
@media screen and (min-width: 920px) {
	.single-em_event #ep_single_event_image .ep-single-event-slide-container {
		height:400px;
		overflow: hidden;
		box-shadow: 0px 20px 60px -30px rgba(0, 0, 0, 0.45);
		width:100% !important;
	}
	.single-em_event #ep_single_event_image img {
		width:100% !important;
	}
}

/* Sidebar */

.single-em_event .ep-buy-ticket-section > div:first-child > span {
	font-family: Outfit !important;
	font-weight: bold;
	line-height: 1.2;
}

/* Tous les boutons Gravity Forms en noir */
body .gform_wrapper .gform_footer input[type=submit],
body .gform_wrapper .gform_page_footer input[type=button] {
	padding: 14px 23px !important;
  border-radius: 0 !important;
  background: #000000 !important;
  color: #fff !important;
  border: 1px solid #000000 !important;
  cursor: pointer;
}
body .gform_wrapper .gform_footer input[type=submit]:hover,
body .gform_wrapper .gform_page_footer input[type=button]:hover {
  background: #FFFFFF !important;
  color: #000000 !important;
}

/* Souligner tous les liens dans la page hors header et menu */
.page-body a:not(.btn):not(.button),
.page-body a:not(.btn):not(.custom-link)
{
  text-decoration: underline !important;
}

/* Suppression marge p section réassurance */
.pp_reinsurance .text-top-reduced {
	margin-top:0;
}
.pp_reinsurance .icon-box .btn-outline,
.pp_custom-icon-box.icon-box .btn-outline {
	background-color: rgba(212,162,75,.1) !important;
	border-color: rgba(212,162,75,.1) !important;
}
.pp_reinsurance .icon-box-left .icon-box-heading {
	margin-bottom: 0px !important;
}

/* Nombre counter dans un cercle */
.pp_circle-number .badge-style {
	border-radius:100%;
	min-width:60px;
}

/* Change border-color on hover card with link */
.pp_linked-card .uncell {
	border-color:#D4A24B;
}
.pp_linked-card .badge-style {
	border-radius:50px;
	padding-left:1rem;
	padding-right:1rem;
}
/* Reduce h padding in accordion */
.pp_acc-reduced-h-padding .panel-group > .panel.single-block-padding {
	padding-top:1rem;
	padding-bottom:1rem;
}

/* ── Carte cadeau : liste étapes numérotées ── */
.pp_custom-ol ol {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
  margin: 0;
}

.pp_custom-ol ol li {
	position: relative;
	counter-increment: step;
	padding:0.2rem 0 1.5rem 56px;
}

.pp_custom-ol ol li::before {
	position: absolute;
	top:0;
	left:0;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 162, 75, 0.12);
  color: #D4A24B;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  grid-row: 1;
  grid-column: 1;
}

.pp_btn-custom-outline.btn-accent.btn-outline {
	background-color: #FFFFFF !important;
}

.icon-box-left.icon-box-space-reduced p {
	margin-top: 0 !important;
}

/* Le flex doit être sur le <form> lui-même */
#gform_2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

#gform_2 .gform-body {
  flex: 1 1 0;
  min-width: 0;
}

#gform_2 .gform_fields {
  display: flex;
  gap: 12px;
}

#gform_2 .gfield--width-half {
  flex: 1 1 0;
  min-width: 150px;
}

#gform_2 .gform-footer {
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
}

/* Masquer labels → placeholders à la place */
#gform_2 .gfield_label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Masquer légende champs requis */
.gform_required_legend {
  display: none;
}

/* Bouton */
#gform_2 .gform_button {
  height: var(--gf-ctrl-size, 40px);
  padding: 0 24px !important;
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
  #gform_2 { flex-direction: column; }
  #gform_2 .gform_fields { flex-direction: column; }
}