/* ==========================================================================
   Rod May — estilos generales para las páginas que siguen usando AmberSix
   (Cutters, Recursos, Contacto, políticas, tienda…). Home y Nosotros usan
   el CSS de Webflow tal cual y no cargan este archivo.
   ========================================================================== */

:root {
	--rm-naranja: #e34821;
	--rm-naranja-oscuro: #c63c19;
	--rm-negro: #111;
	--rm-gris: #3a3f42;
	--rm-gris-medio: #6b7175;
	--rm-linea: #e4e4e4;
	--rm-fondo: #f4f4f2;
	--rm-radio: 999px;
	--rm-lado: 30px;
}

/* --- Base ---------------------------------------------------------------- */
body.rm-site {
	font-family: Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--rm-gris);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.rm-site #page { background: #fff; }

:where(body.rm-site) h1, :where(body.rm-site) h2, :where(body.rm-site) h3,
:where(body.rm-site) h4, :where(body.rm-site) h5, :where(body.rm-site) h6 {
	font-family: Roboto, sans-serif;
	font-style: normal;
	font-weight: 500;
	color: var(--rm-negro);
	letter-spacing: -.01em;
	line-height: 1.15;
	margin: 0 0 .6em;
}
:where(body.rm-site) h1 { font-size: 56px; }
:where(body.rm-site) h2 { font-size: 40px; }
:where(body.rm-site) h3 { font-size: 28px; }
:where(body.rm-site) h4 { font-size: 22px; }
:where(body.rm-site) h5 { font-size: 18px; }
:where(body.rm-site) h6 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }

:where(body.rm-site) p { margin: 0 0 1.1em; }
:where(body.rm-site) strong, :where(body.rm-site) b { font-weight: 500; color: var(--rm-negro); }

:where(body.rm-site) a { color: var(--rm-naranja); transition: color .2s, background-color .2s, opacity .2s; }
:where(body.rm-site) a:hover, :where(body.rm-site) a:focus { color: var(--rm-naranja-oscuro); }

:where(body.rm-site) blockquote {
	border-left: 3px solid var(--rm-naranja);
	padding: 4px 0 4px 24px;
	margin: 32px 0;
	font-size: 22px;
	font-weight: 300;
	font-style: normal;
	color: var(--rm-negro);
}
:where(body.rm-site) ::selection { background: var(--rm-naranja); color: #fff; }

/* --- Estructura ---------------------------------------------------------- */
body.rm-site .ambersix-container {
	width: auto;
	max-width: 1440px;
	padding-left: var(--rm-lado);
	padding-right: var(--rm-lado);
	box-sizing: border-box;
}
body.rm-site #main-content { padding: 72px 0 100px; overflow-x: clip; }
body.rm-site.no-padding-content #main-content { padding: 0; }

/* Elementos de AmberSix que ya no se usan */
body.rm-site #scroll-top,
body.rm-site #site-header-wrap,
body.rm-site #top-bar,
body.rm-site #footer-widgets,
body.rm-site #bottom,
body.rm-site .header-search-wrap,
body.rm-site .animsition-loading { display: none !important; }
body.rm-site #page.animsition { opacity: 1 !important; }

/* --- Encabezado de página (sustituye al "featured title") ----------------- */
#featured-title.rm-page-head {
	background: #fff;
	padding: 150px 0 0;
	margin: 0;
	border: 0;
	text-align: left;
}
.rm-page-head-inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--rm-lado);
	box-sizing: border-box;
}
#featured-title.rm-page-head #breadcrumbs.rm-breadcrumbs {
	display: block;
	width: auto;
	text-align: left;
	font-weight: 400;
}
#featured-title #breadcrumbs.rm-breadcrumbs a,
#featured-title #breadcrumbs.rm-breadcrumbs span {
	font-weight: 400;
	padding-right: 0;
}
#featured-title #breadcrumbs.rm-breadcrumbs .breadcrumb-trail > a { margin-right: 6px; }
#featured-title #breadcrumbs.rm-breadcrumbs .breadcrumb-trail > a:after {
	content: "/";
	font-family: inherit;
	position: static;
	margin-left: 6px;
	opacity: .5;
}
#featured-title #breadcrumbs.rm-breadcrumbs a:hover { color: var(--rm-naranja); }
.rm-page-head.is-empty { padding: 110px 0 0 !important; }
.rm-breadcrumbs {
	font-size: 14px;
	line-height: 1.4;
	color: var(--rm-gris-medio);
	margin: 0 0 20px;
}
#featured-title #breadcrumbs.rm-breadcrumbs a { color: var(--rm-gris-medio); text-decoration: none; }
body.rm-site .rm-page-title {
	color: var(--rm-naranja);
	font-size: clamp(56px, 8.4vw, 128px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.02em;
	margin: 0;
	max-width: 15ch;
	overflow-wrap: break-word;
}
#featured-title.rm-page-head.is-compact .rm-page-title {
	font-size: clamp(36px, 4vw, 56px);
	max-width: 22ch;
	letter-spacing: -.01em;
}
#featured-title.rm-page-head + #main-content,
#featured-title.rm-page-head ~ #main-content { padding-top: 56px; }


