/* =========================================================
   Loja You Heal (WooCommerce): listagem, cards, sidebar e produto
   Carregado só nas páginas da loja (includes/shop.php)
   ========================================================= */

:root {
	--yh-teal: #6eb3b3;
	--yh-teal-soft: #eef6f6;
	--yh-gold: #7a6b4f;
	--yh-ink: #2f3b3b;
	--yh-muted: #6b7676;
	--yh-line: #e6ecec;
	--yh-sale: #c2410c;
	--yh-radius: 14px;
}

/* ---------- Grade de produtos ---------- */
.woocommerce ul.products.yh-products,
ul.products.yh-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products.yh-products::before,
.woocommerce ul.products.yh-products::after { display: none; }

@media (max-width: 991px) {
	.woocommerce ul.products.yh-products,
	ul.products.yh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 575px) {
	.woocommerce ul.products.yh-products,
	ul.products.yh-products { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- Card ---------- */
.woocommerce ul.products li.product.yh-product-card,
ul.products li.yh-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 0;
	background: #fff;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
	overflow: hidden;
	box-shadow: none;
	transition: box-shadow .25s ease, transform .25s ease;
}
.woocommerce ul.products li.product.yh-product-card:hover {
	box-shadow: 0 12px 28px rgba(47, 59, 59, .10);
	transform: translateY(-2px);
}

.yh-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--yh-teal-soft);
	overflow: hidden;
}
.woocommerce ul.products li.product .yh-product-card__media img,
.yh-product-card__img {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .4s ease;
}
.yh-product-card:hover .yh-product-card__media img { transform: scale(1.04); }

.yh-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 16px 16px 18px;
}
.yh-product-card__cat {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--yh-teal);
}
.woocommerce ul.products li.product .yh-product-card__title,
.yh-product-card__title {
	margin: 0;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--yh-ink);
}
.yh-product-card__title a { color: inherit; text-decoration: none; }
.yh-product-card__title a:hover { color: var(--yh-gold); }

.yh-product-card__rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--yh-muted); }
.yh-product-card__rating .star-rating { margin: 0 !important; font-size: .8rem; color: var(--yh-gold); }

.woocommerce ul.products li.product .yh-product-card__price,
.yh-product-card__price {
	margin-top: 2px;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--yh-ink);
}
.yh-product-card__price del,
.yh-product__price del {
	margin-right: 6px;
	font-size: .8em;
	font-weight: 500;
	color: var(--yh-muted);
	opacity: 1;
}
.yh-product-card__price ins,
.yh-product__price ins { text-decoration: none; background: none; }

.yh-product-card__actions { margin-top: auto; padding-top: 12px; }
.woocommerce ul.products li.product .yh-product-card__btn,
.yh-product-card__btn {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 11px 14px;
	border-radius: 999px;
	font-size: .9rem;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
}
.yh-product-card__btn.loading { opacity: .7; pointer-events: none; }
.yh-product-card__btn.added::after { content: "\F26E"; font-family: "bootstrap-icons"; }
/* Link "Ver carrinho" que o WooCommerce insere depois de adicionar */
.yh-product-card .added_to_cart {
	display: block;
	margin-top: 8px;
	font-size: .85rem;
	font-weight: 700;
	text-align: center;
	color: var(--yh-teal);
}

/* ---------- Selos ---------- */
.yh-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 800;
	line-height: 1.4;
	color: #fff;
	background: var(--yh-sale);
}
.yh-badge--out { left: auto; right: 12px; background: var(--yh-ink); }
.yh-badge--inline { position: static; display: inline-block; margin-left: 8px; vertical-align: middle; font-size: .8rem; }

/* ---------- Listagem: título, barra e vazio ---------- */
.yh-shop__heading { margin: 0 0 6px; font-size: 1.6rem; font-weight: 800; color: var(--yh-ink); }
.yh-shop__desc { margin-bottom: 16px; color: var(--yh-muted); }
.yh-shop__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--yh-line);
}
.yh-shop__toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce .yh-shop__toolbar .woocommerce-result-count { float: none; margin: 0; font-size: .95rem; color: var(--yh-muted); }
.woocommerce .yh-shop__toolbar .woocommerce-ordering { float: none; margin: 0; }
.yh-shop__toolbar select.orderby {
	min-width: 220px;
	padding: 9px 36px 9px 14px;
	border: 1px solid var(--yh-line);
	border-radius: 999px;
	background-color: #fff;
	font-size: .9rem;
	color: var(--yh-ink);
}
.yh-shop__empty { padding: 56px 20px; text-align: center; border: 1px dashed var(--yh-line); border-radius: var(--yh-radius); }
.yh-shop__empty i { font-size: 2.2rem; color: var(--yh-teal); }
.yh-shop__empty p { margin: 10px 0 18px; color: var(--yh-muted); }

/* Paginação */
.yh-shop .pagination { justify-content: center; }

/* ---------- Sidebar ---------- */
.yh-shop-filters-toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 4px;
	padding: 12px 16px;
	border: 1px solid var(--yh-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	color: var(--yh-ink);
}
.yh-shop-sidebar { padding-top: 12px; }
@media (min-width: 992px) {
	.yh-shop-sidebar { position: sticky; top: 110px; padding-top: 0; }
}
.yh-shop-widget {
	margin-bottom: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
}
.yh-shop-widget__title {
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--yh-ink);
}

.yh-shop-search { position: relative; }
.yh-shop-search input[type="search"] {
	width: 100%;
	padding: 10px 44px 10px 14px;
	border: 1px solid var(--yh-line);
	border-radius: 999px;
	font-size: .95rem;
}
.yh-shop-search input[type="search"]:focus,
.yh-shop-price input:focus { outline: 2px solid var(--yh-teal); outline-offset: 1px; border-color: transparent; }
.yh-shop-search button {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: var(--yh-teal);
	color: #fff;
}

