/**
 * Estilos do plugin Catalog Products.
 * Paleta alinhada à marca Eder.
 */

.catalog-products,
.catalog-product-detail {
	--catalog-color-burgundy: #5c000b;
	--catalog-color-gold: #a67c52;
	--catalog-color-cream: #f8f4ed;
	--catalog-color-ink: #1a1a1a;
	--catalog-color-white: #ffffff;
	--catalog-color-muted: #6b635a;
	--catalog-color-burgundy-dark: #3a0007;
	--catalog-font-family: inherit;
	--catalog-radius: 4px;
	font-family: var(--catalog-font-family);
}

/* Fundo creme da marca nas páginas do catálogo */
body.post-type-archive-catalog_product,
body.tax-catalog_product_category,
body.single-catalog_product {
	background-color: var(--catalog-color-cream, #f8f4ed);
}

body.post-type-archive-catalog_product .site-content,
body.tax-catalog_product_category .site-content,
body.single-catalog_product .site-content,
body.post-type-archive-catalog_product #content,
body.tax-catalog_product_category #content,
body.single-catalog_product #content,
body.post-type-archive-catalog_product .entry-content,
body.tax-catalog_product_category .entry-content,
body.single-catalog_product .entry-content {
	background-color: transparent;
}

/* Container e grid de listagem */
.catalog-products {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1rem;
	color: var(--catalog-color-ink);
	background: transparent;
}

.catalog-products--hub,
.catalog-products--taxonomy,
.catalog-products--archive {
	background: transparent;
}

/* Wrapper do hub (hero full-bleed + conteúdo) */
.catalog-products-hub {
	width: 100%;
}

.catalog-products-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 290px;
	padding: 4rem 1.5rem;
	background-color: var(--catalog-color-burgundy);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--catalog-color-cream);
	overflow: hidden;
}

.catalog-products-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(13, 13, 13, 0.78) 0%, rgba(13, 13, 13, 0.45) 55%, rgba(13, 13, 13, 0.25) 100%);
	pointer-events: none;
}

.catalog-products-hero--has-image .catalog-products-hero__overlay {
	background: linear-gradient(90deg, rgba(13, 13, 13, 0.82) 0%, rgba(13, 13, 13, 0.5) 50%, rgba(13, 13, 13, 0.28) 100%);
}

.catalog-products-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
}

.catalog-products-hero__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: rgba(248, 244, 237, 0.85);
}

/* Breadcrumb compartilhado (hero escuro e detalhe claro) */
.catalog-products-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.4;
}

.catalog-products-breadcrumb a {
	text-decoration: none;
}

.catalog-products-breadcrumb__home {
	display: inline-flex;
	align-items: center;
}

.catalog-products-breadcrumb__home-icon {
	display: inline-flex;
	line-height: 0;
}

.catalog-products-breadcrumb--hero {
	color: rgba(248, 244, 237, 0.92);
}

.catalog-products-breadcrumb--hero a {
	color: rgba(248, 244, 237, 0.92);
}

.catalog-products-breadcrumb--hero a:hover {
	color: var(--catalog-color-gold);
}

.catalog-products-breadcrumb--hero .catalog-products-breadcrumb__home {
	color: var(--catalog-color-gold);
}

.catalog-products-breadcrumb--hero .catalog-products-breadcrumb__home:hover {
	color: var(--catalog-color-cream);
}

.catalog-products-breadcrumb--hero .catalog-products-breadcrumb__sep {
	color: rgba(248, 244, 237, 0.55);
}

.catalog-products-breadcrumb--hero .catalog-products-breadcrumb__current {
	color: rgba(248, 244, 237, 0.92);
}

.catalog-products-breadcrumb--detail {
	margin: 0 0 1.5rem;
	color: var(--catalog-color-ink);
}

.catalog-products-breadcrumb--detail a {
	color: var(--catalog-color-ink);
}

.catalog-products-breadcrumb--detail a:hover {
	color: var(--catalog-color-burgundy);
}

.catalog-products-breadcrumb--detail .catalog-products-breadcrumb__home {
	color: var(--catalog-color-gold);
}

.catalog-products-breadcrumb--detail .catalog-products-breadcrumb__home:hover {
	color: var(--catalog-color-burgundy);
}

.catalog-products-breadcrumb--detail .catalog-products-breadcrumb__sep {
	color: rgba(26, 26, 26, 0.45);
}

