/*
 * The theme hides the whole product metadata block in the Cart block, the
 * Checkout order summary and the Mini-Cart drawer — which also hides the
 * chosen size ("Tamanho: M") and the pack label, so customers can't check
 * what they're buying. Show the details again (variation + pack) but keep
 * the long product description hidden, which is what the theme was avoiding.
 * Loaded on every page because the Mini-Cart drawer can open anywhere.
 */
.wp-block-woocommerce-cart .wc-block-cart-items tbody td.wc-block-cart-item__product .wc-block-components-product-metadata,
.wc-block-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-components-drawer .wc-block-mini-cart__items .wc-block-mini-cart-items tbody .wc-block-cart-items__row .wc-block-components-product-metadata {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--mbf-color-secondary, #6b6b6b);
}

.wc-block-components-product-metadata .wc-block-components-product-metadata__description {
	display: none;
}

.wc-block-components-product-metadata .wc-block-components-product-details {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wc-block-components-product-metadata .wc-block-components-product-details > * {
	display: block;
	margin: 0;
}

/* !important: the theme sizes these per context (cart/summary/drawer) with
   longer selectors; a fixed small size keeps details secondary everywhere. */
.wc-block-components-product-metadata .wc-block-components-product-details,
.wc-block-components-product-metadata .wc-block-components-product-details * {
	font-size: 13px !important;
	line-height: 1.5 !important;
}

.wc-block-components-product-metadata .wc-block-components-product-details__name {
	font-weight: 600;
}

/*
 * Theme mini-cart drawer (classic WooCommerce widget inside .mbf-shop-minicart):
 * item data such as the pack label renders in a <dl class="variation"> at the
 * same size/weight as the product name — make it secondary, like the Cart block.
 */
.mbf-shop-minicart .woocommerce-mini-cart-item dl.variation {
	display: block;
	margin: 4px 0 6px;
	padding: 0;
	border: 0;
}

.mbf-shop-minicart .woocommerce-mini-cart-item dl.variation dt,
.mbf-shop-minicart .woocommerce-mini-cart-item dl.variation dd,
.mbf-shop-minicart .woocommerce-mini-cart-item dl.variation p {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5;
	color: var(--mbf-color-secondary, #6b6b6b);
}

.mbf-shop-minicart .woocommerce-mini-cart-item dl.variation dt {
	font-weight: 600 !important;
}

/* Checkout is the primary action in the drawer: filled, unlike "Ver carrinho". */
.mbf-shop-minicart .woocommerce-mini-cart__buttons .button.checkout,
.mbf-shop-minicart .woocommerce-mini-cart__buttons .button.checkout:hover,
.mbf-shop-minicart .woocommerce-mini-cart__buttons .button.checkout:focus {
	background: var(--mbf-color-primary, #1d1d1f);
	border-color: var(--mbf-color-primary, #1d1d1f);
	color: #fff;
}

/* "Removemos o pack completo…" message at the top of the mini-cart drawer. */
.amless-pack-removed {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 6px;
	background: var(--mbf-palette-color-gray-50, #f4f4f5);
	font-size: 13px;
	line-height: 1.5;
	color: var(--mbf-color-primary, #1d1d1f);
}

.amless-pack-removed a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Links inside Cart/Checkout block notices (e.g. "Voltar a adicionar o pack"). */
.wc-block-components-notice-banner__content a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