/* --- Botones ------------------------------------------------------------- */
:where(body.rm-site) button,
:where(body.rm-site) input[type="button"],
:where(body.rm-site) input[type="reset"],
:where(body.rm-site) input[type="submit"],
body.rm-site .button,
body.rm-site .wpcf7-submit {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
	background: var(--rm-naranja);
	border: 1px solid var(--rm-naranja);
	border-radius: var(--rm-radio);
	padding: 16px 32px;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
:where(body.rm-site) button:hover,
:where(body.rm-site) input[type="submit"]:hover,
body.rm-site .button:hover,
body.rm-site .wpcf7-submit:hover {
	background: var(--rm-negro);
	border-color: var(--rm-negro);
	color: #fff;
}
/* los botones del header/footer conservan sus estilos propios */
:where(body.rm-site) button.header-menu-btn { border: 0; }

/* Botones de WPBakery con el estilo nuevo */
body.rm-site .vc_btn3,
body.rm-site .wprt-button,
:where(body.rm-site) a.wprt-button {
	font-family: Roboto, sans-serif !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border-radius: var(--rm-radio) !important;
	background-color: var(--rm-naranja) !important;
	border-color: var(--rm-naranja) !important;
	color: #fff !important;
	background-image: none !important;
}
body.rm-site .vc_btn3:hover,
body.rm-site .wprt-button:hover {
	background-color: var(--rm-negro) !important;
	border-color: var(--rm-negro) !important;
}

/* --- Formularios (Contact Form 7 y generales) ---------------------------- */
:where(body.rm-site) input[type="text"],
:where(body.rm-site) input[type="email"],
:where(body.rm-site) input[type="tel"],
:where(body.rm-site) input[type="url"],
:where(body.rm-site) input[type="number"],
:where(body.rm-site) input[type="search"],
:where(body.rm-site) input[type="password"],
:where(body.rm-site) select,
:where(body.rm-site) textarea {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	color: var(--rm-negro);
	background: #fff;
	border: 1px solid #cfd2d4;
	border-radius: 8px;
	padding: 14px 16px;
	height: auto;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
:where(body.rm-site) textarea { min-height: 160px; }
:where(body.rm-site) input:focus,
:where(body.rm-site) select:focus,
:where(body.rm-site) textarea:focus {
	border-color: var(--rm-naranja);
	box-shadow: 0 0 0 3px rgba(227, 72, 33, .15);
	outline: none;
}
:where(body.rm-site) ::placeholder { color: #8a9094; opacity: 1; }

.wpcf7 label { display: block; font-size: 14px; font-weight: 500; color: var(--rm-negro); margin-bottom: 6px; }
.wpcf7 p { margin-bottom: 18px; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--rm-naranja); font-size: 13px; margin-top: 6px; }
.wpcf7 .wpcf7-not-valid { border-color: var(--rm-naranja) !important; }
.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border-radius: 8px;
	font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e8b57; background: #f1faf4; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--rm-naranja); background: #fdf2ee; }
.wpcf7 .wpcf7-acceptance, .wpcf7 .wpcf7-checkbox { font-size: 14px; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }

/* --- Contenido de WPBakery / wprt ----------------------------------------- */
body.rm-site .vc_custom_heading,
body.rm-site .wprt-headings .heading {
	font-family: Roboto, sans-serif !important;
	font-style: normal !important;
	font-weight: 500 !important;
	letter-spacing: -.01em !important;
}
body.rm-site .wprt-headings .sub-heading { font-family: Roboto, sans-serif; font-style: normal; color: var(--rm-gris); }
body.rm-site .wprt-headings .sep { background-color: var(--rm-naranja); }
body.rm-site .entry-content ul:not([class]),
body.rm-site .wpb_text_column ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
body.rm-site .entry-content ul:not([class]) > li,
body.rm-site .wpb_text_column ul > li { position: relative; padding-left: 22px; margin-bottom: 8px; }
body.rm-site .entry-content ul:not([class]) > li::before,
body.rm-site .wpb_text_column ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 8px;
	height: 8px;
	background: var(--rm-naranja);
}
body.rm-site .entry-content img { border-radius: 0; }

/* Pestañas (Recursos) */
body.rm-site .vc_tta.vc_general .vc_tta-tab > a,
body.rm-site .vc_tta.vc_general .vc_tta-panel-title > a {
	font-family: Roboto, sans-serif;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
body.rm-site .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab.vc_active > a,
body.rm-site .vc_tta-color-grey.vc_tta-style-classic .vc_tta-tab > a:hover {
	color: var(--rm-naranja);
}
body.rm-site .vc_tta-tabs-list { border-bottom: 1px solid var(--rm-linea); }

/* Videos responsivos */
body.rm-site .entry-content iframe[src*="youtube"],
body.rm-site .wpb_video_widget iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Tablas */
:where(body.rm-site) table { width: 100%; border-collapse: collapse; font-size: 15px; }
:where(body.rm-site) th, :where(body.rm-site) td { border: 1px solid var(--rm-linea); padding: 12px 14px; text-align: left; }
:where(body.rm-site) th { background: var(--rm-fondo); color: var(--rm-negro); font-weight: 500; }

/* Paginación general */
body.rm-site .page-numbers li .page-numbers,
body.rm-site .ambersix-pagination .page-numbers {
	border-radius: var(--rm-radio);
	font-family: Roboto, sans-serif;
}
body.rm-site .page-numbers .current { background: var(--rm-naranja); border-color: var(--rm-naranja); color: #fff; }

/* Sidebar y widgets */
body.rm-site #sidebar .widget { margin-bottom: 40px; }
body.rm-site #sidebar .widget .widget-title {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--rm-gris-medio);
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}
body.rm-site #sidebar .widget .widget-title:before,
body.rm-site #sidebar .widget .widget-title:after { display: none; }
body.rm-site #sidebar ul { list-style: none; margin: 0; padding: 0; }
body.rm-site #sidebar li { margin: 0; padding: 0; border: 0; }
body.rm-site #sidebar li a {
	display: block;
	padding: 9px 0;
	color: var(--rm-negro);
	border-bottom: 1px solid var(--rm-linea);
	font-size: 16px;
}
body.rm-site #sidebar li a:hover,
body.rm-site #sidebar li.current-cat > a { color: var(--rm-naranja); }
body.rm-site #sidebar li .children { padding-left: 14px; }
body.rm-site #inner-content:after,
body.rm-site #inner-sidebar:after { display: none; }

/* Página 404 / búsqueda */
body.rm-site .error404-content .heading,
body.rm-site .no-results .page-title { font-family: Roboto, sans-serif; }

/* --- Responsive ---------------------------------------------------------- */
@media screen and (max-width: 991px) {
	:root { --rm-lado: 24px; }
	:where(body.rm-site) h1 { font-size: 44px; }
	:where(body.rm-site) h2 { font-size: 34px; }
	:where(body.rm-site) h3 { font-size: 24px; }
	#featured-title.rm-page-head { padding-top: 130px; }
	body.rm-site #main-content { padding: 56px 0 80px; }
	body.rm-site #site-content,
	body.rm-site #sidebar { float: none; width: 100%; }
	body.rm-site #sidebar { margin-top: 56px; }
}
@media screen and (max-width: 767px) {
	:root { --rm-lado: 20px; }
	body.rm-site { font-size: 16px; }
	:where(body.rm-site) h1 { font-size: 36px; }
	:where(body.rm-site) h2 { font-size: 28px; }
	:where(body.rm-site) h3 { font-size: 22px; }
	#featured-title.rm-page-head { padding-top: 112px; }
	.rm-breadcrumbs { font-size: 13px; margin-bottom: 14px; }
	#featured-title.rm-page-head ~ #main-content { padding-top: 40px; }
	body.rm-site #main-content { padding-bottom: 64px; }
}
@media screen and (max-width: 479px) {
	body.rm-site .rm-page-title { font-size: 44px; }
	#featured-title.rm-page-head.is-compact .rm-page-title { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
	body.rm-site * { transition: none !important; }
}

/* Texto de entrada bajo el título (descripción de categoría) */
.rm-page-lead {
	max-width: 760px;
	margin-top: 28px;
	font-size: 24px;
	font-weight: 300;
	line-height: 1.45;
	color: var(--rm-negro);
}
.rm-page-lead p { margin: 0; }
@media screen and (max-width: 767px) { .rm-page-lead { font-size: 19px; margin-top: 18px; } }

/* --- Bloques de AmberSix usados en el contenido actual ------------------- */
/* Frase de entrada (singleheading) en Cutters y Recursos */
body.rm-site .ambersix-single-heading { padding-left: 0 !important; margin-bottom: 48px; }
body.rm-site .ambersix-single-heading .heading,
body.rm-site .ambersix-single-heading .inner { padding-left: 0 !important; margin-left: 0 !important; }
body.rm-site .ambersix-single-heading .line { display: none; }
body.rm-site .ambersix-single-heading .heading {
	display: block;
	max-width: 900px;
	font-family: Roboto, sans-serif !important;
	font-size: clamp(22px, 2.4vw, 32px) !important;
	font-weight: 300 !important;
	font-style: normal !important;
	line-height: 1.35 !important;
	letter-spacing: -.005em !important;
	color: var(--rm-negro) !important;
	text-transform: none !important;
}
/* Logos de marcas sobre la frase de Cutters */
body.rm-site.page .wpb_single_image.vc_custom_1650631839238 { margin-top: 0 !important; }

/* Títulos de bloque */
body.rm-site .ambersix-headings .heading,
body.rm-site .ambersix-headings h3,
body.rm-site .ambersix-headings h4 {
	font-family: Roboto, sans-serif !important;
	font-style: normal !important;
	text-transform: none !important;
	font-weight: 500 !important;
	letter-spacing: -.005em !important;
	color: var(--rm-negro);
}
body.rm-site .ambersix-headings .sep { display: none; }

/* Lista de enlaces a PDF (Recursos) */
body.rm-site a.ambersix-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--rm-linea);
	color: var(--rm-negro);
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
body.rm-site a.ambersix-links:hover { color: var(--rm-naranja); }
body.rm-site a.ambersix-links .line { display: none; }
body.rm-site a.ambersix-links::after {
	content: "";
	flex: 0 0 18px;
	height: 18px;
	background: url("../img/rodmay-icono-flecha-naranja.svg") center / contain no-repeat;
	transition: transform .2s;
}
body.rm-site a.ambersix-links:hover::after { transform: translateX(3px); }
body.rm-site div:has(> a.ambersix-links) { margin: 0 !important; }

