/* SAMFYR Manuales — CSS público */

.sam-manuales-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.sam-manual-card {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s;
}
.sam-manual-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

.sam-manual-card__portada {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #f3f4f6;
}
.sam-manual-card__portada img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.sam-manual-card__body { padding: 16px; }

.sam-manual-card__title {
	font-size: 16px;
	margin: 0 0 8px;
	line-height: 1.3;
}
.sam-manual-card__title a { color: inherit; text-decoration: none; }
.sam-manual-card__title a:hover { color: #1d4ed8; }

.sam-manual-card__acceso { margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }

.sam-manual-card__desc {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 12px;
}

/* ── Single ── */
.sam-manual-single__layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	align-items: start;
	margin: 24px 0;
}
@media (max-width: 640px) {
	.sam-manual-single__layout { grid-template-columns: 1fr; }
}

.sam-manual-single__portada img {
	width: 100%;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.sam-manual-single__title {
	font-size: 24px;
	margin: 0 0 16px;
	line-height: 1.2;
}

.sam-manual-single__desc { margin-bottom: 20px; color: #374151; }

.sam-acceso-block { margin-top: 20px; }

.sam-precio {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 16px;
}
.sam-precio__ars {
	font-size: 24px;
	font-weight: 700;
	color: #1d4ed8;
}
.sam-precio__usd {
	font-size: 16px;
	color: #6b7280;
}

/* ── Formularios ── */
.sam-form-compra,
.sam-form-libre,
.sam-form-reenvio {
	max-width: 420px;
}

.sam-field {
	margin-bottom: 14px;
}
.sam-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #374151;
}
.sam-field input[type=text],
.sam-field input[type=email],
.sam-field select {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
}
.sam-field small { display: block; font-size: 12px; color: #9ca3af; margin-top: 3px; }

.sam-gateways { display: flex; gap: 12px; flex-wrap: wrap; }
.sam-gateway-option {
	display: flex;
	align-items: center;
	gap: 6px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 14px;
	transition: border-color .15s;
}
.sam-gateway-option:has(input:checked) { border-color: #1d4ed8; background: #eff6ff; }

/* ── Badges ── */
.sam-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}
.sam-badge--libre  { background: #d1fae5; color: #065f46; }
.sam-badge--mixto  { background: #dbeafe; color: #1e3a8a; }
.sam-badge--socio  { background: #dbeafe; color: #1e3a8a; }
.sam-badge--precio { background: #f0f9ff; color: #0369a1; }

/* ── Botones ── */
.sam-btn {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: opacity .15s;
}
.sam-btn:disabled { opacity: .6; cursor: not-allowed; }
.sam-btn--primary  { background: #005da4; color: #fff; }
.sam-btn--primary:hover { background: #004d8a; color: #fff; }
.sam-btn--secondary { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.sam-btn--compra { width: 100%; text-align: center; margin-top: 8px; font-size: 15px; }

/* ── Notices ── */
.sam-notice {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 16px;
}
.sam-notice--success { background: #f0fdf4; border: 1px solid #86efac; color: #14532d; }
.sam-notice--info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }

.sam-form-feedback { font-size: 13px; margin-top: 6px; min-height: 18px; }
.sam-reenvio-wrap  { border-top: 1px solid #e5e7eb; padding-top: 16px; }

.sam-empty { color: #9ca3af; font-style: italic; }


/* ── Page Hero (sam_manual single) ── */
.single-sam_manual .page-hero {
	position: relative;
	overflow: hidden;
	padding: 3.4rem 2rem 3rem;
	text-align: center;
	background: linear-gradient(118deg, #005da4 0%, #009edb 48%, #313030 100%);
}
.single-sam_manual .page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 120% at 92% 58%, rgba(255,255,255,.20) 0%, transparent 58%),
		radial-gradient(ellipse 35% 90% at 5% 10%, rgba(0,93,164,.24) 0%, transparent 54%);
	pointer-events: none;
}
.single-sam_manual .page-hero nav {
	position: relative;
	z-index: 1;
	font-size: .82rem;
	color: rgba(255,255,255,.65);
	margin-bottom: .7rem;
}
.single-sam_manual .page-hero nav a {
	color: rgba(255,255,255,.65);
	text-decoration: none;
}
.single-sam_manual .page-hero nav a:hover { color: #fff; }
.single-sam_manual .page-hero nav span { margin: 0 .4rem; opacity: .6; }
.single-sam_manual .page-hero h1 {
	position: relative;
	z-index: 1;
	color: #fff !important;
	font-family: "Archivo Narrow", "Source Sans 3", sans-serif !important;
	font-size: clamp(1.8rem, 3.8vw, 2.8rem) !important;
	font-weight: 700 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
	text-shadow: 0 2px 10px rgba(0,0,0,.16);
}