/* ==========================================================================
   RDC Buscador y Cotización
   Paleta: negro #0d0d0d / amarillo #f5b21a
   ========================================================================== */

.rdc-busc-wrap {
	--rdc-amarillo: #f5b21a;
	--rdc-negro: #0d0d0d;
	--rdc-gris: #1c1c1c;
	--rdc-borde: #2e2e2e;
	background: var(--rdc-negro);
	padding: 32px clamp(16px, 4vw, 48px);
	border-radius: 12px;
	color: #fff;
	font-family: inherit;
	box-sizing: border-box;
}

/* ---- Encabezado ---- */
.rdc-busc-head {
	margin-bottom: 20px;
}
.rdc-busc-kicker {
	display: inline-block;
	color: var(--rdc-amarillo);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	margin-bottom: 8px;
}
.rdc-busc-title {
	margin: 0;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	color: #fff;
}
.rdc-busc-title-amarillo {
	color: var(--rdc-amarillo);
}

/* ---- Formulario ---- */
.rdc-busc-form {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 12px;
	align-items: stretch;
}
.rdc-busc-campo {
	position: relative;
}
.rdc-busc-select {
	width: 100%;
	height: 52px;
	padding: 0 40px 0 16px;
	background: #fff;
	color: #333;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f5b21a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.rdc-busc-select:focus {
	outline: 2px solid var(--rdc-amarillo);
	outline-offset: 2px;
}

.rdc-busc-btn {
	height: 52px;
	padding: 0 28px;
	background: var(--rdc-amarillo);
	color: #000;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.5px;
	cursor: pointer;
	white-space: nowrap;
	transition: filter 0.15s ease;
}
.rdc-busc-btn:hover {
	filter: brightness(1.08);
}
.rdc-busc-lupa {
	margin-right: 4px;
}