/* Pestañas de Recursos (plugin tabs-for-visual-composer) */
body.rm-site .wdo-tabs-container { margin: 0; }
body.rm-site .wdo-tabs-container .nav-tabs {
	display: flex;
	gap: 32px;
	margin: 0 0 48px !important;
	padding: 0;
	border-bottom: 1px solid var(--rm-linea);
	list-style: none;
}
body.rm-site .wdo-tabs-container .nav-tabs::before,
body.rm-site .wdo-tabs-container .nav-tabs::after { display: none !important; content: none; }
body.rm-site .wdo-tabs-container.row { margin-left: 0; margin-right: 0; }
body.rm-site .wdo-tabs-container .nav-tabs li { margin: 0; padding: 0; float: none; }
body.rm-site .wdo-tabs-container .nav-tabs li::before { display: none; }
body.rm-site .orange .tc-tabs-style3 .nav-tabs li a,
body.rm-site .wdo-tabs-container .nav-tabs li a {
	font-family: Roboto, sans-serif;
	font-size: 20px !important;
	font-weight: 500;
	color: var(--rm-gris-medio) !important;
	padding: 0 0 14px !important;
	margin: 0 0 -1px !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: none !important;
}
body.rm-site .orange .tc-tabs-style3 .nav-tabs li a:after { display: none !important; }
body.rm-site .orange .tc-tabs-style3 .nav-tabs li.active a,
body.rm-site .orange .tc-tabs-style3 .nav-tabs li a:hover {
	color: var(--rm-naranja) !important;
	border-bottom-color: var(--rm-naranja) !important;
}
body.rm-site .wpb_video_widget { margin-bottom: 16px; }