.yh-shop-cats { margin: 0; padding: 0; list-style: none; }
.yh-shop-cats li + li { margin-top: 4px; }
.yh-shop-cats a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: .95rem;
	color: var(--yh-ink);
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.yh-shop-cats a span {
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--yh-teal-soft);
	font-size: .75rem;
	font-weight: 700;
	text-align: center;
	color: var(--yh-muted);
}
.yh-shop-cats a:hover { background: var(--yh-teal-soft); }
.yh-shop-cats li.is-active a { background: var(--yh-teal); color: #fff; font-weight: 700; }
.yh-shop-cats li.is-active a span { background: rgba(255, 255, 255, .25); color: #fff; }

.yh-shop-price__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.yh-shop-price label { margin: 0; }
.yh-shop-price label span { display: block; margin-bottom: 4px; font-size: .75rem; color: var(--yh-muted); }
.yh-shop-price input { width: 100%; padding: 8px 10px; border: 1px solid var(--yh-line); border-radius: 10px; }
.yh-shop-price .btn_1 { width: 100%; justify-content: center; padding: 10px; border-radius: 999px; }

.yh-shop-clear { display: inline-flex; gap: 6px; align-items: center; margin: -6px 0 20px 4px; font-size: .9rem; font-weight: 700; color: var(--yh-sale); }

.yh-shop-help { text-align: center; background: var(--yh-teal-soft); border-color: transparent; }
.yh-shop-help > i { font-size: 1.8rem; color: #25d366; }
.yh-shop-help .yh-shop-widget__title { margin: 6px 0 4px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.yh-shop-help p { margin-bottom: 14px; font-size: .9rem; color: var(--yh-muted); }
.yh-shop-help .btn_1 { width: 100%; justify-content: center; border-radius: 999px; }

/* ---------- Produto ---------- */
.yh-product-top {
	padding: 120px 0 18px;
	background: var(--yh-teal);
}
@media (max-width: 991px) { .yh-product-top { padding-top: 90px; } }
.yh-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.yh-breadcrumb a { color: #fff; font-weight: 700; text-decoration: none; }
.yh-breadcrumb a:hover { text-decoration: underline; }

.yh-gallery__main {
	position: relative;
	height: 460px;
	background: var(--yh-teal-soft);
	border-radius: var(--yh-radius);
	overflow: hidden;
}
.yh-gallery__main .yh-gallery__img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; } /* a foto inteira fica na lupa */
.yh-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--yh-ink); font-size: 1.15rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); cursor: pointer; }
.yh-gallery__zoom:hover { background: #fff; color: var(--yh-gold); }

/* Lupa da galeria: foto inteira em tela cheia; com zoom, a foto dobra e o palco rola */
.yh-lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(20, 26, 26, .94); color: #fff; }
.yh-lightbox::backdrop { background: rgba(20, 26, 26, .94); }
.yh-lightbox__palco { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 56px 16px; }
.yh-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.yh-lightbox.is-zoom .yh-lightbox__palco { display: block; overflow: auto; padding: 0; cursor: grab; }
.yh-lightbox.is-zoom .yh-lightbox__img { max-width: none; max-height: none; width: 250%; cursor: zoom-out; }
@media (min-width: 992px) { .yh-lightbox.is-zoom .yh-lightbox__img { width: 160%; } }
.yh-lightbox__fechar, .yh-lightbox__nav { position: absolute; z-index: 2; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.2rem; cursor: pointer; }
.yh-lightbox__fechar:hover, .yh-lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.yh-lightbox__fechar { top: 12px; right: 12px; }
.yh-lightbox__nav { top: 50%; transform: translateY(-50%); }
.yh-lightbox__nav--ant { left: 12px; }
.yh-lightbox__nav--prox { right: 12px; }
.yh-lightbox.is-zoom .yh-lightbox__nav { display: none; }
.yh-lightbox__dica { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; margin: 0; font-size: .82rem; text-align: center; color: rgba(255, 255, 255, .75); pointer-events: none; }
.yh-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.yh-gallery__thumb {
	width: 76px;
	height: 76px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	background: none;
	overflow: hidden;
	opacity: .7;
	transition: opacity .2s ease, border-color .2s ease;
}
.yh-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.yh-gallery__thumb.is-active,
.yh-gallery__thumb:hover { border-color: var(--yh-teal); opacity: 1; }

.yh-product__cat {
	display: inline-block;
	margin-bottom: 6px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--yh-teal);
	text-decoration: none;
}
.yh-product__title { margin: 0 0 10px; font-size: 2.2rem; font-weight: 800; line-height: 1.15; color: var(--yh-ink); }
@media (max-width: 767px) { .yh-product__title { font-size: 1.7rem; } }
.yh-product__rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .9rem; color: var(--yh-muted); text-decoration: none; }
.yh-product__rating .star-rating { margin: 0 !important; color: var(--yh-gold); }
.yh-product__price { margin: 6px 0 16px; font-size: 1.9rem; font-weight: 800; color: var(--yh-ink); }
.yh-product__short { margin-bottom: 16px; color: var(--yh-muted); }
.yh-product__short p:last-child { margin-bottom: 0; }

.yh-product .stock { margin: 0 0 14px; font-size: .9rem; font-weight: 700; }
.yh-product .stock.in-stock { color: #15803d; }
.yh-product .stock.out-of-stock { color: var(--yh-sale); }

/* Formulário de compra (simples e variável) */
.yh-product__buy form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
	background: #fff;
}
.yh-product__buy form.cart::before,
.yh-product__buy form.cart::after { display: none; }
.yh-product__buy form.variations_form { display: block; }
.yh-product__buy .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.yh-product__buy table.variations { width: 100%; margin-bottom: 12px; }
.yh-product__buy table.variations select { width: 100%; padding: 9px 12px; border: 1px solid var(--yh-line); border-radius: 10px; }

