/* ==========================================================================
   Cerâmica Prado — Produto (v2) — específico da página /produto/<slug>
   Requer css/ds.css (base). Escopo: body.ds-body
   ========================================================================== */

/* Hero do produto */
.ds-product-hero {
	position: relative;
	background: var(--ds-ink);
	color: #fff;
	padding-top: 12.5rem;
	padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
	overflow: hidden;
	isolation: isolate;
}
.ds-product-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(1200px 520px at 82% 18%, rgba(255, 99, 0, .22), transparent 62%),
		linear-gradient(160deg, #2a211a 0%, #1c1611 55%, #14100c 100%);
	z-index: -2;
}
.ds-product-hero::after {
	content: "";
	position: absolute;
	right: -160px;
	top: -160px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 99, 0, .35), transparent 65%);
	z-index: -1;
}
.ds-product-hero-title {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: 1.04;
	margin: 1rem 0 .9rem;
}
.ds-product-hero-dims {
	font-size: 1rem;
	color: rgba(255, 255, 255, .8);
	margin-bottom: 1.1rem;
}
.ds-product-hero-desc { color: rgba(255, 255, 255, .78); font-size: 1.02rem; line-height: 1.7; margin-bottom: .5rem; max-width: 560px; }
.ds-product-hero-desc p:last-child { margin-bottom: 0; }

.ds-product-hero-media {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
}
.ds-product-hero-media img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55));
}
.ds-product-hero .ds-hero-media-col { padding-left: 0; padding-right: 0; }

/* Blocos de título genéricos */
.ds-block-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.1; margin: .9rem 0 .5rem; }
.ds-block-sub { color: var(--ds-ink-soft); font-size: 1.02rem; line-height: 1.65; margin: 0; }

.ds-section--cta { padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Ficha técnica */
.ds-spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.5rem; }
.ds-spec-list li {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	background: var(--ds-cream);
	border: 1px solid var(--ds-line);
	border-radius: 14px;
	padding: .85rem 1rem;
	font-size: .95rem;
	color: var(--ds-ink);
}
.ds-spec-list i { color: var(--ds-orange); margin-top: .15rem; flex: none; }

/* Galeria */
.ds-gallery-tile {
	background: var(--ds-cream);
	border: 1px solid var(--ds-line);
	border-radius: var(--ds-radius);
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ds-gallery-tile img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; }

/* Texto rico */
.ds-rich { color: var(--ds-ink-soft); }
.ds-rich h2, .ds-rich h3 { color: var(--ds-ink); }
.ds-rich ul, .ds-rich ol { padding-left: 1.25rem; }

@media (max-width: 991.98px) {
	.ds-product-hero { padding-top: 12.5rem; }
	.ds-spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
	.ds-product-hero-media { min-height: 220px; }
}

/* Carrosséis de relacionados (Swiper) */
.ds-carousel {
	overflow: hidden;
	/* folga p/ o hover do card (sobe 4px + sombra) não ser cortado pela borda do carrossel
	   — mesmo padrão do carrossel de produtos da home (.hp-prod-swiper) */
	padding: .25rem .25rem .5rem;
	margin: -.25rem;
}
.ds-carousel .swiper-slide { height: auto; }
.ds-carousel .ds-product-card { height: 100%; }