.catalog-products-breadcrumb--detail .catalog-products-breadcrumb__current {
	font-weight: 700;
	color: var(--catalog-color-ink);
}

.catalog-products-hub--category .catalog-products--taxonomy {
	padding-top: 3rem;
	padding-bottom: 3.5rem;
}

.catalog-products-hero__title {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--catalog-color-white);
	letter-spacing: 0.01em;
}

.catalog-products-hero__divider {
	display: block;
	width: 72px;
	height: 2px;
	margin: 1.25rem 0 1.35rem;
	background: var(--catalog-color-gold);
	position: relative;
}

.catalog-products-hero__divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -4px 0 0 -4px;
	background: var(--catalog-color-gold);
	transform: rotate(45deg);
}

.catalog-products-hero__description {
	margin: 0;
	max-width: 34rem;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(248, 244, 237, 0.92);
}

.catalog-products--hub {
	padding-top: 3rem;
	padding-bottom: 3.5rem;
}

.catalog-products__section-header {
	margin-bottom: 2rem;
	text-align: center;
}

.catalog-products__section-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--catalog-color-burgundy);
}

.catalog-products__section-divider {
	display: block;
	width: 56px;
	height: 2px;
	margin: 0.85rem auto 0;
	background: var(--catalog-color-gold);
	position: relative;
}

.catalog-products__section-divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 -3px;
	background: var(--catalog-color-gold);
	transform: rotate(45deg);
}

.catalog-products__header {
	margin-bottom: 2rem;
	text-align: center;
}

.catalog-products__title {
	margin: 0;
	font-size: 2.25rem;
	color: var(--catalog-color-burgundy);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.catalog-products__intro {
	margin: 0.75rem 0 0;
	color: var(--catalog-color-muted);
	font-size: 1rem;
}

.catalog-products__breadcrumb {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.catalog-products__breadcrumb a {
	color: var(--catalog-color-gold);
	text-decoration: none;
}

.catalog-products__breadcrumb a:hover {
	color: var(--catalog-color-burgundy);
}

.catalog-products__tax-image {
	margin: 0 auto 1.25rem;
	max-width: 720px;
	overflow: hidden;
	border-radius: var(--catalog-radius);
}

.catalog-products__tax-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
}

.catalog-products__tax-description {
	margin: 0.75rem auto 0;
	max-width: 42rem;
	color: var(--catalog-color-muted);
	line-height: 1.6;
}

.catalog-products__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.catalog-products__grid--categories {
	grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	gap: 1.75rem;
}

.catalog-product-related-block__grid.catalog-products__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-products__empty {
	text-align: center;
	color: var(--catalog-color-muted);
	padding: 2rem 0;
}

.catalog-products__pagination {
	margin-top: 2rem;
}

.catalog-products__pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.catalog-products__pagination .page-numbers {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--catalog-color-burgundy);
	border-radius: var(--catalog-radius);
	color: var(--catalog-color-cream);
	text-decoration: none;
	background: var(--catalog-color-burgundy);
}

.catalog-products__pagination .page-numbers.current,
.catalog-products__pagination .page-numbers:hover {
	background: var(--catalog-color-burgundy-dark, #3a0007);
	border-color: var(--catalog-color-burgundy-dark, #3a0007);
	color: var(--catalog-color-cream);
}

/* Card de categoria (hub) */
.catalog-category-card {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 1 / 1;
	background: var(--catalog-color-burgundy);
	border: 1px solid var(--catalog-color-gold);
	box-shadow: inset 0 -90px 100px -30px rgba(0, 0, 0, 0.75);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-category-card:hover {
	transform: translateY(-3px);
	box-shadow:
		inset 0 -90px 100px -30px rgba(0, 0, 0, 0.75),
		0 8px 24px color-mix(in srgb, var(--catalog-color-burgundy) 18%, transparent);
}

.catalog-category-card__link {
	display: block;
	height: 100%;
	min-height: 100%;
	text-decoration: none;
	color: var(--catalog-color-white);
}

.catalog-category-card__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 55%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.35) 45%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 1;
}

.catalog-category-card__image,
.catalog-category-card__placeholder {
	position: absolute;
	inset: 0;
}

.catalog-category-card__image img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.catalog-category-card:hover .catalog-category-card__image img {
	transform: scale(1.04);
}

.catalog-category-card__placeholder {
	background: var(--catalog-color-burgundy);
}

.catalog-category-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1.5rem 1.25rem 1.35rem;
	background: transparent;
}