.yh-qty-auto .quantity { display: flex; align-items: center; margin: 0 !important; border: 1px solid var(--yh-line); border-radius: 999px; overflow: hidden; background: #fff; }
.yh-qty-auto .quantity input.qty {
	width: 52px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	color: var(--yh-ink);
	-moz-appearance: textfield;
}
.yh-qty-auto .quantity input.qty::-webkit-outer-spin-button,
.yh-qty-auto .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.yh-qty-btn { width: 40px; height: 46px; padding: 0; border: 0; background: transparent; font-size: 1.2rem; color: var(--yh-ink); }
.yh-qty-btn:hover { background: var(--yh-teal-soft); }

.woocommerce .yh-product__buy button.single_add_to_cart_button,
.yh-product__buy .single_add_to_cart_button,
.yh-product__buy .yh-buy-now {
	display: inline-flex;
	flex: 1 1 180px;
	justify-content: center;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: 12px 20px;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}
.woocommerce .yh-product__buy button.single_add_to_cart_button {
	border: 0;
	background: var(--yh-gold);
	color: #fff;
}
.woocommerce .yh-product__buy button.single_add_to_cart_button:hover { background: var(--yh-ink); }
.woocommerce .yh-product__buy button.single_add_to_cart_button.disabled { opacity: .5; }
.yh-product__buy .yh-buy-now {
	flex-basis: 100%;
	border: 2px solid var(--yh-gold);
	background: #fff;
	color: var(--yh-gold);
}
.yh-product__buy .yh-buy-now:hover { background: var(--yh-gold); color: #fff; }

.yh-product__help { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yh-ink); text-decoration: none; }
.yh-product__help i { font-size: 1.2rem; color: #25d366; }
.yh-product__help:hover { color: var(--yh-gold); }
.yh-product__meta { margin: 12px 0 0; font-size: .85rem; color: var(--yh-muted); }

/* Abas */
.yh-tabs { margin-top: 56px; }
.yh-tabs__nav { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--yh-line); }
.yh-tabs__nav button {
	flex: 0 0 auto;
	margin-bottom: -1px;
	padding: 12px 18px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	font-weight: 700;
	color: var(--yh-muted);
}
.yh-tabs__nav button.is-active { border-bottom-color: var(--yh-teal); color: var(--yh-ink); }
.yh-tabs__panel { padding: 24px 0 0; }
.yh-product__content { max-width: 760px; line-height: 1.7; color: var(--yh-ink); }
.yh-tabs .woocommerce-product-attributes { width: 100%; max-width: 760px; border-collapse: collapse; }
.yh-tabs .woocommerce-product-attributes th,
.yh-tabs .woocommerce-product-attributes td { padding: 10px 12px; border-bottom: 1px solid var(--yh-line); text-align: left; }
.yh-tabs .woocommerce-product-attributes td p { margin: 0; }

/* Avaliações (template padrão do WooCommerce) */
.yh-tabs #reviews { max-width: 760px; }
.yh-tabs #reviews .woocommerce-Reviews-title,
.yh-tabs #reply-title { font-size: 1.15rem; font-weight: 800; }
.yh-tabs #reviews textarea,
.yh-tabs #reviews input[type="text"],
.yh-tabs #reviews input[type="email"] { width: 100%; padding: 10px 12px; border: 1px solid var(--yh-line); border-radius: 10px; }
.yh-tabs #reviews .form-submit input[type="submit"],
.yh-tabs #reviews #submit {
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--yh-gold);
	font-weight: 700;
	color: #fff;
}
.yh-tabs #reviews .stars a { color: var(--yh-gold); }

/* Relacionados */
.yh-related { margin-top: 64px; }
.yh-related__title { margin-bottom: 20px; font-size: 1.5rem; font-weight: 800; color: var(--yh-ink); }
@media (min-width: 992px) {
	.yh-related ul.products.yh-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Avisos do WooCommerce (ex.: "adicionado ao carrinho") */
.yh-product .woocommerce-message,
.yh-shop .woocommerce-message,
.yh-shop .woocommerce-info,
.yh-product .woocommerce-error,
.yh-shop .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 0;
	border-left: 4px solid var(--yh-teal);
	border-radius: 10px;
	background: var(--yh-teal-soft);
	font-size: .95rem;
	color: var(--yh-ink);
}
.yh-product .woocommerce-message::before,
.yh-shop .woocommerce-message::before { display: none; }
.yh-product .woocommerce-message .button,
.yh-shop .woocommerce-message .button {
	order: 2;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--yh-gold);
	font-weight: 700;
	color: #fff;
}

