/* ─────────────────────────────────────────────────────────
   Guía de Tallas — Royal Chic Lingerie
   Depende de: royal-chic.css (variables globales)
   ───────────────────────────────────────────────────────── */

/* ── BREADCRUMB ─────────────────────────────────────── */
.rc-breadcrumb {
	background: var(--rc-cream);
	border-bottom: 1px solid var(--rc-cream-border);
	border-top: 1px solid var(--rc-cream-border);
	padding: 16px 60px;
}
.rc-breadcrumb-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--rc-muted);
}
.rc-breadcrumb a {
	color: var(--rc-muted);
	text-decoration: none;
	transition: color 0.2s;
}
.rc-breadcrumb a:hover {
	color: var(--rc-gold);
}
.rc-bc-sep {
	color: var(--rc-cream-border);
}
.rc-bc-current {
	color: var(--rc-ink);
}

/* ── HERO ────────────────────────────────────────────── */
.sz-hero {
	background: var(--rc-ink);
	color: var(--rc-cream);
	padding: 80px 60px 90px;
	position: relative;
	overflow: hidden;
	text-align: center;
}
.sz-hero::before {
	content: "T";
	position: absolute;
	top: -60px;
	left: -40px;
	font-family: "Playfair Display", serif;
	font-size: 380px;
	color: rgba(184, 150, 90, 0.05);
	line-height: 1;
	font-style: italic;
	pointer-events: none;
}
.sz-hero::after {
	content: "S";
	position: absolute;
	bottom: -100px;
	right: -30px;
	font-family: "Playfair Display", serif;
	font-size: 320px;
	color: rgba(184, 150, 90, 0.04);
	line-height: 1;
	font-style: italic;
	pointer-events: none;
	transform: rotate(10deg);
}
.sz-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 0 auto;
}
.sz-hero .rc-eyebrow {
	color: var(--rc-gold);
	margin-bottom: 16px;
}
.sz-hero h1 {
	font-family: "Playfair Display", serif;
	font-size: 56px;
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: 18px;
	color: var(--rc-cream);
}
.sz-hero h1 em {
	font-style: italic;
	color: var(--rc-gold);
}
.sz-hero p {
	font-size: 15px;
	line-height: 1.85;
	color: #a09880;
	max-width: 500px;
	margin: 0 auto 32px;
}

/* ── SECTIONS ────────────────────────────────────────── */
.sz-section {
	background: var(--rc-cream);
	padding: 72px 60px;
}
.sz-section--alt {
	background: var(--rc-cream-dk);
}
.sz-section-inner {
	max-width: 1200px;
	margin: 0 auto;
}
.sz-section-head {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 36px;
}
.sz-section-num {
	font-family: "Playfair Display", serif;
	font-size: 48px;
	color: var(--rc-cream-border);
	line-height: 0.9;
	font-style: italic;
	flex-shrink: 0;
	width: 64px;
}
.sz-section--alt .sz-section-num {
	color: rgba(184, 150, 90, 0.3);
}
.sz-section-title {
	font-family: "Playfair Display", serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--rc-ink);
	padding-top: 6px;
}
.sz-section-desc {
	font-size: 14px;
	color: var(--rc-muted);
	line-height: 1.8;
	margin-bottom: 32px;
	max-width: 640px;
}

/* ── MEASURES ────────────────────────────────────────── */
.sz-measures-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 56px;
	align-items: start;
}
.sz-measures-figure {
	background: #fff;
	border: 1px solid var(--rc-cream-border);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 20px;
}
.sz-measures-figure svg {
	width: 100%;
	max-width: 220px;
	height: auto;
}
.sz-measures-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.sz-measure-step {
	display: flex;
	gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--rc-cream-border);
}
.sz-measure-step:first-child {
	padding-top: 0;
}
.sz-measure-icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid var(--rc-gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sz-measure-icon svg {
	width: 16px;
	height: 16px;
	stroke: var(--rc-gold);
	fill: none;
	stroke-width: 1.4;
}
.sz-measure-label {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 0;
	color: var(--rc-gold);
	font-weight: 500;
	margin-bottom: 6px;
}
.sz-measure-body p {
	font-size: 13.5px;
	line-height: 1.85;
	color: #4a4640;
}
.sz-measure-tip {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--rc-cream-dk);
	border-left: 2px solid var(--rc-gold);
	padding: 16px 18px;
	margin-top: 8px;
}
.sz-measure-tip svg {
	width: 15px;
	height: 15px;
	stroke: var(--rc-gold);
	fill: none;
	stroke-width: 1.5;
	flex-shrink: 0;
	margin-top: 2px;
}
.sz-measure-tip p {
	font-size: var(--rc-fs-reading);
	line-height: 1.75;
	color: #4a4640;
}
.sz-measure-tip strong {
	color: var(--rc-ink);
	font-weight: 500;
}