.catalog-category-card__title {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--catalog-color-white);
}

.catalog-category-card__count {
	display: inline-block;
	margin-top: 0.4rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--catalog-color-gold);
}

/* Card de produto — imagem no topo (cover) + base creme */
.catalog-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: auto;
	min-height: 0;
	background: var(--catalog-color-cream, #f8f4ed);
	border: 1px solid rgba(166, 124, 82, 0.28);
	box-shadow: 0 6px 20px rgba(26, 26, 26, 0.06);
	padding: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(26, 26, 26, 0.1);
}

.catalog-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	text-decoration: none;
	color: inherit;
}

.catalog-product-card__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	height: 382px;
	overflow: hidden;
	background: var(--catalog-color-cream);
}

.catalog-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease;
}

.catalog-product-card:hover .catalog-product-card__media img {
	transform: scale(1.03);
}

.catalog-product-card__placeholder {
	width: 100%;
	height: 100%;
	background-color: var(--catalog-color-cream);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a67c52' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
	background-position: center center;
	background-size: 48px;
	background-repeat: no-repeat;
}

.catalog-product-card__info {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex: 1 1 auto;
	min-height: 7.5rem;
	padding: 1.15rem 1.25rem 1.3rem;
	background: var(--catalog-color-cream, #f8f4ed);
	box-shadow: none;
	text-align: left;
}

.catalog-product-card__text {
	min-width: 0;
	flex: 1 1 auto;
}

.catalog-product-card__category {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--catalog-color-gold);
}