/* ---------- Etapas da compra (carrinho / finalização) ---------- */
.yh-steps { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.yh-steps li { display: flex; align-items: center; gap: 8px; }
.yh-steps span {
	display: inline-flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	border: 1.5px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	font-size: .8rem;
	font-weight: 800;
}
.yh-steps li.is-current { font-weight: 800; color: #fff; }
.yh-steps li.is-current span { border-color: #fff; background: #fff; color: var(--yh-teal); }
.yh-steps li.is-done span { border-color: #fff; background: rgba(255, 255, 255, .25); color: #fff; }

/* ---------- Carrinho ---------- */
.yh-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 991px) { .yh-cart { grid-template-columns: 1fr; gap: 24px; } }

.yh-cart__items { margin: 0; }
.yh-cart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.yh-cart__title { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--yh-ink); }
.yh-cart__count { font-size: .95rem; color: var(--yh-muted); }

.yh-cart__list { display: flex; flex-direction: column; gap: 12px; }
.yh-cart-item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto auto;
	grid-template-areas: "thumb info qty subtotal";
	align-items: center;
	gap: 18px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
}
.yh-cart-item__thumb { grid-area: thumb; }
.yh-cart-item__thumb img { display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 10px; background: var(--yh-teal-soft); }
.yh-cart-item__info { grid-area: info; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.yh-cart-item__name { font-size: 1.05rem; font-weight: 800; line-height: 1.3; color: var(--yh-ink); text-decoration: none; }
a.yh-cart-item__name:hover { color: var(--yh-gold); }
.yh-cart-item__info dl.variation { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; font-size: .85rem; color: var(--yh-muted); }
.yh-cart-item__info dl.variation dt, .yh-cart-item__info dl.variation dd { margin: 0; }
.yh-cart-item__info dl.variation dd p { margin: 0; }
.yh-cart-item__unit { font-size: .9rem; color: var(--yh-muted); }
.yh-cart-item__unit del { margin-right: 4px; }
.yh-cart-item__unit ins { text-decoration: none; }
.woocommerce .yh-cart-item a.remove.yh-cart-item__remove {
	display: inline-flex;
	width: auto;
	height: auto;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
	border-radius: 0;
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--yh-muted) !important;
	background: none !important;
	text-decoration: none;
}
.woocommerce .yh-cart-item a.remove.yh-cart-item__remove:hover { color: var(--yh-sale) !important; }
.yh-cart-item__qty { grid-area: qty; }
.yh-cart-item__qty .quantity input.qty { width: 44px; height: 40px; }
.yh-cart-item__qty .yh-qty-btn { width: 34px; height: 40px; }
.yh-cart-item__subtotal { grid-area: subtotal; min-width: 96px; font-size: 1.05rem; font-weight: 800; text-align: right; color: var(--yh-ink); }

@media (max-width: 575px) {
	.yh-cart-item {
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas: "thumb info" "qty subtotal";
		gap: 12px 14px;
		padding: 14px;
	}
	.yh-cart-item__thumb img { width: 72px; height: 72px; }
	.yh-cart-item__qty { justify-self: start; }
	.yh-cart-item__subtotal { align-self: center; }
}

.yh-cart__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}
.yh-cart__coupon { display: flex; flex: 1 1 320px; gap: 8px; max-width: 420px; }
.woocommerce .yh-cart__coupon #coupon_code,
.yh-cart__coupon #coupon_code {
	flex: 1;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--yh-line);
	border-radius: 999px;
	background: #fff;
	font-size: .95rem;
}
.yh-cart__coupon #coupon_code:focus { outline: 2px solid var(--yh-teal); outline-offset: 1px; border-color: transparent; }
.yh-cart__coupon .btn_1 { padding: 10px 20px; border-radius: 999px; }
/* Com JavaScript a quantidade é aplicada sozinha; o botão só aparece quando há algo pendente e o JS falhou */
.yh-cart__update {
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: .85rem;
	font-weight: 700;
	color: var(--yh-muted);
}
.yh-cart__update:disabled { display: none; }
.yh-cart__continue { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 700; color: var(--yh-ink); text-decoration: none; }
.yh-cart__continue:hover { color: var(--yh-gold); }

/* Resumo */
.woocommerce .cart-collaterals.yh-cart__summary,
.yh-cart__summary { width: auto; margin: 0; padding: 0; background: none; }
@media (min-width: 992px) { .yh-cart__summary { position: sticky; top: 110px; } }
.woocommerce .cart-collaterals .cart_totals.yh-summary,
.yh-summary {
	float: none;
	width: 100%;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
}
.yh-summary__title { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; color: var(--yh-ink); }
.woocommerce .yh-summary table.shop_table,
.yh-summary__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; }
.woocommerce .yh-summary table.shop_table th,
.woocommerce .yh-summary table.shop_table td {
	padding: 10px 0;
	border: 0;
	border-top: 1px solid var(--yh-line);
	background: none;
	font-size: .95rem;
	font-weight: 600;
	color: var(--yh-muted);
	vertical-align: top;
}
.woocommerce .yh-summary table.shop_table tr:first-child th,
.woocommerce .yh-summary table.shop_table tr:first-child td { border-top: 0; }
.woocommerce .yh-summary table.shop_table td { text-align: right; color: var(--yh-ink); }
.woocommerce .yh-summary table.shop_table td::before { display: none; }
.woocommerce .yh-summary .order-total th,
.woocommerce .yh-summary .order-total td { padding-top: 14px; font-size: 1.25rem; font-weight: 800; color: var(--yh-ink); }
.yh-summary__muted { font-weight: 500 !important; color: var(--yh-muted) !important; }
.yh-summary .woocommerce-remove-coupon { margin-left: 4px; font-size: .8rem; color: var(--yh-sale); }
.yh-summary .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; text-align: right; }
.yh-summary .shipping-calculator-button { font-size: .85rem; color: var(--yh-teal); }