/* ── TABLE ───────────────────────────────────────────── */
.sz-table,
.sz-table th,
.sz-table td {
	border-left: none;
	border-right: none;
	border-top: none;
}
.sz-table-wrap {
	overflow-x: auto;
	margin-bottom: 16px;
}
.sz-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--rc-fs-reading);
	background: #fff;
	border: 1px solid var(--rc-cream-border);
}
.sz-table--sm {
	font-size: 12.5px;
}
.sz-table th {
	background: var(--rc-ink);
	color: var(--rc-gold-lt);
	padding: 12px 16px;
	font-size: var(--rc-fs-tag);
	letter-spacing: 2.5px;
	text-transform: uppercase;
	font-weight: 500;
	text-align: center;
	border-bottom: 2px solid var(--rc-gold);
}
.sz-table th:first-child {
	text-align: left;
}
.sz-table td {
	padding: 13px 16px;
	border-bottom: 1px solid var(--rc-cream-border);
	color: #3c3a35;
	text-align: center;
	vertical-align: middle;
}
.sz-table td:first-child {
	text-align: left;
}
.sz-table tr:last-child td {
	border-bottom: none;
}
.sz-table tbody tr {
	transition: background 0.15s;
}
.sz-table tbody tr:hover {
	background: rgba(184, 150, 90, 0.04);
}
.sz-table tbody tr.highlight td {
	background: rgba(184, 150, 90, 0.08);
	font-weight: 500;
}
.sz-table-size {
	font-family: "Playfair Display", serif;
	font-size: 16px;
	font-style: italic;
	color: var(--rc-ink);
	font-weight: 400;
}
.sz-table-eq {
	display: flex;
	gap: 6px;
	justify-content: center;
	flex-wrap: wrap;
}
.sz-table-eq span {
	font-size: var(--rc-fs-btn);
	letter-spacing: 1px;
	background: var(--rc-cream);
	border: 1px solid var(--rc-cream-border);
	padding: 2px 7px;
	color: var(--rc-muted);
	margin: 2.1px 0px;
}
.sz-table-curvy td {
	background: rgba(184, 150, 90, 0.04);
}
.sz-curvy-badge {
	display: inline-block;
	font-family: "Inter", sans-serif;
	font-style: normal;
	font-size: 8px;
	letter-spacing: 2px;
	text-transform: uppercase;
	background: var(--rc-gold);
	color: #fff;
	padding: 1px 6px;
	margin-left: 6px;
	vertical-align: middle;
}
.sz-table-note {
	font-size: 11px;
	color: var(--rc-muted);
	line-height: 1.7;
	margin-top: 12px;
}
.sz-table-note strong {
	color: var(--rc-ink);
}

/* ── CALCULADORA ─────────────────────────────────────── */
.sz-calc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--rc-cream-border);
	padding: 40px;
}
.sz-calc-inputs {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.sz-calc-field label {
	display: block;
	font-size: var(--rc-fs-btn);
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--rc-muted);
	margin-bottom: 8px;
}
.sz-calc-input-wrap {
	position: relative;
}
.sz-calc-input-wrap input {
	width: 100%;
	padding: 14px 48px 14px 16px;
	border: 1px solid var(--rc-cream-border);
	background: var(--rc-cream);
	font-family: "Inter", sans-serif;
	font-size: 15px;
	color: var(--rc-ink);
	outline: none;
	transition:
		border-color 0.2s,
		background 0.2s;
}
.sz-calc-input-wrap input:focus {
	border-color: var(--rc-gold);
	background: #fff;
}
.sz-calc-input-wrap input::placeholder {
	color: var(--rc-cream-border);
}
.sz-calc-unit {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 11px;
	letter-spacing: 1px;
	color: var(--rc-muted);
	pointer-events: none;
}
.sz-calc-btn {
	width: 100%;
	text-align: center;
	justify-content: center;
	margin-top: 4px;
}

/* Resultado */
.sz-calc-result {
	display: flex;
	align-items: center;
	justify-content: center;
}
.sz-calc-result-inner {
	text-align: center;
	padding: 20px;
}
.sz-calc-result-label {
	font-size: var(--rc-fs-btn);
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--rc-gold);
	margin-bottom: 12px;
}
.sz-calc-result-size {
	font-family: "Playfair Display", serif;
	font-size: 96px;
	line-height: 1;
	color: var(--rc-ink);
	font-style: italic;
	margin-bottom: 8px;
}
.sz-calc-result-note {
	font-size: var(--rc-fs-reading);
	color: var(--rc-muted);
	line-height: 1.7;
	margin-bottom: 20px;
	max-width: 240px;
	margin-left: auto;
	margin-right: auto;
}
.sz-calc-result-types {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.sz-calc-type-chip {
	font-size: var(--rc-fs-btn);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border: 1px solid var(--rc-cream-border);
	padding: 5px 12px;
	color: var(--rc-ink);
}
.sz-calc-type-chip strong {
	color: var(--rc-gold);
}
.sz-calc-shop-btn {
	display: inline-block;
}

/* Empty state */
.sz-calc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 40px 20px;
	text-align: center;
	color: var(--rc-muted);
	border-left: 1px solid var(--rc-cream-border);
}
.sz-calc-empty svg {
	width: 36px;
	height: 36px;
	stroke: var(--rc-cream-border);
	fill: none;
	stroke-width: 1;
}
.sz-calc-empty p {
	font-size: var(--rc-fs-reading);
	line-height: 1.7;
	max-width: 220px;
}