.catalog-product-card__title {
	margin: 0;
	
	font-size: 1.35rem;
	line-height: 1.25;
	font-weight: 700;
	color: var(--catalog-color-burgundy, #5c000b);
}

.catalog-product-card__description {
	margin: 0.45rem 0 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--catalog-color-muted, #6b635a);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catalog-product-card__arrow {
	flex: 0 0 auto;
	font-size: 1.35rem;
	line-height: 1;
	color: var(--catalog-color-burgundy, #5c000b);
	padding-bottom: 0.15rem;
}

.catalog-product-card--compact .catalog-product-card__info {
	align-items: center;
	min-height: 0;
	padding: 1rem 1.25rem 1.15rem;
}

.catalog-product-card--compact .catalog-product-card__title {
	font-size: 16px;
}

/* Página de detalhe */
.catalog-product-detail {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
	background: transparent;
	color: var(--catalog-color-ink);
}

.catalog-product-detail__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	margin-bottom: 6rem;
}

.catalog-product-detail__gallery {
	width: 100%;
}

/* Galeria */
.catalog-product-gallery {
	width: 100%;
}

.catalog-product-gallery__main {
	position: relative;
	width: 100%;
	max-width: 580px;
	height: 585px;
	background: #f5f5f5;
	border: 1px solid var(--catalog-color-gold);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.catalog-product-gallery__main img {
	/* position: absolute; */
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	/* height: 100%; */
	object-fit: cover;
}

.catalog-product-gallery__open {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	display: flex;
    align-items: center;
}

.catalog-product-gallery__open img {
	pointer-events: none;
}

.catalog-product-gallery__nav {
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: color-mix(in srgb, var(--catalog-color-burgundy) 95%, transparent);
	color: var(--catalog-color-cream);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	transition: background 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.catalog-product-gallery__main:hover .catalog-product-gallery__nav,
.catalog-product-gallery__nav:focus-visible {
	opacity: 1;
	visibility: visible;
}

.catalog-product-gallery__nav:hover {
	background: var(--catalog-color-burgundy-dark, #3a0007);
}

.catalog-product-gallery__nav--prev {
	left: 12px;
}

.catalog-product-gallery__nav--next {
	right: 12px;
}

.catalog-product-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.catalog-product-gallery__thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	width: 72px;
	height: 72px;
}

.catalog-product-gallery__thumb.is-active {
	border-color: var(--catalog-color-gold);
}

.catalog-product-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Lightbox da galeria */
.catalog-product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.catalog-product-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.catalog-product-lightbox[hidden] {
	display: none;
}

.catalog-product-lightbox__overlay {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.85);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.catalog-product-lightbox.is-open .catalog-product-lightbox__overlay {
	opacity: 1;
}

.catalog-product-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1100px;
	max-height: calc(100vh - 3rem);
	opacity: 0;
	transform: translateY(10px) scale(0.985);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.catalog-product-lightbox.is-open .catalog-product-lightbox__dialog {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.catalog-product-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(80vh - 3rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
}

.catalog-product-lightbox__close {
	padding: 0;
	position: absolute;
	top: -2.75rem;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--catalog-color-burgundy);
	color: var(--catalog-color-cream);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.catalog-product-lightbox__nav {
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--catalog-color-burgundy);
	color: var(--catalog-color-cream);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.catalog-product-lightbox__nav--prev {
	left: -3.5rem;
}

.catalog-product-lightbox__nav--next {
	right: -3.5rem;
}

body.catalog-product-lightbox-open {
	overflow: hidden;
}

/* Informações do produto */
.catalog-product-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.catalog-product-category {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #cf5e5e;
	letter-spacing: 0.05em;
}

.catalog-product-title {
	margin: 0;
	font-size: 2.25rem;
	line-height: 1.2;
	color: #222;
}

.catalog-product-description {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #555;
}

.catalog-product-description p,
.catalog-product-nutrition__description p {
	margin: 0 0 0.75em;
}

.catalog-product-description p:last-child,
.catalog-product-nutrition__description p:last-child {
	margin-bottom: 0;
}

.catalog-product-description ul,
.catalog-product-description ol,
.catalog-product-nutrition__description ul,
.catalog-product-nutrition__description ol,
.catalog-product-info-card__content ul,
.catalog-product-info-card__content ol {
	margin: 0 0 0.75em;
	padding-left: 1.25rem;
}

.catalog-product-weight {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #333;
}

.catalog-product-highlights {
	list-style: none;
	margin: 0.5rem 0 1rem;
	padding: 0;
}

.catalog-product-highlights__item {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: 0.65rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #444;
}

.catalog-product-highlights__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	background: var(--catalog-color-burgundy);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.catalog-product-buy-button {
	display: inline-block;
	align-self: flex-start;
	margin-top: 0.5rem;
	padding: 0.85rem 2rem;
	background: var(--catalog-color-burgundy);
	color: var(--catalog-color-cream);
	text-decoration: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: background 0.2s ease, color 0.2s ease;
}

.catalog-product-buy-button:hover {
	background: var(--catalog-color-burgundy-dark, #3a0007);
	color: var(--catalog-color-cream);
}

/* Seção extra de informações */
.catalog-product-extra-info {
	margin-top: 6rem;
	padding-top: 2rem;
	border-top: 1px solid var(--catalog-color-gold);
}

.catalog-product-extra-info__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.catalog-product-extra-info__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.catalog-product-extra-info__cards-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.catalog-product-extra-info__conservation,
.catalog-product-extra-info__download {
	width: 100%;
}

.catalog-product-extra-info__cards-row + .catalog-product-extra-info__conservation {
	margin-top: 0.25rem;
}

.catalog-product-extra-info__cards-row-item {
	min-width: 0;
}

.catalog-product-extra-info__cards-row-item:only-child {
	grid-column: 1 / -1;
}

.catalog-product-extra-info__cards-row-item .catalog-product-info-card {
	height: 100%;
}
.catalog-product-info-card--allergens{
	border-color: var(--catalog-color-gold) !important;
}

/* Bloco nutricional */
.catalog-product-nutrition {
	background: var(--catalog-color-burgundy, #5c000b);
	padding: 1.75rem 1.5rem 1.5rem;
	border: none;
	border-radius: 12px;
	color: #fff;
}

.catalog-product-nutrition__heading {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
}

.catalog-product-nutrition__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
}

.catalog-product-nutrition__description {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
}

.catalog-product-nutrition__portions {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: #fff;
	line-height: 1.5;
}

.catalog-product-nutrition__portions-item {
	margin: 0 0 0.35rem;
}

.catalog-product-nutrition__portions-item:last-child {
	margin-bottom: 0;
}

.catalog-product-nutrition__portions-item strong {
	font-weight: 600;
	color: #fff;
}

.catalog-product-nutrition__highlights {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.catalog-product-nutrition__highlights--count-1 {
	grid-template-columns: minmax(0, 1fr);
}

.catalog-product-nutrition__highlights--count-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-product-nutrition__highlights--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-product-nutrition__highlight {
	background: #fff;
	border: none;
	border-radius: 8px;
	padding: 1.1rem 0.85rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 4.5rem;
}

.catalog-product-nutrition__highlight-value {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--catalog-color-burgundy, #5c000b);
	margin-bottom: 0.2rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.catalog-product-nutrition__highlight-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--catalog-color-burgundy, #5c000b);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.catalog-product-nutrition__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}

.catalog-product-nutrition__table th {
	color: var(--catalog-color-burgundy, #5c000b) !important;
	background: #fff;
}

.catalog-product-nutrition__table th,
.catalog-product-nutrition__table td {
	border: none;
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid #e8e8e8 !important;
	text-align: left;
	font-size: 0.8rem;
	color: #4a4a4a;
}

.catalog-product-nutrition__table th:nth-child(2),
.catalog-product-nutrition__table th:nth-child(3),
.catalog-product-nutrition__table th:nth-child(4),
.catalog-product-nutrition__table td:nth-child(2),
.catalog-product-nutrition__table td:nth-child(3),
.catalog-product-nutrition__table td:nth-child(4) {
	text-align: right;
}

.catalog-product-nutrition__table th {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
}

.catalog-product-nutrition__table tbody tr:last-child td {
	border-bottom: none !important;
}

.catalog-product-nutrition__table tbody tr.catalog-product-nutrition__table-row--highlighted td {
	background: #f2f2f2;
	color: #333;
	border-bottom-color: #e0e0e0;
}

.catalog-product-nutrition__footnote {
	margin: 0.85rem 0 0;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.4;
}

/* Cards informativos */
.catalog-product-info-card {
	background: #fff;
	border: 1px solid var(--catalog-color-gold);
	border-radius: 8px;
	padding: 1.25rem;
	box-sizing: border-box;
}

.catalog-product-info-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--catalog-color-burgundy);
}

.catalog-product-info-card__content {
	font-size: 0.85rem;
	color: #555;
	line-height: 1.6;
}

.catalog-product-info-card__content p {
	margin: 0 0 0.75em;
}

.catalog-product-info-card__content p:last-child {
	margin-bottom: 0;
}

/* Conservação */
.catalog-product-conservation__steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
	position: relative;
	padding-top: 0.5rem;
}

.catalog-product-conservation__steps::before {
	content: '';
	position: absolute;
	top: 1.525rem;
	left: 8%;
	right: 8%;
	height: 1px;
	background: #e0e0e0;
	z-index: 0;
}

.catalog-product-conservation__step {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 120px;
	position: relative;
	z-index: 1;
}

.catalog-product-conservation__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #eef5ee center center no-repeat;
	background-size: 20px;
	margin-bottom: 0.75rem;
	position: relative;
	z-index: 1;
}

.catalog-product-conservation__icon--snowflake {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5f2d' stroke-width='2'%3E%3Cpath d='M12 2v20M2 12h20M4.9 4.9l14.2 14.2M19.1 4.9L4.9 19.1'/%3E%3C/svg%3E");
}

.catalog-product-conservation__icon--fridge {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5f2d' stroke-width='2'%3E%3Crect x='5' y='3' width='14' height='18' rx='1'/%3E%3Cline x1='5' y1='10' x2='19' y2='10'/%3E%3C/svg%3E");
}

.catalog-product-conservation__icon--freezer {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5f2d' stroke-width='2'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3C/svg%3E");
}

.catalog-product-conservation__icon--clock {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5f2d' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

.catalog-product-conservation__icon--package {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5f2d' stroke-width='2'%3E%3Cpath d='M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3z'/%3E%3Cpath d='M12 12l8-4.5M12 12v9M12 12L4 7.5'/%3E%3C/svg%3E");
}

.catalog-product-conservation__text {
	flex: 1;
	width: 100%;
}

.catalog-product-conservation__title {
	display: block;
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
	color: var(--catalog-color-burgundy);
}

.catalog-product-conservation__description {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
}

/* Download PDF */
.catalog-product-download {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.catalog-product-download__content {
	flex: 1;
	min-width: 0;
}

.catalog-product-download__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.catalog-product-download__description {
	margin: 0;
	font-size: 0.9rem;
	color: #666;
}

.catalog-product-download__button {
	display: inline-block;
	flex-shrink: 0;
	padding: 0.65rem 1.25rem;
	background: var(--catalog-color-burgundy);
	color: var(--catalog-color-cream);
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.catalog-product-download__button:hover {
	background: var(--catalog-color-burgundy-dark, #3a0007);
	color: var(--catalog-color-cream);
}

/* Banner e produtos relacionados */
.catalog-product-related-block {
	margin: 3rem 0;
}

.catalog-product-related-block__title {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--catalog-color-burgundy);
	letter-spacing: 0.01em;
}

.catalog-product-related-banner {
	position: relative;
	border: 1px solid var(--catalog-color-gold);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 2.5rem;
}

.catalog-product-related-banner__link {
	display: block;
	text-decoration: none;
}

.catalog-product-related-banner__link:focus-visible {
	outline: 2px solid var(--catalog-color-gold);
	outline-offset: 2px;
}

.catalog-product-related-banner__image {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.catalog-product-related-banner__text {
	margin: 0;
	padding: 1rem 1.25rem;
	background: #f5f5f5;
	font-size: 1rem;
	line-height: 1.5;
	color: #444;
	text-align: center;
}

/* Seção de conteúdos relacionados */
.catalog-product-content-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--catalog-color-gold);
}

.catalog-product-content-section__title {
	margin: 0 0 2.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--catalog-color-burgundy);
	letter-spacing: 0.01em;
}

.catalog-product-content-section__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.catalog-product-content-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--catalog-color-gold);
	border-radius: 8px;
	overflow: hidden;
}

.catalog-product-content-card__image {
	display: block;
	overflow: hidden;
}

.catalog-product-content-card__image img {
	display: block;
	width: 100%;
	height: 283px;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.catalog-product-content-card__image:hover img {
	transform: scale(1.03);
}

.catalog-product-content-card__title {
	margin: 0;
	padding: 1rem 1rem 0.5rem;
	font-size: 1rem;
	line-height: 1.3;
}

.catalog-product-content-card__title a {
	color: inherit;
	text-decoration: none;
}

.catalog-product-content-card__title a:hover {
	text-decoration: underline;
}

.catalog-product-content-card__link {
	display: inline-block;
	margin: 0 1rem 1rem;
	padding: 0.55rem 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--catalog-color-cream);
	text-decoration: none;
	background: var(--catalog-color-burgundy);
	border-radius: var(--catalog-radius);
	text-align: center;
}

.catalog-product-content-card__link:hover {
	background: var(--catalog-color-burgundy-dark, #3a0007);
	color: var(--catalog-color-cream);
	text-decoration: none;
}

/* Responsivo */
@media (max-width: 1024px) {
	.catalog-products__grid:not(.catalog-products__grid--categories),
	.catalog-product-related-block__grid.catalog-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.catalog-product-detail__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.catalog-product-extra-info__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.catalog-product-extra-info__cards-row {
		grid-template-columns: 1fr;
	}

	.catalog-product-nutrition__highlights--count-2,
	.catalog-product-nutrition__highlights--count-3 {
		grid-template-columns: 1fr;
	}

	.catalog-product-conservation__steps {
		flex-direction: column;
		align-items: stretch;
	}

	.catalog-product-conservation__steps::before {
		display: none;
	}

	.catalog-product-conservation__step {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 0.75rem;
	}

	.catalog-product-conservation__icon {
		margin-bottom: 0;
	}

	.catalog-product-download {
		flex-direction: column;
		align-items: flex-start;
	}

	.catalog-products__grid:not(.catalog-products__grid--categories),
	.catalog-product-related-block__grid.catalog-products__grid {
		grid-template-columns: 1fr;
	}

	.catalog-product-title {
		font-size: 1.75rem;
	}

	.catalog-product-gallery__main {
		max-width: 100%;
		min-height: auto;
		aspect-ratio: 580 / 585px;
	}

	.catalog-product-gallery__main img {
		position: absolute;
		height: 100%;
	}

	.catalog-product-lightbox {
		padding: 1rem;
	}

	.catalog-product-lightbox__close {
		top: 0.5rem;
		right: 0.5rem;
	}

	.catalog-product-lightbox__nav--prev {
		left: 0.5rem;
	}

	.catalog-product-lightbox__nav--next {
		right: 0.5rem;
	}

	.catalog-product-content-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.catalog-product-content-section__grid {
		grid-template-columns: 1fr;
	}

	.catalog-product-related-banner__image {
		height: 200px;
	}
}
