/* Deltalandia Marketplace · Portal de proveedores (versión plana, solo computador). */
.dl-portal {
	--dlp-navy: #0C435B;
	--dlp-blue: #0F73CD;
	--dlp-sky: #6EB2FF;
	--dlp-ice: #EEF6FF;
	--dlp-bg: #F2F7FC;
	--dlp-border: #C9D2D8;
	--dlp-line: #E2EBF2;
	--dlp-muted: #4E6676;
	--dlp-grad: linear-gradient(90deg, #FF9C00, #F2295B);
	--dlp-display: 'Bebas Neue', sans-serif;
	--dlp-ui: 'Inter Tight', 'Inter', system-ui, sans-serif;
	--dlp-body: 'Inter', system-ui, sans-serif;
	min-height: 100vh;
	background: var(--dlp-bg);
	color: var(--dlp-navy);
	font-family: var(--dlp-body);
	font-size: 15px;
	line-height: 1.5;
}
.dl-portal *, .dl-portal *::before, .dl-portal *::after { box-sizing: border-box; }
.dl-portal a { color: var(--dlp-blue); text-decoration: none; }
.dl-portal a:hover { color: var(--dlp-navy); }
.dl-portal p { margin: 0; }
.dl-portal h1, .dl-portal h2, .dl-portal h3 { margin: 0; color: var(--dlp-navy); }

/* Solo computador */
.dlp-mobile { display: none; }
@media (max-width: 1023px) {
	.dlp-desktop { display: none; }
	.dlp-mobile { display: flex; min-height: 100vh; padding: 48px 24px; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
	.dlp-mobile__icon { width: 112px; height: 112px; border-radius: 999px; background: var(--dlp-ice); display: flex; align-items: center; justify-content: center; }
	.dl-portal .dlp-mobile__title { margin: 0; font-family: var(--dlp-display); font-weight: 400; font-size: 44px; line-height: .95; text-transform: uppercase; color: var(--dlp-navy); }
	.dlp-mobile__title span { color: var(--dlp-blue); }
	.dlp-mobile__text { max-width: 340px; color: var(--dlp-muted); }
}

/* Barra superior */
.dlp-topbar { height: 68px; background: #fff; border-bottom: 1px solid var(--dlp-line); display: flex; align-items: center; justify-content: space-between; padding: 0 64px; gap: 24px; }
.dlp-topbar__brand { display: flex; align-items: center; gap: 16px; }
.dlp-logo { height: 30px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.dlp-logo--text { font-family: var(--dlp-ui); font-weight: 800; font-size: 20px; color: var(--dlp-blue); white-space: nowrap; }
.dlp-topbar__sep { width: 1px; height: 24px; background: var(--dlp-line); }
.dlp-topbar__label { font-family: var(--dlp-ui); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dlp-muted); }
.dlp-topbar__user { display: flex; align-items: center; gap: 20px; font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; }
.dlp-avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--dlp-navy); color: #fff; font-family: var(--dlp-display); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; margin-right: -10px; }
.dlp-link { font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; }
.dl-portal .dlp-link--navy { color: var(--dlp-navy); }

.dlp-banner { margin: 20px 64px 0; padding: 12px 16px; border-radius: 12px; border: 1px dashed #C98A00; background: #FFF8E1; color: #5C3D00; font-size: 14px; }
.dlp-banner--preview { border-style: solid; }

/* Pestañas */
.dlp-tabs { margin-top: 24px; padding: 0 64px; border-bottom: 1px solid var(--dlp-line); display: flex; gap: 32px; }
.dl-portal .dlp-tab { height: 52px; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; font-family: var(--dlp-ui); font-weight: 800; font-size: 16px; color: var(--dlp-muted); }
.dl-portal .dlp-tab.is-active { border-bottom-color: var(--dlp-blue); color: var(--dlp-navy); }

.dlp-main { padding: 24px 64px 56px; display: flex; flex-direction: column; gap: 18px; max-width: 1440px; }
.dlp-main--narrow { max-width: 760px; margin: 0 auto; padding-top: 56px; }

/* Piezas */
.dlp-card { background: #fff; border: 1px solid var(--dlp-line); border-radius: 16px; padding: 24px; }
.dlp-empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dl-portal .dlp-h2 { font-family: var(--dlp-ui); font-weight: 800; font-size: 26px; line-height: 1.15; }
.dl-portal .dlp-h3 { font-family: var(--dlp-ui); font-weight: 800; font-size: 18px; color: var(--dlp-navy); }
.dlp-muted { color: var(--dlp-muted); }
.dlp-small { font-size: 13px; }
.dlp-strong { font-weight: 600; }
.dlp-warn-text { color: #8A5A00; font-weight: 700; }
.dlp-error-text { color: #C0163F; font-weight: 700; }
.dlp-foot { font-size: 13px; color: var(--dlp-muted); }
.dlp-eyebrow { font-family: var(--dlp-ui); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dlp-blue); }
.dlp-eyebrow--sky { color: var(--dlp-sky); }
.dl-portal .dlp-display { margin: 0; font-family: var(--dlp-display); font-weight: 400; text-transform: uppercase; font-size: 80px; line-height: .88; color: #fff; }
.dl-portal .dlp-display em { font-style: normal; color: var(--dlp-sky); }

.dlp-notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.dlp-notice--ok { background: #DCFCE7; color: #065F46; }
.dlp-notice--info { background: var(--dlp-ice); color: var(--dlp-navy); }
.dlp-notice--warn { background: #FFF3D1; color: #6B4600; }
.dlp-notice--error { background: #FFE4EA; color: #9F1239; }

.dl-portal .dlp-btn { height: 46px; padding: 0 20px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; white-space: nowrap; text-transform: none; letter-spacing: 0; box-shadow: none; }
.dl-portal .dlp-btn--grad { background: var(--dlp-grad); color: #000; }
.dl-portal .dlp-btn--grad:hover { filter: brightness(1.05); color: #000; }
.dl-portal .dlp-btn--ghost { background: #fff; color: var(--dlp-navy); border: 1px solid var(--dlp-border); }
.dl-portal .dlp-btn--block { width: 100%; height: 54px; font-size: 16px; }
.dl-portal .dlp-btn[disabled] { opacity: .6; cursor: progress; }

/* Formularios */
.dlp-form { display: flex; flex-direction: column; gap: 16px; }
.dlp-inline { flex-direction: row; align-items: flex-end; }
.dlp-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--dlp-ui); font-weight: 700; font-size: 13px; color: var(--dlp-navy); }
.dl-portal .dlp-field input, .dl-portal .dlp-field select { height: 50px; border-radius: 12px; border: 1px solid var(--dlp-border); background: #fff; padding: 0 14px; font-family: var(--dlp-body); font-weight: 400; font-size: 15px; color: var(--dlp-navy); box-shadow: none; width: 100%; }
.dl-portal .dlp-field input:focus, .dl-portal .dlp-field select:focus, .dl-portal .dlp-qty:focus { outline: 2px solid var(--dlp-sky); outline-offset: 1px; border-color: var(--dlp-blue); }
.dlp-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }

/* Login */
.dlp-login { padding: 40px 64px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 32px; align-items: stretch; max-width: 1440px; }
.dlp-login__hero { border-radius: 28px; padding: 48px; color: #fff; display: flex; flex-direction: column; gap: 22px; background: radial-gradient(circle at 90% 10%, rgba(110,178,255,.35) 0, rgba(110,178,255,0) 45%), radial-gradient(circle at 0% 100%, rgba(255,156,0,.28) 0, rgba(255,156,0,0) 40%), var(--dlp-navy); }
.dlp-login__lead { font-size: 17px; opacity: .85; max-width: 480px; }
.dlp-login__features { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.dlp-login__features li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.dlp-login__features strong { display: block; font-family: var(--dlp-ui); font-weight: 800; font-size: 16px; }
.dlp-login__features li > span:last-child { opacity: .85; }
.dlp-login__features li > span:last-child strong { opacity: 1; }
.dlp-login__icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(110,178,255,.18); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dlp-login__card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 28px; }
.dlp-login__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }

/* Tablas */
.dlp-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dlp-intro p { max-width: 760px; }
.dlp-table { background: #fff; border: 1px solid var(--dlp-line); border-radius: 16px; overflow: hidden; }
.dlp-table__head { padding: 12px 20px; border-bottom: 1px solid var(--dlp-line); font-family: var(--dlp-ui); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dlp-muted); }
.dlp-table__row { padding: 12px 20px; border-top: 1px solid var(--dlp-line); font-size: 14px; align-items: center; }
.dlp-table__head + .dlp-table__row { border-top: 0; }
.dlp-grid-inv { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px 150px 170px; gap: 12px; align-items: center; }
.dl-portal .dlp-qty { width: 100px; height: 40px; border-radius: 10px; border: 1px solid var(--dlp-border); background: #fff; padding: 0 12px; font-family: var(--dlp-ui); font-weight: 800; font-size: 15px; color: var(--dlp-navy); box-shadow: none; }
.dl-portal .dlp-qty.is-changed { border: 2px solid #C98A00; background: #FFF8E1; }
.dlp-qty-ro { font-family: var(--dlp-ui); font-weight: 800; }
.dlp-table .woocommerce-Price-amount { white-space: nowrap; }
.dlp-table del { margin-left: 6px; }

/* Cifras del mes */
.dlp-numbers { margin: 28px 64px 0; background: #fff; border: 1px solid var(--dlp-line); border-radius: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1312px; }
.dlp-number { padding: 18px 24px; display: flex; flex-direction: column; gap: 6px; }
.dlp-number + .dlp-number { border-left: 1px solid var(--dlp-line); }
.dlp-number__label { font-family: var(--dlp-ui); font-weight: 700; font-size: 13px; color: var(--dlp-muted); }
.dlp-number__value { font-family: var(--dlp-display); font-size: 40px; line-height: .95; color: var(--dlp-navy); }
.dlp-number__value .woocommerce-Price-amount { white-space: nowrap; }
.dlp-number__sub { font-size: 13px; color: var(--dlp-muted); }
.dlp-badge { margin-left: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #F2295B; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Estados de la parte */
.dlp-chip { height: 26px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--dlp-ui); font-weight: 700; font-size: 12px; white-space: nowrap; }
.dlp-chip::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.dlp-chip--nuevo { background: #E3F1FF; color: #0F73CD; }
.dlp-chip--preparacion { background: #FFF3D1; color: #8A5A00; }
.dlp-chip--despachado { background: #ECE8FF; color: #3C2F7F; }
.dlp-chip--novedad { background: #FFE4EA; color: #C0163F; }
.dlp-chip--entregado { background: #DCFCE7; color: #065F46; }
.dlp-chip--cancelado { background: #F0F0F1; color: #50575E; }

/* Lista de pedidos */
.dlp-filters { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; }
.dl-portal .dlp-filter { color: var(--dlp-blue); }
.dl-portal .dlp-filter span { color: var(--dlp-muted); font-weight: 600; }
.dl-portal .dlp-filter.is-active { color: var(--dlp-navy); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.dlp-grid-orders { display: grid; grid-template-columns: 100px 90px minmax(0, 1fr) 130px 150px 100px; gap: 12px; align-items: center; }
.dlp-grid-liq { display: grid; grid-template-columns: minmax(0, 1fr) 80px 140px 140px 150px 150px 80px; gap: 12px; align-items: center; }

/* Liquidaciones: cifras del periodo */
.dlp-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.dlp-metric { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.dlp-metric__label { font-family: var(--dlp-ui); font-weight: 700; font-size: 13px; color: var(--dlp-muted); }
.dlp-metric__value { font-family: var(--dlp-display); font-size: 30px; line-height: 1; color: var(--dlp-navy); font-weight: 400; }
.dlp-metric__value .woocommerce-Price-amount { white-space: nowrap; }
.dlp-metric--strong { border-color: var(--dlp-blue); }
.dl-portal .dlp-inline .dlp-field { max-width: 260px; }
.dlp-right { text-align: right; }
.dl-portal .dlp-row-link { justify-self: end; font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; color: var(--dlp-muted); }
.dl-portal .dlp-row-link.is-todo { color: var(--dlp-blue); font-weight: 800; }
.dlp-pages { display: flex; gap: 6px; }
.dl-portal .dlp-page { min-width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--dlp-border); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--dlp-ui); font-weight: 700; color: var(--dlp-navy); }
.dl-portal .dlp-page.is-active { background: var(--dlp-navy); border-color: var(--dlp-navy); color: #fff; }

/* Detalle del pedido */
.dl-portal .dlp-back { font-family: var(--dlp-ui); font-weight: 700; font-size: 14px; }
.dlp-order-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dlp-order { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.dlp-order__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dlp-stack { display: flex; flex-direction: column; gap: 10px; }
.dlp-line { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.dlp-sums { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--dlp-line); }
.dlp-line--total { align-items: baseline; }
.dlp-big { font-family: var(--dlp-display); font-size: 30px; line-height: 1; }
.dlp-card--focus { border: 2px solid var(--dlp-blue); }
.dl-portal .dlp-field textarea { border-radius: 12px; border: 1px solid var(--dlp-border); background: #fff; padding: 12px 14px; font-family: var(--dlp-body); font-weight: 400; font-size: 14px; color: var(--dlp-navy); width: 100%; box-shadow: none; resize: vertical; }
.dlp-form [hidden] { display: none !important; }

.dlp-city{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:999px;background:#E3F1FF;color:#0C435B;font-size:12px;font-weight:600;white-space:nowrap}
.dlp-city svg{color:#0F73CD;flex-shrink:0}
