.dpl-shell {
	background: #f6f9fc;
	color: #17212b;
	margin: 0 auto;
	max-width: 980px;
	padding: 22px;
}

.dpl-header {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 18px;
}

.dpl-header h1 {
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 6px;
}

.dpl-header p {
	color: #526173;
	margin: 0;
}

.dpl-eyebrow {
	color: #1d6fa5 !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dpl-secondary-link {
	background: #fff;
	border: 1px solid #c9d7e6;
	border-radius: 6px;
	color: #1d5e8a;
	font-weight: 700;
	padding: 9px 13px;
	text-decoration: none;
	white-space: nowrap;
}

.dpl-form {
	display: grid;
	gap: 14px;
}

.dpl-card {
	background: #fff;
	border: 1px solid #d9e4ef;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(25, 56, 86, 0.07);
	padding: 18px;
}

.dpl-step-title {
	align-items: center;
	display: flex;
	gap: 9px;
	margin-bottom: 13px;
}

.dpl-step-title span {
	align-items: center;
	background: #71808f;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.dpl-step-title strong {
	font-size: 17px;
}

.dpl-grid {
	display: grid;
	gap: 13px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dpl-wide {
	grid-column: 1 / -1;
}

.dpl-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
}

.dpl-field > span {
	color: #1f2937;
	font-size: 13px;
	font-weight: 800;
}

.dpl-field input,
.dpl-field select,
.dpl-field textarea {
	background: #fff;
	border: 1px solid #b8c5d3;
	border-radius: 5px;
	box-shadow: none;
	color: #111827;
	font-size: 15px;
	line-height: 1.35;
	min-height: 40px;
	padding: 9px 11px;
	width: 100%;
}

.dpl-field textarea {
	min-height: 96px;
	resize: vertical;
}
.dpl-help {
	color: #64748b;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.dpl-category-box {
	background: #f8fbff;
	border: 1px solid #d8e2ee;
	border-radius: 8px;
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-height: 240px;
	overflow: auto;
	padding: 10px;
}

