/* Coringa Leve — página do produto. Medidas do modelo Elementor 229 (galeria JetProductGallery,
   botão de orçamento, compartilhar, descrição e relacionados com o card do listing 527). */

/* Topo: galeria + informações */
.pd { padding: 2rem 3rem 3rem; background: var(--gray); overflow: hidden; }
.pd__in { display: flex; justify-content: space-between; gap: 40px; max-width: 1300px; margin: 0 auto; }
.pd__gallery { flex: 0 1 50%; min-width: 0; padding: 24px; }
.pd__info { flex: 0 1 50%; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }

.pgal__main { position: relative; }
.pgal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__slide { flex: 0 0 100%; scroll-snap-align: start; text-align: center; }
.pgal__img, .pgal__main > img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid #e8e8e8; border-radius: 15px; }
.pgal__arrow { position: absolute; top: 50%; z-index: 2; display: flex; padding: 10px; border: 0; border-radius: 30px; background: var(--red); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.pgal__arrow--prev { left: 10px; }
.pgal__arrow--next { right: 10px; }
.pgal__arrow--next .ico { transform: scaleX(-1); }
.pgal__zoom { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.pgal__zoom[hidden] { display: none; }
.pgal:hover .pgal__zoom, .pgal__zoom:focus-visible { opacity: 1; }
@media (hover: none) { .pgal__zoom { opacity: 1; } }
.pgal__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pgal__thumb { padding: 0; overflow: hidden; background: #fff; border: 1px solid #e8e8e8; border-radius: 10px; cursor: pointer; opacity: .6; transition: opacity .2s; }
.pgal__thumb[aria-current], .pgal__thumb:hover, .pgal__thumb:focus-visible { opacity: 1; }
.pgal__thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Ampliação em tela cheia */
.lb { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 43, 92, .95); color: #fff; }
.lb::backdrop { background: rgba(0, 43, 92, .95); }
.lb__fig { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; padding: 50px 60px; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb__btn { position: absolute; z-index: 1; display: flex; padding: 10px; border: 0; border-radius: 30px; background: var(--red); color: #fff; font-size: 18px; cursor: pointer; }
.lb__close { top: 12px; right: 12px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }
.lb__next .ico { transform: scaleX(-1); }

.pd .woocommerce-breadcrumb { margin: 0 0 1em; font-size: .92em; color: #767676; }
.pd .woocommerce-breadcrumb a { color: #767676; }
.pd .woocommerce-breadcrumb a:hover { color: var(--navy); }
.pd__title { margin: 0; font: 500 1.5rem/1.3 var(--fredoka); color: var(--navy); }
.pd__sku { font: 400 15px/1.5 var(--poppins); color: #555; }
.pd .woocommerce-product-details__short-description { font: 400 16px/1.5 var(--poppins); color: var(--text); }

.pd__buy { width: 80%; padding: 10px; }
.pd form.cart { display: flex; gap: .8rem; margin: 7px 0 0; }
.pd .quantity .qty { width: 3.631em; height: 100%; min-height: 48px; padding: 0; font-size: 1.2rem; text-align: center; color: var(--navy); background: #fff; border: 1px solid var(--blue); border-radius: 30px; -moz-appearance: textfield; }
.pd .single_add_to_cart_button { flex: 1 1 auto; padding: 15px; border: 0; border-radius: 30px; background: var(--blue); font: 500 18px/1 var(--fredoka); color: #fff; cursor: pointer; transition: background .2s; }
.pd .single_add_to_cart_button:hover, .pd .single_add_to_cart_button:focus-visible { background: var(--blue-d); }
.pd .single_add_to_cart_button.loading { opacity: .7; }
.pd .added_to_cart { display: none; }
.unico { margin-top: 10px; }
.unico .whatsapp-link { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 15px; color: green; background: #e9f7ef; border: 1px solid #bcbcbc; border-radius: 30px; font: 500 14px/1.2 var(--poppins); }
.unico .whatsapp-link:hover { color: #fff; background: green; border-color: green; }

.pd__share-title { margin-top: 24px; font: 500 16px/1.4 var(--poppins); color: var(--navy); }
.share { display: flex; flex-wrap: wrap; }
.share__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 19.2px; cursor: pointer; }
.share__btn:hover, .share__btn:focus-visible { background: var(--blue-d); }

/* Descrição completa */
.pd-desc { padding: 0 0 30px; background: var(--gray); }
.pd-desc__card { max-width: 1300px; margin: 0 auto; padding: 30px; background: #fff; border: 1px solid #e8e8e8; border-radius: 15px; }
.pd-desc__title { margin: 15px 0 20px; font: 500 25px/1 var(--fredoka); text-transform: uppercase; color: var(--navy); }
.pd-desc__body { font: 400 16px/1.5 var(--poppins); color: #555; }
.pd-desc__body > :last-child, .pd-desc__body > :last-child > :last-child { margin-bottom: 0; }
.pd-desc__body img { height: auto; border-radius: 10px; }

/* Relacionados (carrossel e card da home) */
.pd-rel { padding: 40px 48px 48px; background: var(--gray); }
.pd-rel > * { max-width: 1300px; margin-left: auto; margin-right: auto; }
.stitle--rel { padding: 0 0 20px; }
.stitle--rel h2 { margin-top: 15px; text-transform: uppercase; }
.stitle--rel .zigzag { width: 30%; }
.pd-rel .carousel { margin: 0 14px; }
.pd-rel .pcard__btn .btn { font-size: 18px; }

@media (max-width: 1024px) {
	.pd { padding: 2rem; }
	.pd__title { font-size: 17px; }
	.pd-desc__title, .stitle--rel h2 { font-size: 16px; }
}

@media (max-width: 767px) {
	.pd { padding: 16px; }
	.pd__in { flex-direction: column; gap: 0; }
	.pd__gallery { padding: 0; }
	.pgal__img, .pgal__main > img { border-radius: 15px 15px 0 0; }
	.pgal__arrow { padding: 7px; font-size: 15px; }
	.pgal__thumb { border-radius: 0 0 10px 10px; }
	.lb__fig { padding: 56px 8px; }
	.pd__title { font-size: 20px; }
	.pd__buy { width: 100%; padding: 0; }
	.pd .single_add_to_cart_button { font-size: 15px; line-height: 1.2; }
	.pd__share-title { margin-top: 0; padding-top: 10px; text-align: center; }
	.share { justify-content: center; }
	.pd-desc { padding: 25px 16px; }
	.pd-desc__card { padding: 20px; }
	.pd-desc__title { margin-top: 0; font-size: 22px; }
	.pd-desc__body { font-size: 14px; }
	.pd-rel { padding: 24px; }
	.stitle--rel h2 { margin-top: 0; font-size: 22px; }
	.stitle--rel .zigzag { width: 100%; }
	.pd-rel .carousel { margin: 0 -10px; }
}
