.tibor-cnc-maquinas-product .wp-block-woocommerce-add-to-cart-form,
.tibor-cnc-maquinas-product form.cart {
	display: none !important;
}

.tibor-cnc-maquinas-product div.product .woocommerce-product-gallery {
	display: none !important;
}

.tibor-cnc-maquinas-product div.product .summary {
	float: none !important;
	margin-inline: auto !important;
	max-width: 1180px;
	width: 100% !important;
}

.tcut-module {
	--tcut-blue: var(--color-primary, #0b3989);
	--tcut-ink: var(--color-text, #2d3748);
	--tcut-muted: var(--color-muted, #718096);
	--tcut-line: var(--color-border, #dce5f0);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	margin: 24px 0 40px;
	max-width: 1180px;
}

.tcut-module [hidden] { display: none !important; }

.tcut-technology {
	align-items: center;
	background: linear-gradient(135deg, #f7faff, #eef4fc);
	border: 1px solid var(--tcut-line);
	border-radius: 14px;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
	margin-bottom: 22px;
	padding: 20px 22px;
}

.tcut-eyebrow {
	color: var(--tcut-blue);
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.tcut-technology label { color: var(--tcut-ink); display: block; font-size: 21px; font-weight: 800; line-height: 1.2; }
.tcut-technology p { color: var(--tcut-muted); font-size: 13px; margin: 5px 0 0; }
.tcut-technology select { background: #fff; border: 1px solid #aec1da; border-radius: 9px; color: var(--tcut-ink); font: inherit; font-size: 16px; font-weight: 700; height: 52px; margin: 0; padding: 0 14px; width: 100%; }
.tcut-technology select:focus { border-color: var(--tcut-blue); box-shadow: 0 0 0 3px rgba(11, 57, 137, .14); outline: none; }
.tcut-unavailable { background: #fff8e6; border: 1px solid #ecd394; border-radius: 12px; color: #755000; padding: 20px; }
.tcut-unavailable p { margin: 5px 0 0; }
.tcut-module .tcnc, .tcut-module .tcv { margin-top: 0; }

.tcnc {
	--blue: var(--color-primary, #0b3989);
	--blue-dark: #072e70;
	--ink: var(--color-text, #2d3748);
	--muted: var(--color-muted, #718096);
	--line: var(--color-border, #e2e8f0);
	--soft: var(--color-background, #f5f7fa);
	--surface: #fff;
	--success: #17653a;
	--danger: #a11a1a;
	color: var(--ink);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 24px 0 40px;
	max-width: 1180px;
}

.tcnc *, .tcnc *::before, .tcnc *::after { box-sizing: border-box; }

.tcnc-intro {
	align-items: end;
	display: flex;
	gap: 32px;
	justify-content: space-between;
	margin-bottom: 24px;
}

.tcnc-eyebrow, .tcnc-card-label {
	color: var(--blue);
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tcnc-intro h2 {
	color: var(--ink);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 750;
	letter-spacing: -.025em;
	line-height: 1.12;
	margin: 5px 0 8px;
}

.tcnc-intro p { color: var(--muted); font-size: 14px; margin: 0; max-width: 600px; }

.tcnc-steps { display: flex; flex: 0 0 auto; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tcnc-steps li { align-items: center; color: var(--muted); display: flex; font-size: 12px; font-weight: 700; gap: 7px; padding: 5px; }
.tcnc-steps li span { align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; display: inline-flex; height: 28px; justify-content: center; width: 28px; }
.tcnc-steps li.is-active, .tcnc-steps li.is-complete { color: var(--blue); }
.tcnc-steps li.is-active span { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 57, 137, .1); color: #fff; }
.tcnc-steps li.is-complete span { background: #e9f6ef; border-color: #a9d6bc; color: var(--success); }

.tcnc-upload {
	align-items: center;
	background: #f8fbff;
	border: 2px dashed #aec4e3;
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	gap: 16px;
	min-height: 126px;
	padding: 24px;
	touch-action: manipulation;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tcnc-upload:hover, .tcnc-upload.is-dragging { background: #eef4fc; border-color: var(--blue); }
.tcnc-upload:focus-visible, .tcnc button:focus-visible, .tcnc input:focus-visible, .tcnc select:focus-visible, .tcnc summary:focus-visible { box-shadow: 0 0 0 3px rgba(11, 57, 137, .2); outline: 2px solid transparent; }
.tcnc-upload-icon { align-items: center; background: #e7effb; border-radius: 50%; color: var(--blue); display: flex; flex: 0 0 56px; height: 56px; justify-content: center; }
.tcnc-upload-icon svg { height: 28px; width: 28px; }
.tcnc-upload-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.tcnc-upload-copy strong { color: var(--ink); font-size: 17px; font-weight: 750; }
.tcnc-upload-copy small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.tcnc-upload-action { background: var(--blue); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 750; min-width: 112px; padding: 12px 20px; text-align: center; }
.tcnc-upload-note { align-items: center; color: var(--muted); display: flex; font-size: 12px; gap: 6px; margin: 9px 3px 0; }
.tcnc-upload-note svg { fill: none; height: 16px; stroke: var(--success); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 16px; }

.tcnc-notice { border: 1px solid transparent; border-radius: 8px; font-size: 14px; margin: 14px 0; padding: 12px 14px; }
.tcnc-notice.is-error { background: #fff2f2; border-color: #f0b7b7; color: var(--danger); }
.tcnc-notice.is-warning { background: #fff8e6; border-color: #ecd394; color: #755000; }
.tcnc-notice.is-success { background: #edf8f1; border-color: #b9dec8; color: var(--success); }
.tcnc-notice.is-info { background: #eef4fc; border-color: #bed0e9; color: var(--blue); }
.tcnc-loading { align-items: center; display: flex; gap: 13px; justify-content: center; min-height: 150px; padding: 36px 12px; }
.tcnc-loading span { animation: tcnc-spin .8s linear infinite; border: 3px solid #d9e5f3; border-radius: 50%; border-top-color: var(--blue); height: 30px; width: 30px; }
.tcnc-loading p { color: var(--muted); font-size: 14px; margin: 0; }
@keyframes tcnc-spin { to { transform: rotate(360deg); } }

.tcnc-workspace { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); margin-top: 24px; }
.tcnc-visual, .tcnc-options { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 22px rgba(28, 53, 86, .06); padding: 20px; }
.tcnc-preview { align-items: center; background: #f7f9fc; border: 1px solid #edf1f6; border-radius: 9px; display: flex; height: 410px; justify-content: center; margin-top: 12px; overflow: hidden; padding: 22px; }
.tcnc-preview svg { height: 100%; max-height: 100%; max-width: 100%; width: 100%; }
.tcnc-filename { align-items: center; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; font-size: 13px; gap: 12px; justify-content: space-between; padding: 14px 2px; }
.tcnc-filename > [data-file-name] { font-weight: 750; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcnc-file-actions { align-items: center; display: flex; flex: 0 0 auto; gap: 4px; }
.tcnc-filename button { background: transparent; border: 0; color: var(--blue); cursor: pointer; font: inherit; font-weight: 750; min-height: 44px; padding: 8px; }
.tcnc-filename button.is-delete { color: var(--danger); }
.tcnc-filename button:disabled { cursor: wait; opacity: .55; }
.tcnc-batch-progress { background: #eef4fc; border-radius: 7px; color: var(--blue); font-size: 12px; font-weight: 700; margin: 9px 0 0; padding: 9px 11px; }
.tcnc-metrics { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); padding-top: 16px; }
.tcnc-metrics div { background: var(--soft); border: 1px solid #edf1f6; border-radius: 8px; min-width: 0; padding: 11px; }
.tcnc-metrics span { color: var(--muted); display: block; font-size: 10px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.tcnc-metrics strong { display: block; font-size: 13px; font-variant-numeric: tabular-nums; margin-top: 3px; overflow-wrap: anywhere; }

.tcnc-options { position: relative; }
.tcnc-options-heading { margin-bottom: 18px; }
.tcnc-options-heading h3 { color: var(--ink); font-size: 20px; margin: 4px 0 0; }
.tcnc.is-calculating .tcnc-price { opacity: .62; }
.tcnc-field { display: flex; flex-direction: column; gap: 7px; }
.tcnc-field label, .tcnc-extras legend { color: #34465c; font-size: 13px; font-weight: 750; }
.tcnc-field input, .tcnc-field select, .tcnc-extra-number input { background: #fff; border: 1px solid #cbd7e5; border-radius: 8px; box-shadow: none; color: var(--ink); font: inherit; font-size: 16px; height: 48px; margin: 0; padding: 0 13px; width: 100%; }
.tcnc-field input:focus, .tcnc-field select:focus, .tcnc-extra-number input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 57, 137, .12); outline: none; }
.tcnc-field-wide { margin-bottom: 16px; }
.tcnc-dimensions { align-items: end; display: grid; gap: 8px; grid-template-columns: 1fr 44px 1fr; margin-bottom: 16px; }
.tcnc-lock { align-items: center; background: #edf3fb; border: 1px solid #cbd7e5; border-radius: 50%; color: #8291a3; cursor: pointer; display: flex; height: 44px; justify-content: center; padding: 0; width: 44px; }
.tcnc-lock svg { height: 18px; width: 18px; }
.tcnc-lock.is-locked { background: #e7f0ff; border-color: #9dbbe4; color: var(--blue); }
.tcnc-size-confirmation { align-items: flex-start; background: #fff8e6; border: 1px solid #ecd394; border-radius: 8px; color: #755000; cursor: pointer; display: flex; gap: 10px; margin: -4px 0 16px; padding: 12px 14px; }
.tcnc-size-confirmation[hidden] { display: none; }
.tcnc-size-confirmation input { accent-color: var(--blue); flex: 0 0 auto; height: 18px; margin: 2px 0 0; width: 18px; }
.tcnc-size-confirmation span { display: flex; flex-direction: column; gap: 2px; }
.tcnc-size-confirmation strong { font-size: 12px; }
.tcnc-size-confirmation small { font-size: 11px; line-height: 1.4; }
.tcnc-quantity { margin-bottom: 18px; max-width: 180px; }
.tcnc-field-help { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 0; }

.tcnc-price { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-radius: 10px; color: #fff; margin-top: 16px; padding: 18px; transition: opacity 150ms ease; }
.tcnc-price > div { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.tcnc-price span { font-size: 13px; font-weight: 700; }
.tcnc-price strong { font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1; }
.tcnc-price p { color: #dbe8fb; font-size: 11px; margin: 6px 0 0; text-align: right; }
.tcnc-breakdown { border-bottom: 1px solid var(--line); padding: 12px 0; }
.tcnc-breakdown summary { color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 750; min-height: 44px; padding: 12px 2px; }
.tcnc-breakdown dl { font-size: 12px; margin: 7px 0 3px; }
.tcnc-breakdown dl div { display: flex; gap: 18px; justify-content: space-between; padding: 5px 0; }
.tcnc-breakdown dt { color: var(--muted); }
.tcnc-breakdown dd { font-variant-numeric: tabular-nums; font-weight: 700; margin: 0; text-align: right; }
.tcnc-volume h3 { font-size: 14px; margin: 16px 0 9px; }
.tcnc-volume > div { display: grid; gap: 6px; grid-template-columns: repeat(3, 1fr); }
.tcnc-volume > div > div { background: var(--soft); border: 1px solid transparent; border-radius: 7px; display: flex; flex-direction: column; padding: 8px 9px; }
.tcnc-volume > div > div.is-current { background: #e8f1ff; border-color: #9bbce8; }
.tcnc-volume span { color: var(--muted); font-size: 10px; }
.tcnc-volume strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.tcnc-volume small { font-size: 9px; font-weight: 500; }
.tcnc-add { background: var(--blue); border: 0; border-radius: 999px; box-shadow: none; color: #fff; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; margin-top: 18px; min-height: 52px; padding: 13px 22px; touch-action: manipulation; transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease; width: 100%; }
.tcnc-add:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 7px 18px rgba(11, 57, 137, .2); }
.tcnc-add:disabled { cursor: not-allowed; opacity: .48; }
.tcnc-cta-note { color: var(--muted); font-size: 11px; line-height: 1.45; margin: 8px 10px 0; text-align: center; }
.tcnc-catalog-price { color: #41536b; font-size: 14px; font-weight: 700; }

@media (max-width: 900px) {
	.tcnc-intro { align-items: flex-start; flex-direction: column; gap: 18px; }
	.tcnc-workspace { grid-template-columns: 1fr; }
	.tcnc-preview { height: 340px; }
}

@media (max-width: 600px) {
	.tcut-module, .tcnc { max-width: 100%; min-width: 0; width: 100%; }
	.tcut-module { margin: 16px 0 32px; }
	.tcut-technology { gap: 16px; grid-template-columns: minmax(0, 1fr); margin-bottom: 16px; padding: 16px; }
	.tcut-technology label { font-size: 20px; }
	.tcut-technology select { min-height: 52px; }
	.tcnc { margin: 16px 0 32px; min-width: 0; }
	.tcnc-intro { gap: 16px; margin-bottom: 16px; }
	.tcnc-intro h2 { font-size: 25px; }
	.tcnc-steps { justify-content: space-between; width: 100%; }
	.tcnc-steps li { flex: 1 1 0; flex-direction: column; font-size: 10px; gap: 4px; min-width: 0; padding: 4px 2px; text-align: center; }
	.tcnc-steps li strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
	.tcnc-upload { align-items: center; display: grid; gap: 12px; grid-template-columns: 48px minmax(0, 1fr); min-height: 0; padding: 16px; }
	.tcnc-upload-icon { flex-basis: 48px; height: 48px; }
	.tcnc-upload-copy strong { font-size: 16px; overflow-wrap: anywhere; }
	.tcnc-upload-copy small { font-size: 12px; }
	.tcnc-upload-action { grid-column: 1 / -1; margin: 0; min-height: 48px; padding: 13px 16px; width: 100%; }
	.tcnc-upload-note { align-items: flex-start; line-height: 1.45; }
	.tcnc-upload-note svg { flex: 0 0 16px; margin-top: 1px; }
	.tcnc-notice { line-height: 1.5; overflow-wrap: anywhere; }
	.tcnc-loading { align-items: center; flex-direction: column; min-height: 128px; padding: 24px 16px; text-align: center; }
	.tcnc-workspace { gap: 16px; margin-top: 16px; min-width: 0; }
	.tcnc-visual, .tcnc-options { min-width: 0; padding: 16px; }
	.tcnc-preview { height: clamp(220px, 70vw, 300px); padding: 12px; width: 100%; }
	.tcnc-filename { align-items: center; gap: 8px; }
	.tcnc-filename button { flex: 0 0 auto; }
	.tcnc-metrics { grid-template-columns: repeat(2, 1fr); }
	.tcnc-field input, .tcnc-field select, .tcnc-extra-number input { min-width: 0; }
	.tcnc-dimensions { gap: 6px; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
	.tcnc-lock { height: 40px; width: 40px; }
	.tcnc-quantity { max-width: none; width: 100%; }
	.tcnc .tcnc-panel-toggle { align-items: flex-start; }
	.tcnc .tcnc-panel-toggle input { flex: 0 0 18px; }
	.tcnc .tcnc-panel-fields { grid-template-columns: 1fr; }
	.tcnc-price { padding: 16px; }
	.tcnc-price > div { align-items: flex-start; flex-wrap: wrap; }
	.tcnc-volume > div { grid-template-columns: repeat(2, 1fr); }
	.tcnc-price strong { font-size: clamp(24px, 8vw, 28px); white-space: nowrap; }
	.tcnc-breakdown dl div { align-items: flex-start; gap: 12px; }
	.tcnc-breakdown dt, .tcnc-breakdown dd { overflow-wrap: anywhere; }
	.tcnc-add { min-height: 52px; padding-inline: 16px; }
}

@media (max-width: 380px) {
	.tcut-technology, .tcnc-visual, .tcnc-options { padding: 12px; }
	.tcnc-intro h2 { font-size: 24px; }
	.tcnc-preview { height: 220px; }
	.tcnc-metrics, .tcnc .tcnc-production, .tcnc-volume > div { grid-template-columns: 1fr; }
	.tcnc-filename { align-items: flex-start; flex-direction: column; }
	.tcnc-filename button { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.tcnc *, .tcnc *::before, .tcnc *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.tcnc-loading span { animation-duration: 1.5s; }
}
/* Plazo de entrega (solo productos "solo presentación" de tibor3). Mismo aspecto que el
   bloque "Plazo de entrega" de la ficha de merch (merch.css: .tmc-label / .tmc-card). */
.tcnc-delivery { border: 0; margin: 0 0 22px; min-width: 0; padding: 0; }
.tcnc-delivery legend { color: #35405a; display: block; font-size: 13px; font-weight: 800; letter-spacing: .01em; margin: 0 0 8px; padding: 0; text-transform: uppercase; }
.tcnc-delivery-options { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tcnc-delivery-option { cursor: pointer; display: block; min-width: 0; position: relative; }
.tcnc-delivery-option input { cursor: pointer; inset: 0; margin: 0; opacity: 0; position: absolute; z-index: 1; }
.tcnc-delivery-option span { align-items: center; background: #fff; border: 2px solid #e3e6ec; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 2px 8px; height: 100%; justify-content: center; min-width: 0; padding: 10px 8px; text-align: center; transition: border-color .15s, box-shadow .15s; }
.tcnc-delivery-option:hover span { border-color: #c3ccdd; }
.tcnc-delivery-option input:checked + span { border-color: var(--tcut-blue, #0b3989); box-shadow: 0 0 0 3px rgba(11, 57, 137, .10); }
.tcnc-delivery-option input:focus-visible + span { outline: 2px solid var(--tcut-blue, #0b3989); outline-offset: 2px; }
.tcnc-delivery-icon { color: var(--tcut-blue, #0b3989); display: inline-flex; font-style: normal; }
.tcnc-delivery-icon svg { height: 18px; width: 18px; }
.tcnc-delivery-option strong { color: #1d2433; display: inline; font-size: 13.5px; font-weight: 800; }
.tcnc-delivery-option small { color: #667085; display: block; flex: 0 0 100%; font-size: 12px; line-height: 1.35; margin-top: 2px; text-align: center; }
@media (max-width: 480px) { .tcnc-delivery-options { grid-template-columns: 1fr; } }

/* Avisos refinados (22-10-2026): mismo acabado que el personalizador y WooCommerce. Fondo
   claro, franja de color a la izquierda, esquinas suaves y sombra ligera. Se conservan el
   color del texto, los tamaños y la posición; solo cambia el acabado. */
.tcnc-notice { border-radius: 12px; box-shadow: 0 1px 4px rgba(15, 23, 42, .06); }
.tcnc-notice.is-error { border: 1px solid #f5d0d0; border-left: 3px solid #dc2626; background: #fffafa; }
.tcnc-notice.is-warning { border: 1px solid #f3e2b3; border-left: 3px solid #f59e0b; background: #fffdf7; }
.tcnc-notice.is-success { border: 1px solid #cfe9d8; border-left: 3px solid #16a34a; background: #ffffff; }
.tcnc-notice.is-info { border: 1px solid #d6e0f0; border-left: 3px solid #0b3989; background: #ffffff; }