/* ---- Resultados ---- */
.rdc-busc-resultados {
	margin-top: 28px;
}
.rdc-busc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
.rdc-card {
	background: #fff;
	border-radius: 10px;
	padding: 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.rdc-card-img img {
	width: 100%;
	height: 130px;
	object-fit: contain;
	display: block;
	margin: 0 auto 10px;
}
.rdc-card-titulo {
	font-size: 14px;
	font-weight: 700;
	color: #111;
	text-transform: uppercase;
	margin: 0 0 4px;
	line-height: 1.25;
}
.rdc-card-titulo a {
	color: inherit;
	text-decoration: none;
}
.rdc-card-sub {
	font-size: 12px;
	color: #777;
	margin-bottom: 8px;
}
.rdc-card-stock {
	font-size: 12px;
	color: #1f9d4d;
	font-weight: 600;
	margin-bottom: 12px;
}
.rdc-card-cotizar {
	margin-top: auto;
	background: var(--rdc-amarillo, #f5b21a);
	color: #000;
	border: none;
	border-radius: 6px;
	padding: 10px;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: filter 0.15s ease;
}
.rdc-card-cotizar:hover {
	filter: brightness(1.08);
}
.rdc-card-cotizar.rdc-agregado {
	background: #1f9d4d;
	color: #fff;
}
.rdc-busc-vacio {
	color: #ccc;
	text-align: center;
	padding: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.rdc-busc-form {
		grid-template-columns: repeat(2, 1fr);
	}
	.rdc-busc-btn {
		grid-column: 1 / -1;
	}
}
@media (max-width: 520px) {
	.rdc-busc-form {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Botón flotante de cotización + WhatsApp (todo el sitio)
   ========================================================================== */
.rdc-flot {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	font-family: inherit;
}
.rdc-flot-btn {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}
.rdc-flot-btn:hover {
	transform: scale(1.06);
}
.rdc-flot-wa {
	background: #25d366;
}
.rdc-flot-wa svg {
	width: 34px;
	height: 34px;
	fill: #fff;
}
.rdc-flot-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	background: var(--rdc-amarillo, #f5b21a);
	color: #000;
	border-radius: 11px;
	font-size: 12px;
	font-weight: 800;
	display: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.rdc-flot-badge.activo {
	display: flex;
}

/* ==========================================================================
   CATÁLOGO / ARCHIVO DE CATEGORÍA
   ========================================================================== */
.rdc-shop {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 30px;
	align-items: start;
	max-width: 1280px;
	margin: 0 auto;
}

/* --- Sidebar --- */
.rdc-shop-sidebar-inner {
	font-size: 14px;
}
.rdc-side-block {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #eee;
}
.rdc-side-tit {
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 1px;
	color: #222;
	margin-bottom: 12px;
	text-transform: uppercase;
}
.rdc-side-filtrar {
	margin-bottom: 8px;
	padding-bottom: 8px;
}
.rdc-side-cats {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rdc-side-cats li {
	margin: 0 0 6px;
}
.rdc-side-cat {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: #444;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.15s ease, color 0.15s ease;
}
.rdc-side-cat:hover {
	background: #f6f6f6;
}
.rdc-side-cat.on {
	background: #f5b21a;
	color: #000;
}

/* Facetas (checkboxes) */
.rdc-facet {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rdc-facet li {
	margin: 0 0 4px;
}
.rdc-facet-opt {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 2px;
	color: #555;
	text-decoration: none;
	font-size: 14px;
}
.rdc-facet-box {
	width: 17px;
	height: 17px;
	border: 2px solid #cfcfcf;
	border-radius: 4px;
	flex-shrink: 0;
	position: relative;
	transition: all 0.15s ease;
}
.rdc-facet-opt.on .rdc-facet-box {
	background: #f5b21a;
	border-color: #f5b21a;
}
.rdc-facet-opt.on .rdc-facet-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 4px;
	height: 9px;
	border: solid #000;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.rdc-facet-name {
	flex: 1;
}
.rdc-facet-opt em {
	color: #aaa;
	font-style: normal;
	font-size: 13px;
}
.rdc-facet-opt.on {
	color: #111;
	font-weight: 600;
}

/* --- Main: cabecera (conteo + orden) --- */
.rdc-shop-main {
	min-width: 0;
}
.rdc-shop-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.rdc-shop-count {
	font-size: 20px;
	font-weight: 800;
	color: #111;
	text-transform: uppercase;
}
.rdc-shop-count strong {
	color: #f5b21a;
}
.rdc-shop-main .woocommerce-ordering {
	margin: 0;
}
.rdc-shop-main .woocommerce-ordering select {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 8px 12px;
}

/* --- Barra de dropdowns --- */
.rdc-shop-topbar {
	display: flex;
	gap: 12px;
	align-items: end;
	flex-wrap: wrap;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 22px;
}
.rdc-shop-sel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 150px;
}
.rdc-shop-sel span {
	font-size: 11px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.rdc-shop-sel select {
	height: 44px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 0 12px;
	background: #fff;
	font-weight: 600;
	color: #333;
	cursor: pointer;
}
.rdc-shop-limpiar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 16px;
	color: #666;
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
}
.rdc-shop-limpiar:hover {
	color: #f5b21a;
}

/* --- Grid de productos --- */
.rdc-shop-main ul.products {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.rdc-shop-main ul.products::before,
.rdc-shop-main ul.products::after {
	display: none !important;
}
.rdc-shop-main ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}
.rdc-shop-main ul.products li.product.rdc-prod-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	text-align: center !important;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.rdc-prod-card .rdc-prod-title,
.rdc-prod-card .rdc-prod-compat,
.rdc-prod-card .rdc-prod-stock {
	text-align: center !important;
}
.rdc-prod-card:hover {
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}
.rdc-prod-img {
	display: block;
	margin-bottom: 12px;
}
.rdc-prod-img img {
	width: 100%;
	height: 130px;
	object-fit: contain;
	display: block;
}
.rdc-prod-title {
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	color: #111;
	margin: 0 0 8px;
	line-height: 1.25;
}
.rdc-prod-title a {
	color: inherit;
	text-decoration: none;
}
.rdc-prod-compat {
	font-size: 12px;
	color: #888;
	margin-bottom: 8px;
	line-height: 1.4;
}
.rdc-prod-compat strong {
	display: block;
	color: #444;
}
.rdc-prod-stock {
	font-size: 13px;
	color: #1f9d4d;
	font-weight: 600;
	margin-bottom: 12px;
}
.rdc-prod-stock.no {
	color: #c0392b;
}
.rdc-prod-btn {
	margin-top: auto;
	background: #f5b21a;
	color: #000;
	border-radius: 8px;
	padding: 11px;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: filter 0.15s ease;
}
.rdc-prod-btn:hover {
	filter: brightness(1.08);
}

/* --- Paginación --- */
.rdc-shop-main .woocommerce-pagination {
	margin-top: 30px;
	text-align: center;
}
.rdc-shop-main .woocommerce-pagination ul {
	display: inline-flex;
	gap: 6px;
	border: none !important;
	list-style: none;
	padding: 0;
}
.rdc-shop-main .woocommerce-pagination ul li {
	border: none !important;
}
.rdc-shop-main .woocommerce-pagination a,
.rdc-shop-main .woocommerce-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid #e0e0e0 !important;
	border-radius: 50%;
	padding: 0 !important;
	color: #444;
	font-weight: 700;
}
.rdc-shop-main .woocommerce-pagination .current {
	background: #f5b21a !important;
	border-color: #f5b21a !important;
	color: #000 !important;
}

/* --- Responsive catálogo --- */
@media (max-width: 1280px) {
	.rdc-shop-main ul.products {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 1024px) {
	.rdc-shop-main ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 820px) {
	.rdc-shop {
		grid-template-columns: 1fr;
	}
	.rdc-shop-main ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 680px) {
	.rdc-shop-main ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 460px) {
	.rdc-shop-main ul.products {
		grid-template-columns: 1fr;
	}
	.rdc-shop-sel {
		min-width: 100%;
	}
}

/* ==========================================================================
   FICHA DE PRODUCTO (Single Product)
   ========================================================================== */

/* --- Layout general de la ficha --- */
.rdc-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 16px 40px;
}
.rdc-single-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
.rdc-single-info .rdc-single-title {
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	margin: 14px 0 6px;
	color: #111;
}
.rdc-single-sku {
	color: #888;
	font-size: 14px;
	margin-bottom: 14px;
}
.rdc-single-excerpt {
	color: #555;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 18px;
}

/* Galería: quita restos de precio/cart si algún hook los deja */
.rdc-single-media .price,
.rdc-single-info .price {
	display: none !important;
}

/* --- Galería con miniaturas verticales a la izquierda ---
   Flexslider envuelve la imagen principal en .flex-viewport, así que el
   grid se hace sobre: [miniaturas | imagen principal]. */
.rdc-single-media .woocommerce-product-gallery {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin: 0;
	float: none !important;
	width: 100% !important;
}

/* Imagen principal: con slider (.flex-viewport) o sin slider (__wrapper directo) */
.rdc-single-media .woocommerce-product-gallery .flex-viewport,
.rdc-single-media .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	margin: 0;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
}
.rdc-single-media .woocommerce-product-gallery__wrapper {
	margin: 0;
}
.rdc-single-media .woocommerce-product-gallery__image img {
	border-radius: 12px;
	display: block;
	width: 100%;
	height: auto;
}

/* Miniaturas a la izquierda */
.rdc-single-media .flex-control-thumbs {
	grid-column: 1;
	grid-row: 1;
	position: static !important;
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	width: 84px !important;
}
.rdc-single-media .flex-control-thumbs li {
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
	display: block;
}
.rdc-single-media .flex-control-thumbs img {
	width: 100%;
	border: 2px solid #ececec;
	border-radius: 8px;
	cursor: pointer;
	opacity: 1;
	transition: border-color 0.15s ease;
}
.rdc-single-media .flex-control-thumbs img.flex-active,
.rdc-single-media .flex-control-thumbs img:hover {
	border-color: #f5b21a;
}
.rdc-single-media .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
}
@media (max-width: 680px) {
	.rdc-single-media .woocommerce-product-gallery {
		grid-template-columns: 1fr;
	}
	.rdc-single-media .woocommerce-product-gallery .flex-viewport,
	.rdc-single-media .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-column: 1;
		grid-row: 1;
	}
	.rdc-single-media .flex-control-thumbs {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100% !important;
	}
	.rdc-single-media .flex-control-thumbs li {
		width: 64px !important;
	}
}

/* --- Features bajo la imagen --- */
.rdc-features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 18px;
	border-top: 1px solid #eee;
	padding-top: 16px;
}
.rdc-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
}
.rdc-feature svg {
	width: 28px;
	height: 28px;
	fill: #f5b21a;
}
.rdc-feature span {
	font-size: 10px;
	font-weight: 700;
	color: #444;
	line-height: 1.2;
	text-transform: uppercase;
}