.dpl-category-empty {
	color: #64748b;
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.dpl-category-option {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 8px;
	margin: 0;
	padding: 8px 9px 8px calc(9px + (var(--dpl-depth, 0) * 14px));
}

.dpl-category-option input {
	margin: 0;
	min-height: auto;
	width: auto;
}


.dpl-field input:focus,
.dpl-field select:focus,
.dpl-field textarea:focus {
	border-color: #1677c8;
	box-shadow: 0 0 0 3px rgba(22, 119, 200, 0.16);
	outline: none;
}

.dpl-inline {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(220px, 1fr) auto auto;
}

.dpl-btn,
.dpl-submit {
	align-items: center;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	text-decoration: none;
	white-space: nowrap;
}

.dpl-btn {
	background: #fff;
	border: 1px solid #2b6d96;
	color: #245b78;
}

.dpl-btn:hover,
.dpl-btn:focus {
	background: #eef7ff;
	color: #174d6d;
}

.dpl-btn-primary,
.dpl-submit {
	background: #1677c8;
	border: 1px solid #1677c8;
	color: #fff;
}

.dpl-btn-primary:hover,
.dpl-btn-primary:focus,
.dpl-submit:hover,
.dpl-submit:focus {
	background: #0f65ad;
	color: #fff;
}

.dpl-status {
	background: #eef7ff;
	border: 1px solid #cde7ff;
	border-radius: 999px;
	color: #23638f;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	margin: 12px 0 0;
	padding: 7px 10px;
}

.dpl-status.is-error {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.dpl-camera-input {
	display: none !important;
}

.dpl-scanner {
	background: #0f172a;
	border-radius: 8px;
	margin-top: 12px;
	overflow: hidden;
	padding: 10px;
}

.dpl-scanner video {
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 6px;
	display: block;
	margin-bottom: 10px;
	max-height: 360px;
	object-fit: cover;
	width: 100%;
}

.dpl-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.dpl-photo-layout {
	align-items: start;
	display: grid;
	gap: 14px;
	grid-template-columns: 170px minmax(0, 1fr);
}

.dpl-upload {
	align-items: center;
	background: #f8fbff;
	border: 1px dashed #9fb2c6;
	border-radius: 8px;
	color: #245b78;
	cursor: pointer;
	display: flex;
	font-weight: 800;
	justify-content: center;
	min-height: 126px;
	padding: 14px;
	text-align: center;
}

.dpl-upload input {
	display: none;
}

.dpl-upload small {
	color: #64748b;
	font-weight: 600;
}

.dpl-preview {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
	min-height: 126px;
}

.dpl-preview-item,
.dpl-cover-placeholder {
	align-items: center;
	background: #f7fafc;
	border: 1px solid #d8e2ee;
	border-radius: 8px;
	color: #64748b;
	display: flex;
	font-size: 12px;
	justify-content: center;
	min-height: 126px;
	overflow: hidden;
	padding: 8px;
	text-align: center;
}

.dpl-preview-item img,
.dpl-cover-placeholder img {
	display: block;
	height: 126px;
	object-fit: cover;
	width: 84px;
}

.dpl-note {
	color: #526173;
	font-size: 13px;
	line-height: 1.45;
	margin: 11px 0 0;
}

.dpl-submit-bar {
	background: #fff;
	border: 1px solid #d9e4ef;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(25, 56, 86, 0.07);
	padding: 12px;
}

.dpl-submit {
	font-size: 16px;
	width: 100%;
}

.dpl-alert {
	border-radius: 8px;
	font-weight: 700;
	margin: 12px 0;
	padding: 12px 14px;
}

.dpl-alert-error {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #be123c;
}

.dpl-product-data {
	border-top: 1px solid #e5e7eb;
	margin-top: 20px;
	padding-top: 18px;
}

.dpl-product-data h3 {
	font-size: 18px;
	margin: 0 0 10px;
}

.dpl-product-data table {
	border-collapse: collapse;
	margin: 0;
	width: 100%;
}

.dpl-product-data th,
.dpl-product-data td {
	border-bottom: 1px solid #edf2f7;
	padding: 8px 0;
	text-align: left;
	vertical-align: top;
}

.dpl-product-data th {
	color: #475569;
	font-weight: 800;
	padding-right: 14px;
	width: 34%;
}

@media (max-width: 780px) {
	.dpl-shell {
		padding: 14px;
	}

	.dpl-header {
		align-items: flex-start;
		display: block;
	}

	.dpl-header h1 {
		font-size: 25px;
	}

	.dpl-secondary-link {
		display: inline-flex;
		margin-top: 12px;
	}

	.dpl-grid,
	.dpl-inline,
	.dpl-photo-layout,
	.dpl-category-box {
		grid-template-columns: 1fr;
	}

	.dpl-wide {
		grid-column: auto;
	}

	.dpl-btn {
		width: 100%;
	}

	.dpl-actions {
		display: block;
	}
}

.dpl-preview-item {
	position: relative;
}

.dpl-remove-photo {
	align-items: center;
	background: #ef4444;
	border: 2px solid #fff;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 18px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: -7px;
	top: -7px;
	width: 28px;
}

.dpl-remove-photo:hover,
.dpl-remove-photo:focus {
	background: #b91c1c;
	color: #fff;
}

.dpl-cover-placeholder[hidden] {
	display: none !important;
}

.dpl-condition-tools {
	background: #f8fbff;
	border: 1px solid #d8e2ee;
	border-radius: 8px;
	padding: 10px;
}

.dpl-condition-tools-title {
	color: #475569;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 8px;
}

.dpl-concept-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dpl-concept-chip {
	background: #fff;
	border: 1px solid #9fb2c6;
	border-radius: 999px;
	color: #245b78;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	padding: 7px 10px;
}

.dpl-concept-chip:hover,
.dpl-concept-chip:focus {
	background: #eef7ff;
	color: #174d6d;
}

.dpl-product-data a.dpl-term-link,
.dpl-product-data a.dpl-seller-name {
	color: var(--wp--preset--color--primary, var(--global-palette-highlight, var(--ast-global-color-0, #1677c8)));
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dpl-seller-info {
	align-items: center;
	display: flex;
	gap: 10px;
}

.dpl-seller-avatar-wrap,
.dpl-seller-avatar-wrap img {
	border-radius: 999px;
	flex: 0 0 auto;
}

.dpl-seller-meta {
	display: grid;
	gap: 3px;
}

.dpl-seller-rating,
.dpl-seller-badges {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.dpl-stars {
	color: #d97706;
	font-weight: 900;
	letter-spacing: 1px;
}

.dpl-rating-number,
.dpl-rating-count {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.dpl-badge {
	align-items: center;
	display: inline-flex;
}

.dpl-badge img {
	display: block;
	max-height: 24px;
	width: auto;
}

.dpl-badge-text {
	background: #eef7ff;
	border: 1px solid #cde7ff;
	border-radius: 999px;
	color: #23638f;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 7px;
}

.single-product.dpl-single-book .product_meta,
.single-product.dpl-single-book .posted_in,
.single-product.dpl-single-book .tagged_as {
	display: none !important;
}

.dpl-product-seller-card-wrap {
	box-sizing: border-box;
	clear: both;
	float: none;
	margin: 12px 0 22px;
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.dpl-product-data + .dpl-product-seller-card-wrap,
.dpl-product-seller-card-wrap.dpl-seller-card-under-book-data {
	clear: both;
	float: none;
	margin: 12px 0 22px;
	max-width: 100%;
	width: 100%;
}

.dpl-product-seller-card {
	align-items: center;
	background: linear-gradient(135deg, #ffffff 0%, #f7fff9 100%);
	border: 1.5px solid #16803a;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(22, 128, 58, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
	color: #111827;
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	width: 100%;
}

.dpl-product-seller-card:hover,
.dpl-product-seller-card:focus {
	border-color: #0f6f31;
	box-shadow: 0 14px 30px rgba(22, 128, 58, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08);
	color: #111827;
	transform: translateY(-1px);
}

.dpl-product-seller-avatar-wrap {
	align-items: center;
	background: #ffd56a;
	border-radius: 999px;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
	display: inline-flex;
	flex: 0 0 58px;
	height: 58px;
	justify-content: center;
	overflow: hidden;
	width: 58px;
}

.dpl-product-seller-avatar,
.dpl-product-seller-avatar-wrap img {
	border-radius: 999px;
	display: block;
	height: 58px;
	object-fit: cover;
	width: 58px;
}

.dpl-product-seller-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.dpl-product-seller-eyebrow {
	color: #111827;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.05;
}

.dpl-product-seller-name {
	color: #050505;
	display: block;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.08;
	word-break: break-word;
}

.dpl-product-seller-rating {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	line-height: 1.1;
	margin-top: 3px;
}

.dpl-product-seller-stars {
	color: #f5b301;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16), 0 4px 8px rgba(245, 179, 1, 0.18);
}

.dpl-product-seller-rating-text {
	background: #e9fbe9;
	border: 1px solid #bdeabc;
	border-radius: 999px;
	color: #176534;
	font-size: 11px;
	font-weight: 900;
	padding: 4px 8px;
}

@media (max-width: 768px) {
	.dpl-product-seller-card-wrap,
	.dpl-product-seller-card-wrap.dpl-seller-card-under-book-data {
		clear: both;
		float: none;
		margin: 12px 0 18px;
		max-width: 100%;
		padding: 0;
		width: 100%;
	}

	.dpl-product-seller-card {
		border-radius: 15px;
		gap: 10px;
		padding: 11px 12px;
	}

	.dpl-product-seller-avatar-wrap,
	.dpl-product-seller-avatar,
	.dpl-product-seller-avatar-wrap img {
		flex-basis: 52px;
		height: 52px;
		width: 52px;
	}

	.dpl-product-seller-eyebrow {
		font-size: 14px;
	}

	.dpl-product-seller-name {
		font-size: 18px;
	}

	.dpl-product-seller-stars {
		font-size: 18px;
	}

	.dpl-product-seller-rating-text {
		font-size: 10px;
		padding: 3px 7px;
	}
}

/* Carga masiva */
.dpl-bulk-shell .dpl-bulk-source-card textarea {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.dpl-bulk-table-wrap {
	border: 1px solid rgba(4, 79, 42, 0.12);
	border-radius: 18px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.dpl-bulk-table {
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	min-width: 1680px;
	width: 100%;
}

.dpl-bulk-table th,
.dpl-bulk-table td {
	border-bottom: 1px solid rgba(4, 79, 42, 0.10);
	padding: 10px 8px;
	text-align: left;
	vertical-align: top;
}

.dpl-bulk-table thead th {
	background: #effaf2;
	color: #064d2a;
	font-weight: 900;
	position: sticky;
	top: 0;
	z-index: 2;
}

.dpl-bulk-table input[type="text"],
.dpl-bulk-table textarea {
	border: 1px solid rgba(4, 79, 42, 0.22);
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 13px;
	min-width: 140px;
	padding: 8px 9px;
	width: 100%;
}

.dpl-bulk-table textarea {
	min-height: 58px;
	resize: vertical;
}

.dpl-bulk-table .dpl-bulk-isbn {
	min-width: 132px;
}

.dpl-bulk-table .dpl-bulk-small {
	min-width: 88px;
}

.dpl-bulk-row-needs-review {
	background: #fffaf0;
}

.dpl-bulk-status {
	background: #eef7f0;
	border-radius: 999px;
	color: #0b6b38;
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	padding: 5px 8px;
	white-space: normal;
}

.dpl-alert-success {
	background: #edfdf2;
	border-color: #b9efca;
	color: #126331;
}

@media (max-width: 768px) {
	.dpl-bulk-table-wrap {
		border-radius: 14px;
		margin-left: -6px;
		margin-right: -6px;
	}

	.dpl-bulk-table {
		font-size: 12px;
		min-width: 1420px;
	}

	.dpl-bulk-table th,
	.dpl-bulk-table td {
		padding: 8px 6px;
	}
}

.dpl-alert-warning {
	background: #fff8e6;
	border: 1px solid #f3d48b;
	color: #8a5a00;
}

.dpl-bulk-table input[type="url"] {
	border: 1px solid rgba(4, 79, 42, 0.22);
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 13px;
	min-width: 170px;
	padding: 8px 9px;
	width: 100%;
}

.dpl-bulk-images-cell {
	min-width: 240px;
}

.dpl-bulk-cover-preview {
	align-items: center;
	background: #f6fbf8;
	border: 1px dashed rgba(4, 79, 42, 0.22);
	border-radius: 12px;
	display: flex;
	justify-content: center;
	min-height: 88px;
	margin-bottom: 8px;
	overflow: hidden;
	padding: 6px;
	text-align: center;
}

.dpl-bulk-cover-preview img {
	border-radius: 8px;
	display: block;
	max-height: 110px;
	max-width: 82px;
	object-fit: cover;
}

.dpl-bulk-cover-preview span {
	color: #5d6f64;
	font-size: 12px;
	font-weight: 800;
}

.dpl-bulk-images-cell input[type="file"] {
	background: #fff;
	border: 1px solid rgba(4, 79, 42, 0.18);
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 12px;
	margin-top: 8px;
	padding: 8px;
	width: 100%;
}

.dpl-bulk-status {
	max-width: 180px;
}

.dpl-bulk-table {
	min-width: 1960px;
}

@media (max-width: 768px) {
	.dpl-bulk-table {
		min-width: 1760px;
	}
}

.dpl-modern-book-card{background:#fff;border-radius:18px;padding:20px;box-shadow:0 4px 18px rgba(0,0,0,.08);margin:20px 0}
.dpl-modern-book-card h3{margin-top:0}
.dpl-book-grid{display:grid;gap:10px}
.dpl-book-row{display:flex;justify-content:space-between;padding:12px;border-radius:10px;background:#f7f7f7}
.dpl-book-row span{font-weight:600}

.dpl-releidos-book-info{
background:#fff;
padding:28px;
border-radius:18px;
margin:25px 0;
text-align:left;
box-shadow:0 4px 18px rgba(0,0,0,.08);
}
.dpl-releidos-book-info h3{color:#5b2a86;margin-bottom:22px;}
.dpl-info-row{
padding:12px 0;
border-bottom:1px solid #eeeeee;
display:flex;
gap:10px;
font-size:16px;
text-align:left;
}
.dpl-info-row strong{color:#178a38;}
.dpl-condition-box{
margin-top:22px;
background:#f5ecff;
border-left:5px solid #7b3dbb;
padding:18px;
border-radius:12px;
text-align:left;
}
.dpl-condition-box h4{color:#7b3dbb;}

.dpl-releidos-card{background:#fff;border-radius:18px;padding:24px;margin-top:25px;box-shadow:0 4px 18px rgba(0,0,0,.08);text-align:left}.dpl-releidos-card h3{text-align:left;color:#178a38}.dpl-book-line{padding:12px 0;border-bottom:1px solid #eee;text-align:left;font-size:16px}.dpl-book-line strong{color:#178a38}.dpl-condition-box{margin-top:20px;background:#f4eaff;border-radius:14px;padding:18px;text-align:left}.dpl-condition-box h4{color:#7b2cbf;margin:0 0 10px}


/* Releidos Product Template v2.9 */
.dpl-releidos-book-info{
background:#fff;
border-radius:18px;
padding:24px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
text-align:left;
margin-top:25px;
}
.dpl-releidos-book-info h3{
font-size:24px;
font-weight:700;
margin-bottom:20px;
}
.dpl-info-row{
display:flex;
gap:10px;
padding:12px 0;
border-bottom:1px solid #e5e5e5;
font-size:18px;
text-align:left;
}
.dpl-info-row a{
color:#218739;
font-weight:700;
}
.dpl-condition-box{
background:#f2e6ff;
border-radius:14px;
padding:18px;
margin-top:18px;
color:#222;
}
.dpl-condition-box h4{
color:#7a2bc2;
margin-top:0;
}