/* ── GUÍA POR PRENDA ─────────────────────────────────── */
.sz-garment-tabs {
	background: #fff;
	border: 1px solid var(--rc-cream-border);
}
.sz-garment-nav {
	display: flex;
	border-bottom: 1px solid var(--rc-cream-border);
	overflow-x: auto;
}
.sz-garment-tab {
	padding: 16px 28px;
	font-size: 11px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
	color: var(--rc-muted);
	font-family: "Inter", sans-serif;
	transition:
		color 0.2s,
		border-color 0.2s;
	white-space: nowrap;
}
.sz-garment-tab:hover {
	color: var(--rc-ink);
}
.sz-garment-tab.active {
	color: var(--rc-ink);
	border-bottom-color: var(--rc-gold);
	font-weight: 500;
}
.sz-garment-panel {
	display: none;
	padding: 36px;
}
.sz-garment-panel.active {
	display: block;
}
.sz-garment-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.sz-garment-tip h3 {
	font-family: "Playfair Display", serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
	margin-bottom: 12px;
}
.sz-garment-tip h3 em {
	font-style: italic;
	color: var(--rc-gold);
}
.sz-garment-tip p {
	font-size: 13.5px;
	line-height: 1.85;
	color: #4a4640;
}
.sz-tip-list {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	counter-reset: tip;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sz-tip-list li {
	padding: 6px 0 6px 34px;
	position: relative;
	counter-increment: tip;
	font-size: 13.5px;
	line-height: 1.8;
	color: #4a4640;
}
.sz-tip-list li::before {
	content: counter(tip, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 6px;
	font-family: "Playfair Display", serif;
	font-style: italic;
	color: var(--rc-gold);
	font-size: var(--rc-fs-reading);
}
.sz-tip-list strong {
	color: var(--rc-ink);
	font-weight: 500;
}
.sz-garment-callout {
	background: var(--rc-cream-dk);
	border-left: 2px solid var(--rc-gold);
	padding: 14px 18px;
	font-size: var(--rc-fs-reading);
	line-height: 1.75;
	color: #3c3a35;
}
.sz-garment-callout strong {
	color: var(--rc-ink);
	font-weight: 500;
}

/* ── CTA ─────────────────────────────────────────────── */
.sz-cta {
	background: var(--rc-cream-dk);
	padding: 72px 60px;
	border-top: 1px solid var(--rc-cream-border);
	text-align: center;
}
.sz-cta-inner {
	max-width: 600px;
	margin: 0 auto;
}
.sz-cta .rc-eyebrow {
	margin-bottom: 14px;
}
.sz-cta h2 {
	font-family: "Playfair Display", serif;
	font-size: 38px;
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 16px;
}
.sz-cta h2 em {
	font-style: italic;
	color: var(--rc-gold);
}
.sz-cta p {
	font-size: 14px;
	line-height: 1.85;
	color: #5c5750;
	margin-bottom: 32px;
}
.sz-cta-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── BACK TO TOP ─────────────────────────────────────── */
.sz-back-top {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 44px;
	height: 44px;
	background: var(--rc-ink);
	color: var(--rc-gold-lt);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 400;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.25s;
	border-radius: 50%;
}
.sz-back-top.show {
	opacity: 1;
	transform: translateY(0);
}
.sz-back-top:hover {
	background: var(--rc-gold);
	color: #fff;
}
.sz-back-top svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
	.sz-measures-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.sz-measures-figure {
		max-width: 260px;
		margin: 0 auto;
	}
	.sz-calc {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.sz-calc-empty {
		border-left: none;
		border-top: 1px solid var(--rc-cream-border);
		margin-top: 8px;
	}
}
@media (max-width: 900px) {
	.sz-hero {
		padding: 56px 28px 64px;
	}
	.sz-hero h1 {
		font-size: 40px;
	}
	.sz-section {
		padding: 52px 28px;
	}
	.sz-section-title {
		font-size: 26px;
	}
	.sz-cta {
		padding: 56px 28px;
	}
	.rc-breadcrumb {
		padding: 14px 20px;
		font-size: var(--rc-fs-btn);
	}
}
@media (max-width: 480px) {
	.sz-hero h1 {
		font-size: 30px;
	}
	.sz-section-num {
		font-size: 36px;
		width: 48px;
	}
	.sz-calc {
		padding: 24px;
	}
	.sz-garment-panel {
		padding: 24px;
	}
	.sz-cta h2 {
		font-size: 28px;
	}
}

@media print {
	.sz-back-top {
		display: none !important;
	}
	.sz-hero {
		padding: 32px 0;
		background: white !important;
		color: var(--rc-ink) !important;
	}
	.sz-calc,
	.sz-cta {
		page-break-inside: avoid;
	}
}
