/* WdM · Devoluciones e incidencias · paleta C (Sal, Crema, Kraft, Tinta, Abuela honda) · botones rectos en mayúsculas */
.wdm-dev{--wd-sal:#FAF5EC;--wd-crema:#F4EBDA;--wd-kraft:#DCC9A6;--wd-tinta:#1C1410;--wd-abuela:#1F5F50;--wd-madre:#6B4A66;--wd-dorado:#C8956A;
	color:var(--wd-tinta);font-size:16px;line-height:1.6;max-width:760px;margin:24px auto 0}
/* La introducción de la página, al mismo ancho que el formulario */
body:has(.wdm-dev) .entry-content > *:not(.alignfull):not(.alignwide){max-width:760px;margin-left:auto;margin-right:auto}
.wdm-dev *{box-sizing:border-box}
.wdm-dev h2{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-weight:500;font-size:28px;line-height:1.2;margin:0 0 12px;color:var(--wd-tinta)}
.wdm-dev h3{font-size:17px;margin:0 0 8px}
.wdm-dev-bloque{background:var(--wd-sal);border:1px solid var(--wd-kraft);padding:22px 20px;margin:0 0 20px}
.wdm-dev-bloque--desistir{background:var(--wd-crema)}
.wdm-dev fieldset{min-width:0}
.wdm-dev fieldset > legend{padding:0;margin:0;float:left;width:100%;border:0}
.wdm-dev fieldset > legend ~ *{clear:both}
.wdm-dev p{margin:0 0 14px}
.wdm-dev-form p{margin:0 0 18px}
.wdm-dev-bloque > :last-child,.wdm-dev-form > :last-child{margin-bottom:0}
.wdm-dev label,.wdm-dev-label{display:block;font-weight:600;font-size:14px;margin:0 0 6px}
.wdm-dev-opc{font-weight:400;color:var(--wd-madre)}
.wdm-dev input[type=text],.wdm-dev input:not([type]),.wdm-dev input[type=email],.wdm-dev select,.wdm-dev textarea{
	width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--wd-kraft);border-radius:0;background:#FFFDF8;font-size:16px;color:var(--wd-tinta)}
.wdm-dev textarea{min-height:110px}
.wdm-dev input:focus,.wdm-dev select:focus,.wdm-dev textarea:focus,.wdm-dev-btn:focus-visible,.wdm-dev-opcion input:focus-visible + span{outline:3px solid var(--wd-dorado);outline-offset:2px}
.wdm-dev-btn{display:inline-block;min-height:48px;padding:13px 24px;border:1px solid var(--wd-abuela);border-radius:0;background:var(--wd-abuela);color:var(--wd-sal);
	font-size:14px;letter-spacing:1px;text-transform:uppercase;text-decoration:none;cursor:pointer;line-height:1.4}
.wdm-dev-btn:hover{background:var(--wd-tinta);border-color:var(--wd-tinta);color:var(--wd-sal)}
.wdm-dev-btn--sec{background:transparent;color:var(--wd-abuela)}
.wdm-dev-btn--sec:hover{color:var(--wd-sal)}
.wdm-dev-btn[disabled]{opacity:.6;cursor:wait}
.wdm-dev-acciones{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.wdm-dev-solicitud,.wdm-dev-bloque--desistir form{margin-bottom:24px}
.wdm-dev-linea__nada{grid-column:1 / -1;font-size:14px;color:var(--wd-madre);margin:0}
.wdm-dev .wdm-dev-opcion{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--wd-kraft);background:#FFFDF8;padding:14px 16px;margin:0 0 10px;cursor:pointer;font-weight:400}
.wdm-dev-opcion input{margin-top:5px;width:20px;height:20px;accent-color:var(--wd-abuela);flex:none}
.wdm-dev-opcion strong{display:block;font-size:17px}
.wdm-dev-opcion small{display:block;color:var(--wd-madre);font-size:14px}
.wdm-dev-opcion:has(input:checked){border-color:var(--wd-abuela);box-shadow:inset 4px 0 0 var(--wd-abuela)}
.wdm-dev-opcion--peq strong{font-size:15px}
.wdm-dev-linea{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--wd-kraft)}
.wdm-dev-linea:first-child{border-top:0}
.wdm-dev-linea img{width:64px;height:64px;object-fit:cover}
.wdm-dev-linea__txt span{display:block;font-size:14px;color:var(--wd-madre)}
.wdm-dev-linea__ctl{grid-column:1 / -1;display:grid;grid-template-columns:110px 1fr;gap:10px;align-items:end}
.wdm-dev-linea__ctl > label{grid-column:1;margin:0}
.wdm-dev-linea__ctl > select{grid-column:1}
.wdm-dev-linea__ctl > div{grid-column:2;grid-row:1 / span 2}
.wdm-dev-linea.is-agotada{opacity:.55}
.wdm-dev-resumen dl{margin:0}
.wdm-dev-resumen dt{font-weight:600;font-size:14px;color:var(--wd-madre);margin-top:10px}
.wdm-dev-resumen dd{margin:2px 0 0}
.wdm-dev-resumen ul{margin:0;padding-left:18px}
.wdm-dev-aviso{padding:14px 16px;margin:0 0 18px;border-left:4px solid var(--wd-abuela);background:#EAF3F0}
.wdm-dev-aviso--error{border-left-color:#9B2C2C;background:#F8E8E6}
.wdm-dev-nota,.wdm-dev-contacto{font-size:14px;color:var(--wd-madre)}
.wdm-dev-contacto a,.wdm-dev a:not(.wdm-dev-btn){color:var(--wd-abuela)}
.wdm-dev-pedidos,.wdm-dev-exps{list-style:none;margin:0;padding:0}
.wdm-dev-pedidos li{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid var(--wd-kraft)}
.wdm-dev-exps > li{padding:12px 0;border-top:1px solid var(--wd-kraft)}
.wdm-dev-exps > li:first-child{border-top:0}
.wdm-dev-exps p{margin:0 0 6px}
.wdm-dev-mini{margin:0 0 8px;padding-left:18px;font-size:14px}
.wdm-dev-estado{display:inline-block;padding:2px 10px;font-size:13px;background:var(--wd-crema);border:1px solid var(--wd-kraft)}
.wdm-dev-estado--instrucciones,.wdm-dev-estado--resuelta,.wdm-dev-estado--aprobada{background:#EAF3F0;border-color:#A8CFC8}
.wdm-dev-estado--recibida,.wdm-dev-estado--pendiente_info{background:#FBF1DE;border-color:#C8956A}
.wdm-dev-estado--rechazada,.wdm-dev-estado--cancelada{background:#F3E6E4;border-color:#C9A39C}
.wdm-dev-instr{background:#FFFDF8;border:1px solid var(--wd-kraft);padding:10px 12px;margin:8px 0}
.wdm-dev-trampa{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.wdm-dev [hidden]{display:none!important}
@media (max-width:480px){
	.wdm-dev-bloque{padding:18px 14px}
	.wdm-dev h2{font-size:24px}
	.wdm-dev-linea__ctl{grid-template-columns:1fr}
	.wdm-dev-linea__ctl > div{grid-column:1;grid-row:auto}
	.wdm-dev-acciones .wdm-dev-btn{width:100%}
}
/* Aire entre la introducción y el formulario (el diseño de bloques de WP pone el margen superior a 0) */
body:has(.wdm-dev) .entry-content > .wdm-dev{margin-block-start:28px}
body:has(.wdm-dev) .entry-content > h2{margin-block-start:28px}