/* --- Pestañas --- */
.rdc-single-tabs {
	margin-top: 40px;
}
.rdc-single-tabs .wc-tabs {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0 0 20px;
	padding: 0 0 0 0;
	border-bottom: 1px solid #e6e6e6;
	flex-wrap: wrap;
}
.rdc-single-tabs .wc-tabs li {
	margin: 0;
}
.rdc-single-tabs .wc-tabs li a {
	display: block;
	padding: 10px 2px;
	color: #666;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}
.rdc-single-tabs .wc-tabs li.active a {
	color: #111;
	border-bottom-color: #f5b21a;
}
.rdc-single-tabs .woocommerce-Tabs-panel h2 {
	display: none; /* Ocultar títulos duplicados de los paneles */
}
.rdc-single-compat {
	margin-top: 30px;
	max-width: 620px;
}

/* --- Responsive ficha --- */
@media (max-width: 900px) {
	.rdc-single-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
@media (max-width: 680px) {
	.rdc-features {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* --- Badge EN STOCK --- */
.rdc-badge-stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f5b21a;
	color: #000;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 1px;
	padding: 6px 14px;
	border-radius: 6px;
	text-transform: uppercase;
}
.rdc-badge-stock svg {
	width: 16px;
	height: 16px;
	fill: #1f9d4d;
	background: #fff;
	border-radius: 50%;
	padding: 1px;
}
.rdc-badge-stock.no {
	background: #eee;
	color: #666;
}

/* --- Tabla de especificaciones --- */
.rdc-specs {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	border-top: 1px solid #ececec;
}
.rdc-spec {
	display: grid;
	grid-template-columns: 34px 190px 1fr;
	align-items: center;
	gap: 14px;
	padding: 14px 4px;
	border-bottom: 1px solid #ececec;
	font-size: 15px;
}
.rdc-spec-ic {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 8px;
	background: rgba(245, 178, 26, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rdc-spec-ic svg {
	width: 20px;
	height: 20px;
	fill: #f5b21a;
}
.rdc-spec-lbl {
	color: #555;
	font-weight: 600;
}
.rdc-spec-val {
	color: #111;
	font-weight: 700;
}

/* --- Compatible con modelos --- */
.rdc-compat {
	background: #f6f6f6;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}
.rdc-compat-tit {
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 1px;
	color: #222;
	margin-bottom: 16px;
}
.rdc-compat-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px;
}
.rdc-compat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 14px;
	color: #333;
}
.rdc-compat-item svg {
	width: 46px;
	height: 46px;
	fill: #f5b21a;
}
.rdc-compat-mas {
	margin-top: 14px;
	color: #999;
	font-size: 12px;
	letter-spacing: 1px;
}

/* --- Caja "Cotiza ahora" --- */
.rdc-cotiza-box {
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 22px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	background: #fff;
}
.rdc-cotiza-tit {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	color: #111;
}
.rdc-cotiza-txt {
	margin: 0 0 16px;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
}
.rdc-cotiza-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1.5px solid #25d366;
	color: #128c3e;
	border-radius: 10px;
	padding: 14px 16px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.rdc-cotiza-btn:hover {
	background: #25d366;
	color: #fff;
}
.rdc-cotiza-btn svg {
	width: 24px;
	height: 24px;
	fill: #25d366;
	flex-shrink: 0;
}
.rdc-cotiza-btn:hover svg {
	fill: #fff;
}
.rdc-cotiza-btn em {
	margin-left: auto;
	font-style: normal;
	font-size: 22px;
	line-height: 1;
}

@media (max-width: 480px) {
	.rdc-spec {
		grid-template-columns: 34px 1fr;
	}
	.rdc-spec-ic {
		grid-row: 1 / span 2;
	}
}

/* ==========================================================================
   Botón COTIZAR + stock dentro de loops/carruseles  [rdc_cotizar_btn]
   ========================================================================== */
.rdc-loop-cotizar {
	text-align: center;
	margin-top: 10px;
}
.rdc-loop-cotizar .rdc-card-stock {
	margin-bottom: 10px;
}
.rdc-loop-cotizar .rdc-card-stock.rdc-agotado {
	color: #c0392b;
}
.rdc-loop-cotizar .rdc-card-cotizar {
	display: inline-block;
	width: 100%;
	max-width: 240px;
}

/* ==========================================================================
   Sección "¿No encuentras el repuesto?"  [rdc_ayuda]
   ========================================================================== */
.rdc-ayuda {
	--rdc-amarillo: #f5b21a;
	background: linear-gradient( 100deg, #0d0d0d 55%, #1a1a1a 100% );
	border-radius: 12px;
	padding: 32px clamp(16px, 4vw, 48px);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 28px;
	align-items: center;
	color: #fff;
	font-family: inherit;
}
.rdc-ayuda-titulo {
	margin: 0 0 10px;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}
.rdc-ayuda-titulo::first-line {
	color: #fff;
}
.rdc-ayuda-texto {
	margin: 0;
	color: #cfcfcf;
	font-size: 15px;
}
.rdc-ayuda-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.rdc-ayuda-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #161616;
	border: 1px solid #2e2e2e;
	border-radius: 10px;
	padding: 18px;
	text-align: left;
	cursor: pointer;
	color: #fff;
	transition: border-color 0.15s ease, transform 0.15s ease;
	font-family: inherit;
}
.rdc-ayuda-card:hover {
	border-color: var(--rdc-amarillo);
	transform: translateY(-2px);
}
.rdc-ayuda-icono svg {
	width: 34px;
	height: 34px;
	fill: var(--rdc-amarillo);
	flex-shrink: 0;
}
.rdc-ayuda-card-txt {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}
.rdc-ayuda-card-txt strong {
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}
.rdc-ayuda-card-txt small {
	color: #aaa;
	font-size: 12px;
}
.rdc-ayuda-flecha {
	margin-left: auto;
	color: var(--rdc-amarillo);
	font-size: 20px;
	font-weight: 700;
}
@media (max-width: 820px) {
	.rdc-ayuda {
		grid-template-columns: 1fr;
	}
	.rdc-ayuda-cards {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Modales (WhatsApp / Subir foto)
   ========================================================================== */
.rdc-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.rdc-modal-overlay.abierto {
	display: flex;
}
.rdc-modal {
	--rdc-amarillo: #f5b21a;
	background: #0d0d0d;
	border: 1px solid #2e2e2e;
	border-radius: 14px;
	width: 380px;
	max-width: 100%;
	padding: 28px 24px 24px;
	text-align: center;
	color: #fff;
	position: relative;
	font-family: inherit;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rdc-modal-cerrar {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	color: #888;
	font-size: 22px;
	cursor: pointer;
	line-height: 1;
}
.rdc-modal-cerrar:hover {
	color: #fff;
}
.rdc-modal-icono {
	width: 72px;
	height: 72px;
	margin: 4px auto 16px;
	border-radius: 50%;
	background: rgba(245, 178, 26, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rdc-modal-icono svg {
	width: 40px;
	height: 40px;
	fill: var(--rdc-amarillo);
}
.rdc-modal-icono.ok {
	background: rgba(31, 157, 77, 0.15);
}
.rdc-modal-icono.ok svg {
	fill: #1f9d4d;
}
.rdc-modal-titulo {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 8px;
}
.rdc-modal-texto {
	color: #bbb;
	font-size: 14px;
	margin: 0 0 20px;
	line-height: 1.5;
}
.rdc-modal-btn {
	display: block;
	width: 100%;
	background: var(--rdc-amarillo);
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 14px;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.5px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	margin-bottom: 10px;
	transition: filter 0.15s ease;
}
.rdc-modal-btn:hover {
	filter: brightness(1.08);
}
.rdc-modal-opcion {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	background: #161616;
	border: 1px solid #2e2e2e;
	border-radius: 8px;
	padding: 14px 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 10px;
	text-align: left;
	transition: border-color 0.15s ease;
	font-family: inherit;
}
.rdc-modal-opcion:hover {
	border-color: var(--rdc-amarillo);
}
.rdc-modal-opcion svg {
	width: 22px;
	height: 22px;
	fill: var(--rdc-amarillo);
	flex-shrink: 0;
}
.rdc-modal-cancelar {
	background: none;
	border: none;
	color: #999;
	font-size: 14px;
	cursor: pointer;
	margin-top: 6px;
	text-decoration: underline;
}
.rdc-modal-preview {
	max-width: 100%;
	max-height: 160px;
	border-radius: 8px;
	margin: 0 auto 16px;
	display: block;
}
.rdc-modal-cargando {
	color: var(--rdc-amarillo);
	font-weight: 700;
	margin: 16px 0;
}
.rdc-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #333;
	border-top-color: var(--rdc-amarillo);
	border-radius: 50%;
	margin: 0 auto 12px;
	animation: rdc-spin 0.8s linear infinite;
}
@keyframes rdc-spin {
	to { transform: rotate(360deg); }
}

/* Panel de cotización */
.rdc-panel {
	position: fixed;
	right: 20px;
	bottom: 92px;
	width: 320px;
	max-width: calc(100vw - 40px);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	overflow: hidden;
	display: none;
}
.rdc-panel.abierto {
	display: block;
}
.rdc-panel-head {
	background: #0d0d0d;
	color: #fff;
	padding: 14px 16px;
	font-weight: 800;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.rdc-panel-cerrar {
	background: none;
	border: none;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	line-height: 1;
}
.rdc-panel-body {
	max-height: 300px;
	overflow-y: auto;
	padding: 8px 0;
}
.rdc-panel-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	color: #222;
}
.rdc-panel-item button {
	background: none;
	border: none;
	color: #d33;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
}
.rdc-panel-vacio {
	padding: 24px 16px;
	text-align: center;
	color: #888;
	font-size: 14px;
}
.rdc-panel-foot {
	padding: 14px 16px;
}
.rdc-panel-enviar {
	display: block;
	width: 100%;
	background: #25d366;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 15px;
	border: none;
	cursor: pointer;
}
.rdc-panel-enviar[aria-disabled="true"] {
	opacity: 0.5;
	pointer-events: none;
}