/* Contacto: zonas de WhatsApp */
body.rm-site img.whatsapp {
	width: 44px !important;
	height: 44px !important;
	margin: 0 0 10px !important;
	border: 0;
}
body.rm-site .wpb_raw_html a { display: block; color: inherit; margin-bottom: 28px; }
body.rm-site .wpb_raw_html a:empty { display: none; }
body.rm-site .wpb_raw_html a h4 {
	color: var(--rm-naranja) !important;
	font-size: 22px;
	margin: 0 0 4px !important;
	transition: color .2s;
}
body.rm-site .wpb_raw_html a p { color: var(--rm-gris) !important; font-size: 15px; margin: 0; }
body.rm-site .wpb_raw_html a:hover h4 { color: var(--rm-negro) !important; }

/* Formulario de contacto en dos columnas */
body.rm-site .wpcf7 form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 16px;
}
body.rm-site .wpcf7 form > * { grid-column: 1 / -1; }
body.rm-site .wpcf7 form > p:not(:has(textarea)):not(:has(.wpcf7-submit)):not(:has(.wpcf7-acceptance)) { grid-column: auto; }
body.rm-site .wpcf7 form > p { margin: 0 0 16px; }
body.rm-site .wpcf7 form > p:has([name="producto"]):not(:has(textarea)):not(:has(.wpcf7-submit)):not(:has(.wpcf7-acceptance)) { grid-column: 1 / -1; }
body.rm-site .wpcf7 .wpcf7-form-control-wrap { display: block; }
body.rm-site .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
body.rm-site .wpcf7 select,
body.rm-site .wpcf7 textarea { width: 100%; box-sizing: border-box; }
body.rm-site .wpcf7 form label { margin: 0; }
@media screen and (max-width: 767px) {
	body.rm-site .wpcf7 form { grid-template-columns: 1fr; }
}

/* reCAPTCHA: sin distintivo flotante (el aviso va en texto bajo el formulario) */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none; }
body.rm-site .wpcf7 form > .rm-recaptcha-note,
.rm-recaptcha-note {
	grid-column: 1 / -1;
	font-size: 12px;
	line-height: 1.5;
	color: var(--rm-gris-medio);
	margin: 14px 0 0;
}
.rm-recaptcha-note a { color: inherit; text-decoration: underline; }

/* Aviso de cookies desactivado (plugin CookieYes / Cookie Law Info) */
#cookie-law-info-bar,
#cookie-law-info-again,
.cli-modal-backdrop,
.cky-consent-container,
.cky-btn-revisit-wrapper { display: none !important; }