.woocommerce .yh-summary .wc-proceed-to-checkout { margin: 16px 0 0; padding: 0; }
.woocommerce .yh-summary .wc-proceed-to-checkout a.checkout-button.yh-summary__checkout,
.yh-summary__checkout {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 15px 20px;
	border-radius: 999px;
	background: var(--yh-gold);
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
}
.woocommerce .yh-summary .wc-proceed-to-checkout a.checkout-button.yh-summary__checkout:hover { background: var(--yh-ink); }
.yh-summary__help { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--yh-ink); text-decoration: none; }
.yh-summary__help i { color: #25d366; }

/* Sugestões abaixo do carrinho */
.yh-cart-page .cross-sells { margin-top: 56px; }
.yh-cart-page .cross-sells h2 { margin-bottom: 20px; font-size: 1.4rem; font-weight: 800; color: var(--yh-ink); }
@media (min-width: 992px) {
	.yh-cart-page .cross-sells ul.products.yh-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Avisos no carrinho */
.yh-cart-page .woocommerce-message,
.yh-cart-page .woocommerce-info,
.yh-cart-page .woocommerce-error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 0;
	border-left: 4px solid var(--yh-teal);
	border-radius: 10px;
	background: var(--yh-teal-soft);
	font-size: .95rem;
	color: var(--yh-ink);
	list-style: none;
}
.yh-cart-page .woocommerce-error { border-left-color: var(--yh-sale); }
.yh-cart-page .woocommerce-message::before,
.yh-cart-page .woocommerce-info::before,
.yh-cart-page .woocommerce-error::before { display: none; }
.yh-cart-page .woocommerce-message a,
.yh-cart-page .woocommerce-info a { font-weight: 700; color: var(--yh-gold); }

/* Carrinho vazio */
.yh-cart-empty { max-width: 520px; margin: 0 auto; padding: 48px 20px; text-align: center; }
.yh-cart-empty i { font-size: 2.6rem; color: var(--yh-teal); }
.yh-cart-empty h2 { margin: 12px 0 8px; font-size: 1.5rem; font-weight: 800; color: var(--yh-ink); }
.yh-cart-empty p { margin-bottom: 20px; color: var(--yh-muted); }
.yh-cart-empty .btn_1 { border-radius: 999px; }

/* Bloqueio do WooCommerce durante o AJAX */
.yh-cart .blockUI.blockOverlay { border-radius: var(--yh-radius); }
/* O WooCommerce foca o aviso para leitores de tela; o contorno azul do navegador não é necessário aqui */
.yh-cart-page .woocommerce-message:focus,
.yh-cart-page .woocommerce-info:focus,
.yh-cart-page .woocommerce-error:focus,
.yh-shop .woocommerce-message:focus,
.yh-product .woocommerce-message:focus { outline: none; }

/* O CSS responsivo do WooCommerce esconde o <th> no celular; no resumo a tabela é simples e cabe inteira */
@media (max-width: 768px) {
	.woocommerce .yh-summary table.shop_table_responsive tr { display: table-row; }
	.woocommerce .yh-summary table.shop_table_responsive tr th,
	.woocommerce .yh-summary table.shop_table_responsive tr td { display: table-cell; }
	.woocommerce .yh-summary table.shop_table_responsive tr:nth-child(2n) td { background: none; }
	.yh-steps { gap: 8px 16px; font-size: .8rem; }
	.yh-steps span { width: 22px; height: 22px; font-size: .7rem; }
}

/* =========================================================
   Finalização da compra (checkout) e confirmação
   ========================================================= */
.yh-steps a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.yh-steps a:hover { color: #fff; }
.yh-steps span .bi { font-size: .95rem; line-height: 1; }

/* Cupom (acima do formulário) */
.yh-checkout-page .yh-coupon-toggle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	padding: 12px 16px;
	border: 1px dashed var(--yh-line);
	border-radius: 12px;
	background: #fff;
	font-size: .95rem;
	color: var(--yh-muted);
}
.yh-coupon-toggle .bi { color: var(--yh-teal); }
.yh-coupon-toggle .showcoupon { font-weight: 700; color: var(--yh-gold); }
.yh-coupon-form { display: flex; gap: 8px; max-width: 460px; margin: 0 0 20px; }
.yh-coupon-form #coupon_code { flex: 1; min-width: 0; padding: 10px 16px; border: 1px solid var(--yh-line); border-radius: 999px; background: #fff; }
.yh-coupon-form .btn_1 { padding: 10px 20px; border-radius: 999px; }
.yh-checkout-page .coupon-error-notice { color: var(--yh-sale); font-size: .85rem; }

/* Layout */
.yh-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 991px) {
	.yh-checkout { grid-template-columns: 1fr; gap: 20px; }
	/* No celular o resumo vem primeiro, para o cliente ver o que está comprando */
	.yh-checkout__summary { order: -1; }
}
.yh-checkout::before, .yh-checkout::after { display: none; }
@media (min-width: 992px) { .yh-checkout__summary { position: sticky; top: 110px; } }

/* Etapas */
.yh-co-step {
	margin-bottom: 20px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
}
.yh-co-step__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 1.2rem; font-weight: 800; color: var(--yh-ink); }
.yh-co-step__title span {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--yh-teal);
	font-size: .9rem;
	color: #fff;
}

/* Campos em grade de 2 colunas */
.yh-checkout .woocommerce-billing-fields__field-wrapper,
.yh-checkout .woocommerce-shipping-fields__field-wrapper,
.yh-checkout .woocommerce-additional-fields__field-wrapper,
.yh-checkout .woocommerce-account-fields .create-account {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
.yh-checkout .woocommerce-billing-fields__field-wrapper::before,
.yh-checkout .woocommerce-billing-fields__field-wrapper::after,
.yh-checkout .woocommerce-shipping-fields__field-wrapper::before,
.yh-checkout .woocommerce-shipping-fields__field-wrapper::after { display: none; }
.woocommerce .yh-checkout .form-row {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
.yh-checkout .form-row-wide,
.yh-checkout .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
@media (max-width: 575px) {
	.yh-checkout .woocommerce-billing-fields__field-wrapper,
	.yh-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.yh-co-step { padding: 18px; }
}
.woocommerce .yh-checkout .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: .85rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--yh-ink);
}
.woocommerce .yh-checkout .form-row label .optional { font-weight: 500; color: var(--yh-muted); }
.woocommerce .yh-checkout .form-row .required { color: var(--yh-sale); text-decoration: none; border: 0; }
.woocommerce .yh-checkout .form-row input.input-text,
.woocommerce .yh-checkout .form-row textarea,
.woocommerce .yh-checkout .form-row select,
.yh-checkout .select2-container .select2-selection--single {
	width: 100%;
	height: auto;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #d5dede;
	border-radius: 10px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--yh-ink);
	box-shadow: none;
}
.woocommerce .yh-checkout .form-row textarea { min-height: 96px; }
.yh-checkout .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.yh-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.4; color: var(--yh-ink); }
.yh-checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 10px; transform: translateY(-50%); }
.woocommerce .yh-checkout .form-row input.input-text:focus,
.woocommerce .yh-checkout .form-row textarea:focus,
.yh-checkout .select2-container--focus .select2-selection--single,
.yh-checkout .select2-container--open .select2-selection--single {
	outline: none;
	border-color: var(--yh-teal);
	box-shadow: 0 0 0 3px rgba(110, 179, 179, .25);
}
.woocommerce .yh-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce .yh-checkout .form-row.woocommerce-invalid .select2-selection { border-color: var(--yh-sale); }
.woocommerce .yh-checkout .form-row.woocommerce-invalid label { color: var(--yh-sale); }
.yh-checkout .checkout-inline-error-message { margin: 4px 0 0; font-size: .8rem; color: var(--yh-sale); }

