/* Servicio de diseño — mismo lenguaje que la tienda: negro, blanco, Poppins, bordes finos. */
.dsb { --ink: #111; --ink-2: #555; --line: #e2e2e2; --soft: #f6f6f6; --acc: #ffd400; --err: #c62828;
    max-width: 920px; margin: 0 auto; padding: 8px 0 48px; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.55; }
.dsb *, .dsb *::before, .dsb *::after { box-sizing: border-box; }
.dsb h1, .dsb h2, .dsb p, .dsb ul { margin: 0; }

/* Cabecera */
.dsb-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.dsb-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.dsb-title { font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
.dsb-lead { max-width: 640px; margin-top: 16px; font-size: 18px; color: #333; }
.dsb-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.dsb [hidden] { display: none !important; }

.dsb .dsb-btn, .dsb .dsb-btn:hover, .dsb .dsb-btn:focus { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
    border: 0; border-radius: 0; background: var(--ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: none; }
.dsb .dsb-btn:hover { background: #333; color: #fff; }
.dsb .dsb-btn:disabled { opacity: .5; cursor: wait; }

/* Precios */
.dsb-prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 32px 0 18px; }
.dsb-price-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); }
.dsb-price-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dsb-price-card strong { font-size: 28px; font-weight: 900; line-height: 1.1; }
.dsb-price-desc { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.dsb-terms { list-style: none; padding: 14px 18px !important; margin: 0 0 32px !important; background: var(--soft); font-size: 14px; }
.dsb-terms li { position: relative; padding-left: 18px; margin: 4px 0; }
.dsb-terms li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--ink); }
.dsb-terms a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.dsb-note { margin: 0 0 14px !important; padding: 12px 14px; background: var(--soft); border-left: 3px solid var(--ink); font-size: 14px; }

/* Selector de servicio */
.dsb-services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.dsb-service { position: relative; margin: 0; cursor: pointer; }
.dsb-service input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dsb-service span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 10px; border: 1px solid #cfcfcf; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.dsb-service strong { font-size: 15px; font-weight: 800; text-transform: uppercase; }
.dsb-service em { font-style: normal; font-size: 14px; color: var(--ink-2); }
.dsb-service:hover span { border-color: var(--ink); }
.dsb-service input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.dsb-service input:checked + span em { color: #ddd; }
.dsb-service input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Camiseta impresa */
.dsb-check { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 15px; cursor: pointer; }
.dsb .dsb-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.dsb-check s { color: var(--ink-2); margin-left: 4px; }
.dsb-tee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 12px; }

/* Formulario */
.dsb-form { border-top: 1px solid var(--line); padding-top: 36px; }
.dsb-form-title { font-size: 28px; font-weight: 900; text-transform: uppercase; }
.dsb-form-sub { color: var(--ink-2); margin: 6px 0 22px !important; }
.dsb-block { border: 1px solid var(--line); margin: 0 0 16px; padding: 20px 22px 8px; min-width: 0; }
.dsb-block legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.dsb-block legend + * { clear: both; }
.dsb-block--key { border: 2px solid var(--ink); }
.dsb-block.has-error { border-color: var(--err); box-shadow: inset 3px 0 0 var(--err); }
.dsb-help { font-size: 14px; color: var(--ink-2); margin-bottom: 12px !important; }
.dsb-help strong { color: var(--ink); }

.dsb-field { display: block; margin-bottom: 14px; }
.dsb-field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.dsb .dsb-field input, .dsb .dsb-field select, .dsb .dsb-field textarea { width: 100%; max-width: 100%; padding: 11px 12px; border: 1px solid #cfcfcf; border-radius: 0;
    background: #fff; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.4; box-shadow: none; }
.dsb .dsb-field input, .dsb .dsb-field select { height: 46px; }
.dsb .dsb-field textarea { resize: vertical; min-height: 0; }
.dsb .dsb-field input:focus, .dsb .dsb-field select:focus, .dsb .dsb-field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }

/* Chips (checkbox/radio con aspecto de botón) */
.dsb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dsb-chip { position: relative; margin: 0; cursor: pointer; }
.dsb-chip input, .dsb-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dsb-chip span { display: inline-block; padding: 9px 14px; border: 1px solid #cfcfcf; font-size: 14px; font-weight: 500; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.dsb-chip:hover span { border-color: var(--ink); }
.dsb-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.dsb-chip input:focus-visible + span, .dsb-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.dsb-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dsb-option { position: relative; margin: 0; cursor: pointer; }
.dsb-option span { display: flex; align-items: center; height: 100%; min-height: 54px; padding: 10px 14px 10px 40px; border: 1px solid #cfcfcf; font-size: 14px; font-weight: 600; line-height: 1.3; position: relative; }
.dsb-option span::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid #999; border-radius: 50%; }
.dsb-option input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.dsb-option input:checked + span::before { border-color: var(--ink); background: radial-gradient(var(--ink) 45%, transparent 50%); }

.dsb-reveal { display: none; }
.dsb-reveal.is-open { display: block; }

/* Zona de archivos */
.dsb-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; margin-bottom: 14px;
    padding: 18px; border: 2px dashed #bdbdbd; background: var(--soft); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dsb-drop:hover, .dsb-drop.is-over { border-color: var(--ink); background: #fff; }
.dsb-drop strong { font-size: 15px; }
.dsb-drop span { font-size: 13px; color: var(--ink-2); }
.dsb .dsb-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; display: block !important; }
.dsb-drop--single { min-height: 90px; }

.dsb-files { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px !important; }
.dsb-files:empty { display: none; }
.dsb-files li { position: relative; border: 1px solid var(--line); background: #fff; }
.dsb-files img, .dsb-file-tag { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); font-weight: 700; font-size: 13px; }
.dsb-file-name { display: block; padding: 4px 6px; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsb .dsb-file-rm, .dsb .dsb-file-rm:hover { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(0, 0, 0, .75); color: #fff; font-size: 17px; line-height: 26px; cursor: pointer; }

/* Pago */
.dsb-pay { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 24px; padding: 16px 20px; background: #fff; border: 2px solid var(--ink); }
.dsb-total { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; }
.dsb-total span { font-size: 14px; font-weight: 600; text-transform: uppercase; }
.dsb-total strong { font-size: 28px; font-weight: 900; }
.dsb-total small { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); }
.dsb .dsb-btn--pay { min-width: 240px; background: var(--ink); }
.dsb-status { min-height: 1.5em; margin-top: 12px; font-size: 14px; font-weight: 600; }
.dsb-status.is-error { color: var(--err); }
.dsb-status.is-ok { color: #1b7f3b; }
.dsb-small { font-size: 13px; color: var(--ink-2); margin-top: 4px !important; }

@media (max-width: 760px) {
    .dsb { font-size: 15px; }
    .dsb-hero { padding: 24px 0; }
    .dsb-prices { grid-template-columns: 1fr 1fr; padding: 22px 0 14px; }
    .dsb-prices .dsb-price-card:last-child { grid-column: 1 / -1; }
    .dsb-services { grid-template-columns: 1fr 1fr; }
    .dsb-services .dsb-service:last-child { grid-column: 1 / -1; }
    .dsb-tee-grid { grid-template-columns: 1fr 1fr; }
    .dsb-block { padding: 16px 14px 4px; }
    .dsb-options { grid-template-columns: 1fr; }
    .dsb-pay { padding: 12px 14px; }
    .dsb .dsb-btn--pay { flex: 1 1 100%; min-width: 0; }
}