.ds-carousel-arrows { display: flex; gap: .75rem; }
.ds-carousel-arrow {
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 1px solid var(--ds-line);
	background: #fff;
	color: var(--ds-ink);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.05rem; line-height: 1;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
	cursor: pointer;
}
.ds-carousel-arrow:hover { background: var(--ds-orange); border-color: var(--ds-orange); color: #fff; }
.ds-carousel-arrow.swiper-button-disabled { opacity: .35; cursor: default; }
.ds-carousel-arrow.swiper-button-disabled:hover { background: #fff; border-color: var(--ds-line); color: var(--ds-ink); }

@media (max-width: 575.98px) {
	.ds-carousel-arrow { width: 42px; height: 42px; }
}

/* Barra de navegação do carrossel (bullets + setas), padrão da home */
.ds-carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.ds-carousel-pagination { position: static; width: auto; display: flex; align-items: center; gap: .5rem; }
.ds-carousel-pagination .swiper-pagination-bullet { margin: 0; width: 9px; height: 9px; background: #dcc9b8; opacity: 1; border-radius: 6px; transition: width .25s ease, background-color .25s ease; }
.ds-carousel-pagination .swiper-pagination-bullet-active { width: 28px; background: var(--ds-orange); }

/* Meta do hero (dimensões + informação técnica) */
.ds-product-hero-meta { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; margin: .35rem 0 1.35rem; }
.ds-product-hero-meta .ds-meta { display: flex; align-items: center; gap: .7rem; color: #fff; }
.ds-product-hero-meta .ds-meta > i { font-size: 1.35rem; color: var(--ds-orange); }
.ds-product-hero-meta .ds-meta span { display: block; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ds-product-hero-meta .ds-meta strong { font-size: 1.02rem; font-weight: 600; }

/* Introdução da linha no hero */
.ds-product-hero-intro { margin: .5rem 0 1.1rem; max-width: 620px; }
.ds-product-hero-intro h3 { color: #fff; font-size: 1.18rem; font-weight: 600; line-height: 1.3; margin: 0 0 .55rem; }
.ds-product-hero-intro p { color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.ds-product-hero-intro p:last-child { margin-bottom: 0; }

/* Bloco estático — Normas técnicas (entre "Confira também" e "Produtos relacionados") */
.ds-specs-section { background: var(--ds-sand, #f6efe7); }
.ds-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ds-spec-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--ds-line);
	border-radius: 22px;
	padding: 2rem 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.ds-spec-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ds-orange);
	color: #fff;
	font-size: .92rem;
	font-weight: 700;
	margin-bottom: .9rem;
}
.ds-spec-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--ds-ink); line-height: 1.45; margin: 0; }
.ds-spec-card strong { color: var(--ds-orange); font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; margin-top: .35rem; }
.ds-spec-card p { color: var(--ds-ink-soft); font-size: .94rem; line-height: 1.6; margin: .25rem 0 0; }
.ds-spec-card ul { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-direction: column; gap: .4rem; }
.ds-spec-card li { position: relative; padding-left: 1.1rem; font-size: .9rem; line-height: 1.55; color: var(--ds-ink-soft); }
.ds-spec-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-orange); }

@media (max-width: 900px) {
	.ds-specs-grid { grid-template-columns: 1fr; gap: 1.1rem; }
	.ds-spec-card { padding: 1.6rem 1.5rem 1.4rem; border-radius: 18px; }
}

/* ===== Opção B — Normas técnicas (faixa escura) ===== */
.ds-norms-section { background: var(--ds-ink, #1b1a17); color: #fff; }
.ds-norms { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.ds-norms-aside { position: sticky; top: 130px; }
.ds-eyebrow-light { color: #ffb37a !important; }
.ds-norms-title { font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 600; line-height: 1.15; color: #fff; margin: .7rem 0 1rem; }
.ds-norms-lead { font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0 0 1rem; }
.ds-norms-note { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.55); margin: 0; padding-left: 1rem; border-left: 2px solid var(--ds-orange); }
.ds-norms-list { display: flex; flex-direction: column; }
.ds-norm-row { display: grid; grid-template-columns: 74px 1fr; gap: 1.4rem; padding: 1.9rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.ds-norm-row:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.ds-norm-index { font-size: 2.4rem; font-weight: 300; line-height: 1; color: rgba(255,255,255,.22); letter-spacing: -.02em; }
.ds-norm-head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .5rem; }
.ds-norm-code { font-size: 1.02rem; font-weight: 700; color: var(--ds-orange); letter-spacing: .01em; }
.ds-norm-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .22rem .6rem; }
.ds-norm-body h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; color: #fff; margin: 0 0 .35rem; }
.ds-norm-body p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.62); margin: 0 0 .8rem; }
.ds-norm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.ds-norm-chips li { font-size: .8rem; line-height: 1.4; color: rgba(255,255,255,.78); background: rgba(255,255,255,.07); border-radius: 8px; padding: .35rem .7rem; }
@media (max-width: 991px) {
	.ds-norms { grid-template-columns: 1fr; gap: 2.2rem; }
	.ds-norms-aside { position: static; }
}
@media (max-width: 575px) {
	.ds-norm-row { grid-template-columns: 1fr; gap: .6rem; padding: 1.5rem 0; }
	.ds-norm-index { font-size: 1.7rem; }
}