/* "Entregar em outro endereço?" */
.yh-checkout #ship-to-different-address { margin: 0 0 14px; font-size: 1rem; }
.yh-checkout #ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.yh-checkout .woocommerce-additional-fields { margin-top: 6px; }

/* Pagamento */
.yh-checkout .yh-payment.woocommerce-checkout-payment { background: none; border-radius: 0; }
.woocommerce .yh-checkout #payment ul.payment_methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	list-style: none;
}
.woocommerce .yh-checkout #payment ul.payment_methods::before,
.woocommerce .yh-checkout #payment ul.payment_methods::after { display: none; }
.woocommerce .yh-checkout #payment ul.payment_methods li.wc_payment_method {
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid var(--yh-line);
	border-radius: 12px;
	background: #fff;
	line-height: 1.4;
	transition: border-color .2s ease, background .2s ease;
}
.woocommerce .yh-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) { border-color: var(--yh-teal); background: var(--yh-teal-soft); }
.woocommerce .yh-checkout #payment ul.payment_methods li > input.input-radio { margin: 0 8px 0 0; accent-color: var(--yh-teal); vertical-align: middle; }
.woocommerce .yh-checkout #payment ul.payment_methods li label { display: inline; font-weight: 700; color: var(--yh-ink); cursor: pointer; }
.woocommerce .yh-checkout #payment ul.payment_methods li img { max-height: 24px; margin: 0 0 0 6px; vertical-align: middle; }
.woocommerce .yh-checkout #payment div.payment_box {
	margin: 10px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff;
	font-size: .9rem;
	color: var(--yh-muted);
}
.woocommerce .yh-checkout #payment div.payment_box::before { display: none; }
.woocommerce .yh-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
.woocommerce .yh-checkout #payment .yh-payment__empty {
	padding: 14px 16px;
	border: 0;
	border-left: 4px solid var(--yh-gold);
	border-radius: 10px;
	background: #faf6ef;
	font-size: .95rem;
	color: var(--yh-ink);
}
.woocommerce .yh-checkout #payment .yh-payment__empty::before { display: none; }
.woocommerce .yh-checkout #payment div.form-row.place-order { margin: 0; padding: 0; }
.yh-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; font-size: .85rem; color: var(--yh-muted); }
.yh-checkout .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.yh-checkout .woocommerce-privacy-policy-text a,
.yh-checkout .woocommerce-terms-and-conditions-link { font-weight: 700; color: var(--yh-ink); }
.woocommerce .yh-checkout #payment #place_order.yh-payment__submit,
.yh-payment__submit {
	display: flex;
	float: none;
	width: 100%;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--yh-gold);
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
}
.woocommerce .yh-checkout #payment #place_order.yh-payment__submit:hover { background: var(--yh-ink); }
.yh-payment__submit:disabled { opacity: .6; cursor: not-allowed; }

/* Resumo do pedido */
.yh-summary--checkout { padding: 22px; }
.yh-summary__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.yh-summary__head .yh-summary__title { margin: 0; }
.yh-summary__edit { font-size: .85rem; font-weight: 700; color: var(--yh-gold); }
.yh-review__items { margin: 0 0 6px; padding: 0; list-style: none; }
.yh-review__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--yh-line);
}
.yh-review__item:first-child { padding-top: 0; }
.yh-review__thumb { position: relative; display: block; }
.yh-review__thumb img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--yh-teal-soft); }
.yh-review__qty {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--yh-ink);
	font-size: .75rem;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
	color: #fff;
}
.yh-review__name { font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--yh-ink); }
.yh-review__name dl.variation { margin: 2px 0 0; font-size: .8rem; font-weight: 500; color: var(--yh-muted); }
.yh-review__name dl.variation dt, .yh-review__name dl.variation dd { display: inline; margin: 0; }
.yh-review__name dl.variation dd p { display: inline; margin: 0; }
.yh-review__total { font-size: .95rem; font-weight: 800; color: var(--yh-ink); white-space: nowrap; }
.woocommerce .yh-review table.yh-review__totals { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.woocommerce .yh-review table.yh-review__totals th,
.woocommerce .yh-review table.yh-review__totals td {
	padding: 9px 0;
	border: 0;
	background: none;
	font-size: .95rem;
	font-weight: 600;
	color: var(--yh-muted);
	vertical-align: top;
}
.woocommerce .yh-review table.yh-review__totals td { text-align: right; color: var(--yh-ink); }
.woocommerce .yh-review table.yh-review__totals .order-total th,
.woocommerce .yh-review table.yh-review__totals .order-total td {
	padding-top: 14px;
	border-top: 1px solid var(--yh-line);
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--yh-ink);
}
.yh-review .woocommerce-remove-coupon { margin-left: 4px; font-size: .8rem; color: var(--yh-sale); }
.yh-review .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.yh-checkout__summary .yh-summary__help { margin-top: 12px; }

