/* Ipê Dourado — Melhorias da Loja */
:root {
	--ipd-navy: #0a1d37;
	--ipd-gold: #d4a017;
	--ipd-gold-dark: #a47642;
	--ipd-cream: #fdf8ed;
	--ipd-line: #efe6d2;
}

.ipd-home, .ipd-pers { width: 100%; }
.ipd-section { max-width: 1240px; margin: 0 auto; padding: 56px 20px; }
.ipd-section__title { text-align: center; color: var(--ipd-navy); margin: 0 0 28px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ipd-section__more { text-align: center; margin: 24px 0 0; }

.ipd-btn { display: inline-block; background: var(--ipd-gold); color: #fff !important; padding: 14px 32px; border-radius: 999px; font-weight: 600; text-decoration: none !important; border: 2px solid var(--ipd-gold); transition: background .2s, color .2s; cursor: pointer; font-size: 1rem; }
.ipd-btn:hover { background: var(--ipd-gold-dark); border-color: var(--ipd-gold-dark); }
.ipd-btn--ghost { background: transparent; color: var(--ipd-navy) !important; border-color: var(--ipd-navy); }
.ipd-btn--ghost:hover { background: var(--ipd-navy); color: #fff !important; border-color: var(--ipd-navy); }
.ipd-btn--wa { background: #25d366; border-color: #25d366; }
.ipd-btn--wa:hover { background: #1da851; border-color: #1da851; }

/* Banner */
.ipd-hero { background: linear-gradient(135deg, var(--ipd-cream) 0%, #f5e6c4 100%); background-size: cover; background-position: center; position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; }
.ipd-hero--img::before { content: ""; position: absolute; inset: 0; background: rgba(10, 29, 55, .45); }
.ipd-hero__inner { position: relative; max-width: 760px; padding: 64px 24px; }
.ipd-hero__title { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; color: var(--ipd-navy); margin: 0 0 16px; }
.ipd-hero__text { font-size: 1.15rem; color: var(--ipd-navy); margin: 0 0 28px; }
.ipd-hero--img .ipd-hero__title, .ipd-hero--img .ipd-hero__text { color: #fff; }

/* Faixa de entrega */
.ipd-delivery { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ipd-navy); color: #fff; padding: 12px 16px; font-weight: 600; font-size: .95rem; }
.summary .ipd-delivery, .entry-summary .ipd-delivery { justify-content: flex-start; background: var(--ipd-cream); color: var(--ipd-navy); border: 1px solid var(--ipd-line); border-radius: 8px; margin: 16px 0; }

/* Peso em destaque */
.ipd-weight { display: inline-flex; align-items: center; gap: 10px; background: var(--ipd-cream); border: 1px solid var(--ipd-gold); border-radius: 999px; padding: 6px 16px; margin: 4px 0 16px; color: var(--ipd-navy); }
.ipd-weight span { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.ipd-weight strong { font-size: 1.15rem; }

/* Kits */
.ipd-kits { background: var(--ipd-cream); max-width: none; }
.ipd-kits > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.ipd-kits__head { text-align: center; margin-bottom: 24px; }
.ipd-kits__head .ipd-section__title { margin-bottom: 8px; }

/* Vídeos */
.ipd-videos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ipd-video { border-radius: 12px; overflow: hidden; background: #000; }
.ipd-video iframe, .ipd-video video { width: 100%; display: block; aspect-ratio: 9 / 16; max-height: 560px; height: auto; border: 0; object-fit: cover; }
.ipd-video .wp-embedded-content, .ipd-video blockquote { background: #fff; }

/* Depoimentos */
.ipd-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.ipd-testimonial { margin: 0; background: #fff; border: 1px solid var(--ipd-line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 18px rgba(10, 29, 55, .05); }
.ipd-testimonial blockquote { margin: 0; padding: 0; border: 0; font-style: italic; color: #333; font-size: 1rem; }
.ipd-testimonial figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.ipd-testimonial figcaption img { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }
.ipd-testimonial figcaption small { display: block; color: #777; }
.ipd-stars { color: var(--ipd-gold); letter-spacing: 2px; font-size: 1.1rem; }
.ipd-stars__off { color: #ddd; }
.single-product .ipd-testimonials, .single-product .ipd-videos { padding-left: 0; padding-right: 0; clear: both; }

/* Sabonetes personalizados */
.ipd-pers__lead { text-align: center; max-width: 720px; margin: 0 auto 28px; font-size: 1.1rem; }
.ipd-pers__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ipd-pers__gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 10px; display: block; }
.ipd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: none; }
.ipd-step { background: var(--ipd-cream); border-radius: 12px; padding: 28px 24px; text-align: center; }
.ipd-step__n { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--ipd-gold); color: #fff; font-weight: 700; font-size: 1.3rem; align-items: center; justify-content: center; margin-bottom: 12px; }
.ipd-step p { margin: 0; }
.ipd-pers__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 28px; }
.ipd-pers__info div { border: 1px solid var(--ipd-gold); border-radius: 12px; padding: 16px 28px; text-align: center; }
.ipd-pers__info span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #666; }
.ipd-pers__info strong { font-size: 1.25rem; color: var(--ipd-navy); }

.ipd-form { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ipd-form__row { margin: 0 0 16px; }
.ipd-form__row--textarea, .ipd-form__privacy, .ipd-form > p:last-child { grid-column: 1 / -1; }
.ipd-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ipd-navy); }
.ipd-form input, .ipd-form textarea { width: 100%; border: 1px solid #d8d2c4; border-radius: 8px; padding: 10px 12px; }
.ipd-hp { position: absolute !important; left: -9999px !important; }
.ipd-notice { max-width: 720px; margin: 0 auto 24px; padding: 16px 20px; border-radius: 10px; }
.ipd-notice--ok { background: #eef8ee; border: 1px solid #9bd19b; }
.ipd-notice--err { background: #fdeeee; border: 1px solid #e3a0a0; }

/* Barra de políticas no rodapé não é necessária: links vão na lista «Contato» do rodapé Elementor. */

@media (max-width: 640px) {
	.ipd-section { padding: 40px 16px; }
	.ipd-hero { min-height: 360px; }
	.ipd-form { grid-template-columns: 1fr; }
}