/* Avisos e erros de validação no topo do checkout */
.yh-checkout-page .woocommerce-NoticeGroup,
.yh-checkout-page .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.yh-checkout-page .woocommerce-error,
.yh-checkout-page .woocommerce-message,
.yh-checkout-page .woocommerce-info:not(.yh-payment__empty) {
	margin: 0 0 20px;
	padding: 14px 18px 14px 22px;
	border: 0;
	border-left: 4px solid var(--yh-teal);
	border-radius: 10px;
	background: var(--yh-teal-soft);
	font-size: .95rem;
	color: var(--yh-ink);
	list-style: none;
}
.yh-checkout-page .woocommerce-error { border-left-color: var(--yh-sale); background: #fdf1ec; }
.yh-checkout-page .woocommerce-error li { margin: 2px 0; }
.yh-checkout-page .woocommerce-error::before,
.yh-checkout-page .woocommerce-message::before,
.yh-checkout-page .woocommerce-info::before { display: none; }
.yh-checkout-page .woocommerce-error:focus,
.yh-checkout-page .woocommerce-message:focus,
.yh-checkout-page .woocommerce-info:focus { outline: none; }
.yh-checkout .blockUI.blockOverlay { border-radius: var(--yh-radius); }

/* Confirmação do pedido */
.yh-thanks { max-width: 860px; margin: 0 auto; }
.yh-thanks__hero { margin-bottom: 24px; text-align: center; }
.yh-thanks__hero > .bi { font-size: 3.2rem; color: #15803d; }
.yh-thanks__hero--failed > .bi { color: var(--yh-sale); }
.yh-thanks__hero h2 { margin: 8px 0 6px; font-size: 1.8rem; font-weight: 800; color: var(--yh-ink); }
.yh-thanks__hero p { margin: 0 auto; max-width: 560px; font-size: 1rem; color: var(--yh-muted); background: none; border: 0; padding: 0; }
.yh-thanks__hero p::before { display: none; }
.yh-thanks__hero .woocommerce-thankyou-order-failed-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.woocommerce .yh-thanks ul.order_details.yh-thanks__overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0;
	margin: 0 0 28px;
	padding: 0;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
	background: #fff;
	list-style: none;
	overflow: hidden;
}
.woocommerce .yh-thanks ul.order_details::before,
.woocommerce .yh-thanks ul.order_details::after { display: none; }
.woocommerce .yh-thanks ul.order_details.yh-thanks__overview li {
	float: none;
	margin: 0;
	padding: 16px 18px;
	border: 0;
	border-right: 1px solid var(--yh-line);
	font-size: .8rem;
	text-transform: none;
	color: var(--yh-muted);
}
.woocommerce .yh-thanks ul.order_details.yh-thanks__overview li:last-child { border-right: 0; }
.woocommerce .yh-thanks ul.order_details.yh-thanks__overview li strong { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 800; color: var(--yh-ink); }
.yh-thanks__details .woocommerce-order-details,
.yh-thanks__details .woocommerce-customer-details,
.yh-thanks__details .woocommerce-bacs-bank-details {
	margin-bottom: 20px;
	padding: 22px;
	border: 1px solid var(--yh-line);
	border-radius: var(--yh-radius);
	background: #fff;
}
.yh-thanks__details h2 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; color: var(--yh-ink); }
.woocommerce .yh-thanks__details table.shop_table { margin: 0; border: 0; border-radius: 0; border-collapse: collapse; }
.woocommerce .yh-thanks__details table.shop_table th,
.woocommerce .yh-thanks__details table.shop_table td { padding: 10px 0; border: 0; border-top: 1px solid var(--yh-line); background: none; }
.woocommerce .yh-thanks__details table.shop_table thead th { border-top: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--yh-muted); }
.woocommerce .yh-thanks__details table.shop_table td:last-child,
.woocommerce .yh-thanks__details table.shop_table th:last-child { text-align: right; }
.woocommerce .yh-thanks__details table.shop_table tfoot th { font-weight: 700; color: var(--yh-muted); }
.woocommerce .yh-thanks__details table.shop_table tfoot td { font-weight: 800; color: var(--yh-ink); }
.woocommerce .yh-thanks__details .woocommerce-customer-details address { padding: 0; border: 0; font-style: normal; line-height: 1.6; color: var(--yh-ink); }
.yh-thanks__details .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.yh-thanks__details .woocommerce-columns--addresses .woocommerce-column { float: none; width: auto; }
/* Cartão do Asaas no checkout: mês e ano lado a lado, espaçamento igual ao dos outros campos */
.woocommerce-checkout #payment .asaas-cc-form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 12px; }
.woocommerce-checkout #payment .asaas-cc-form-wrapper .form-row { float: none; width: auto; margin: 0 0 12px; padding: 0; grid-column: 1 / -1; }
.woocommerce-checkout #payment .asaas-cc-form-wrapper #asaas-cc-expiration-month_field { grid-column: 1; }
.woocommerce-checkout #payment .asaas-cc-form-wrapper #asaas-cc-expiration-year_field { grid-column: 2; }
.woocommerce-checkout #payment .asaas-cc-form-wrapper .asaas-cc-form-field-no-margin { margin: 4px 0 -4px; }
.woocommerce-checkout #payment .asaas-cc-form-wrapper .asaas-cc-form-field-no-margin label { font-weight: 700; color: var(--yh-ink); }
.woocommerce-checkout #payment .asaas-cc-form-wrapper label { margin-bottom: 4px; }

/* Pix do Asaas na confirmação: QR Code ao lado das instruções, código copia e cola quebrando linha */
.woocommerce .yh-thanks__details ul.order_details:not(.yh-thanks__overview) { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.woocommerce .yh-thanks__details ul.order_details:not(.yh-thanks__overview) li { float: none; margin: 0; padding: 0; border: 0; font-size: .95rem; text-transform: none; line-height: 1.55; color: var(--yh-ink); }
.woocommerce .yh-thanks__details li.asaas-pix-instructions { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.yh-thanks__details .js-pix-qr-code { width: 220px; height: 220px; border: 1px solid var(--yh-line); border-radius: 12px; padding: 8px; background: #fff; }
.yh-thanks__details .asaas-pix-instructions__list { margin: 0; padding-left: 20px; }
.woocommerce .yh-thanks__details .asaas-pix-instructions__list li { margin-bottom: 6px; list-style: decimal; }
.yh-thanks__details .asaas-pix-copy-to-clipboard > div { display: grid; gap: 10px; }
.yh-thanks__details .woocommerce-order-details__asaas-pix-payload { margin: 0; padding: 12px; border: 1px dashed var(--yh-line); border-radius: 10px; font-family: monospace; font-size: .8rem; color: var(--yh-muted); white-space: normal; overflow: visible; text-overflow: clip; height: auto; max-height: none; line-height: 1.5; overflow-wrap: anywhere; word-break: break-all; }
.woocommerce .yh-thanks__details .woocommerce-order-details__asaas-pix-button { justify-self: start; }
@media (max-width: 575px) {
	.woocommerce .yh-thanks__details li.asaas-pix-instructions { grid-template-columns: 1fr; justify-items: center; }
	.woocommerce .yh-thanks__details .woocommerce-order-details__asaas-pix-button { justify-self: stretch; }
}
.yh-thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.yh-thanks__actions .btn_1 { gap: 6px; border-radius: 999px; }
@media (max-width: 575px) {
	.woocommerce .yh-thanks ul.order_details.yh-thanks__overview li { border-right: 0; border-bottom: 1px solid var(--yh-line); }
}
/* Lista de erros do checkout em linhas (o tema herdava display:flex) e campos válidos sem borda verde */
.yh-checkout-page ul.woocommerce-error { display: block; }
.yh-checkout-page ul.woocommerce-error li { display: list-item; margin-left: 16px; list-style: disc; }
.yh-checkout-page ul.woocommerce-error li::marker { color: var(--yh-sale); }
.woocommerce .yh-checkout .form-row.woocommerce-validated input.input-text,
.woocommerce .yh-checkout .form-row.woocommerce-validated select,
.woocommerce .yh-checkout .form-row.woocommerce-validated .select2-selection { border-color: #d5dede; }
/* O WooCommerce pinta #payment de lilás (regra com ID); aqui o fundo é o da etapa */
.woocommerce-checkout #payment.yh-payment { background: none; border-radius: 0; }
.woocommerce-checkout #payment.yh-payment .woocommerce-terms-and-conditions-wrapper { margin-top: 4px; }

/* Identificação da empresa que vende (CNPJ da loja) */
.yh-product__seller { margin: 14px 0 0; font-size: .85rem; color: var(--yh-muted); }
.yh-product__seller .bi { margin-right: 4px; }
.yh-checkout-seller { margin: 0 0 12px; font-size: .85rem; color: var(--yh-muted); }

/* Página de produto em blocos (templates/archives/produto/blocos.php) */
.yh-product__destaques { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.yh-product__destaques li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--yh-ink); }
.yh-product__destaques .bi { flex: 0 0 auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--yh-teal-soft); color: var(--yh-gold); font-size: 1rem; }
.yh-pd { margin-top: 24px; }
.yh-pd-secao { padding: 56px 0; border-top: 1px solid var(--yh-line); }
.yh-pd__chamada { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yh-gold); }
.yh-pd__h2 { margin: 0 0 16px; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.2; color: var(--yh-ink); }
.yh-pd__h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; color: var(--yh-ink); }
.yh-pd__texto { font-size: 1.02rem; line-height: 1.7; color: var(--yh-ink); }
.yh-pd__texto p { margin: 0 0 14px; }
.yh-pd__texto ul { margin: 0 0 14px; padding-left: 20px; }
.yh-pd__texto li { margin-bottom: 6px; }
.yh-pd-video__player { display: block; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--yh-radius); background: #000; }
.yh-pd-video__aviso { max-width: 860px; margin: 10px auto 0; font-size: .8rem; color: var(--yh-muted); text-align: center; }
.yh-pd__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--yh-radius); }
.yh-pd__frase { max-width: 620px; margin: 0 auto 32px; text-align: center; color: var(--yh-muted); }
.yh-pd-metricas__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.yh-pd-metricas__lista li { padding: 22px; border: 1px solid var(--yh-line); border-radius: var(--yh-radius); background: #fff; }
.yh-pd-metricas__lista .bi { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; background: var(--yh-teal-soft); color: var(--yh-gold); font-size: 1.25rem; }
.yh-pd-metricas__lista h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; color: var(--yh-ink); }
.yh-pd-metricas__lista p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--yh-muted); }
.yh-pd-specs { width: 100%; border-collapse: collapse; }
.yh-pd-specs th, .yh-pd-specs td { padding: 12px 0; border-top: 1px solid var(--yh-line); vertical-align: top; font-size: .95rem; }
.yh-pd-specs th { width: 42%; padding-right: 16px; font-weight: 700; color: var(--yh-muted); }
.yh-pd-specs td { color: var(--yh-ink); }
.yh-pd-box { margin-bottom: 20px; padding: 22px; border: 1px solid var(--yh-line); border-radius: var(--yh-radius); background: #fff; }
.yh-pd-caixa { margin: 0; padding: 0; list-style: none; }
.yh-pd-caixa li { margin-bottom: 6px; color: var(--yh-ink); }
.yh-pd-caixa .bi { color: var(--yh-gold); }
.yh-pd-faq__lista { max-width: 760px; margin: 0 auto; }
.yh-pd-faq__lista details { border-bottom: 1px solid var(--yh-line); }
.yh-pd-faq__lista summary { padding: 16px 28px 16px 0; position: relative; cursor: pointer; list-style: none; font-weight: 700; color: var(--yh-ink); }
.yh-pd-faq__lista summary::-webkit-details-marker { display: none; }
.yh-pd-faq__lista summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.3rem; color: var(--yh-gold); }
.yh-pd-faq__lista details[open] summary::after { content: '−'; }
.yh-pd-faq__lista details p { margin: 0 0 16px; line-height: 1.65; color: var(--yh-muted); }
.yh-pd-cta { margin: 8px 0 0; padding: 32px 24px; border-radius: var(--yh-radius); background: var(--yh-teal-soft); text-align: center; }
.yh-pd-cta p { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; color: var(--yh-ink); }
.yh-pd-aviso { margin: 24px 0 0; font-size: .82rem; line-height: 1.6; color: var(--yh-muted); text-align: center; }
@media (max-width: 767px) {
	.yh-pd-secao { padding: 40px 0; }
	.yh-pd-specs th { width: 46%; }
}
