:root {
    --dcl-color-primary: #176b5d;
    --dcl-color-secondary: #1f2937;
    --dcl-color-primary-contrast: #ffffff;
    --dcl-color-secondary-contrast: #ffffff;
    --dcl-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --dcl-heading-weight: 800;
    --dcl-surface: #ffffff;
    --dcl-surface-soft: #f6f8fb;
    --dcl-border: transparent;
    --dcl-input-border: #c3ced9;
    --dcl-text: #172033;
    --dcl-muted: #5f6b7a;
}

.dcl-shell-main {
    min-height: 40vh;
}

.dcl-shell-header {
    --dcl-theme-header-offset: 0px;
    position: sticky;
    top: var(--dcl-theme-header-offset);
    z-index: 25;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1rem 1.5rem;
    margin-top: 0;
    background: rgba(249, 251, 253, 0.92);
    border-top: 1px solid rgba(216, 224, 231, 0.9);
    border-bottom: 1px solid rgba(216, 224, 231, 0.9);
}

.dcl-shell-header__inner {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.dcl-shell-header__actions,
.dcl-shell-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.dcl-shell-page-content {
    padding-top: 0.5rem;
}

.dcl-form-wrapper,
.dcl-panel,
.dcl-directory,
.dcl-single {
    max-width: 1120px;
    margin: 60px auto 100px;
    padding: 1.5rem;
    overflow-x: hidden;
    color: var(--dcl-text);
}

.dcl-form-wrapper *,
.dcl-panel *,
.dcl-directory *,
.dcl-single * {
    box-sizing: border-box;
}

.dcl-form-wrapper,
.dcl-panel,
.dcl-directory,
.dcl-single,
.dcl-form-wrapper :is(h1, h2, h3, h4, p, span, a, li, small, strong, label, input, select, textarea, button),
.dcl-panel :is(h1, h2, h3, h4, p, span, a, li, small, strong, label, input, select, textarea, button),
.dcl-directory :is(h1, h2, h3, h4, p, span, a, li, small, strong, label, input, select, textarea, button),
.dcl-single :is(h1, h2, h3, h4, p, span, a, li, small, strong, label, input, select, textarea, button) {
    font-family: var(--dcl-font-family) !important;
}

.dcl-form-wrapper :is(h1, h2, h3, h4),
.dcl-panel :is(h1, h2, h3, h4),
.dcl-directory :is(h1, h2, h3, h4),
.dcl-single :is(h1, h2, h3, h4) {
    color: var(--dcl-text) !important;
    font-weight: var(--dcl-heading-weight) !important;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin-top: 0;
}

.dcl-grid {
    display: grid;
    gap: 1.35rem;
}

.dcl-grid > * {
    /* Same fix as .dcl-panel--phase-one: grid items can't shrink below their content's natural
       size by default, which lets nested content force any grid wider than its container. */
    min-width: 0;
}

.dcl-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dcl-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dcl-grid--client-dashboard > :first-child {
    order: 2;
}

.dcl-grid--client-dashboard > :last-child {
    order: 1;
}

.dcl-card,
.dcl-form,
.dcl-single__hero,
.dcl-directory__filters,
.dcl-directory__intro,
.dcl-single__cta {
    background: var(--dcl-surface);
    border: 1px solid var(--dcl-border);
    border-radius: 14px;
    box-shadow: 0 0 38px rgba(15, 23, 42, 0.1);
}

.dcl-card,
.dcl-single__hero,
.dcl-directory__filters,
.dcl-single__cta {
    padding: 2.5rem;
}

.dcl-form {
    padding: 1.75rem;
    display: grid;
    gap: 1rem;
}

.dcl-plan-control {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%);
    min-width: 0;
}

.dcl-plan-control > * {
    min-width: 0;
}

.dcl-plan-control__header {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
    align-items: start;
}

.dcl-plan-control__header > * {
    min-width: 0;
}

.dcl-plan-control__select {
    display: grid;
    gap: 0.5rem;
}

.dcl-plan-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    min-width: 0;
}

.dcl-plan-grid > * {
    min-width: 0;
}

.dcl-plan-card {
    padding: 1.35rem;
    border: 1px solid var(--dcl-border);
    border-radius: 18px;
    background: #fff;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.dcl-plan-card h4 {
    margin-bottom: 0.45rem;
}

.dcl-plan-card p {
    margin: 0;
    color: var(--dcl-muted);
}

.dcl-plan-card.is-active {
    border-color: var(--dcl-color-primary);
    box-shadow: 0 14px 30px rgba(23, 107, 93, 0.12);
    transform: translateY(-1px);
}

.dcl-plan-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    background: #e6f4f1;
    color: var(--dcl-color-primary);
    font-weight: 700;
}

.dcl-panel-plan-summary {
    margin-bottom: 1.2rem;
    padding: 1.35rem;
    border: 1px solid var(--dcl-border);
    border-radius: 18px;
    background: #eef2f1;
}

.dcl-plan-feature-list {
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
    color: var(--dcl-text);
}

.dcl-plan-feature-list li + li {
    margin-top: 0.35rem;
}

.dcl-plan-section[hidden] {
    display: none !important;
}

.dcl-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--dcl-text);
}

.dcl-form input,
.dcl-form select,
.dcl-form textarea,
.dcl-directory__filters input,
.dcl-directory__filters select {
    width: 100%;
    border: 1px solid var(--dcl-input-border);
    border-radius: 12px;
    padding: 0.82rem 0.95rem;
    font: inherit;
    color: var(--dcl-text);
    background: var(--dcl-surface-soft);
}

.dcl-panel-shipping input,
.dcl-panel-shipping select,
.dcl-panel-shipping textarea,
.dcl-panel-account input,
.dcl-panel-account select,
.dcl-panel-account textarea {
    border: 1px solid var(--dcl-input-border) !important;
    background: var(--dcl-surface-soft) !important;
    border-radius: 12px !important;
    padding: 0.82rem 0.95rem !important;
    width: 100% !important;
}

.dcl-form input:-webkit-autofill,
.dcl-form input:-webkit-autofill:hover,
.dcl-form input:-webkit-autofill:focus,
.dcl-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--dcl-surface-soft) inset;
    -webkit-text-fill-color: var(--dcl-text);
    caret-color: var(--dcl-text);
    border: 1px solid var(--dcl-input-border);
    transition: background-color 5000s ease-in-out 0s;
}

.dcl-form .wp-editor-wrap,
.dcl-form .wp-editor-container,
.dcl-form .mce-tinymce {
    border-radius: 16px;
    overflow: hidden;
}

.dcl-editor-shell .wp-editor-container textarea {
    min-height: 220px;
}

.dcl-input-affix {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid var(--dcl-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--dcl-surface-soft);
}

.dcl-input-affix>span {
    padding: 0.82rem 0.9rem;
    color: var(--dcl-muted);
    border-right: 1px solid var(--dcl-border);
}

.dcl-input-affix input {
    border: 0;
    background: transparent;
}

.dcl-button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.38rem 0.9rem;
    border-radius: 6px !important;
    border: 1.5px solid var(--dcl-color-primary) !important;
    background: var(--dcl-color-primary) !important;
    color: var(--dcl-color-primary-contrast) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.12s ease;
}

.dcl-single .dcl-button {
    background-color: var(--dcl-color-primary) !important;
    border-color: var(--dcl-color-primary) !important;
    color: var(--dcl-color-primary-contrast) !important;
}

.dcl-button--secondary,
.dcl-single .dcl-button--secondary {
    background: var(--dcl-color-secondary) !important;
    background-color: var(--dcl-color-secondary) !important;
    border-color: var(--dcl-color-secondary) !important;
    color: var(--dcl-color-secondary-contrast) !important;
}

.dcl-button--pending {
    background: #f59e0b !important;
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #78350f !important;
}

.dcl-button--muted {
    background: #e5e7eb !important;
    background-color: #e5e7eb !important;
    border-color: #e5e7eb !important;
    color: #374151 !important;
}

.dcl-button--dark {
    background: #111827 !important;
    background-color: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
    padding: 0.7rem 1.4rem !important;
    margin-top: 20px;
}

.dcl-otp-input {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.dcl-otp-input__box {
    width: 24px;
    height: 64px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0 !important;
}

.dcl-access-2fa {
    max-width: 420px;
    margin: 0 auto;
}

.dcl-access-icon {
    display: block;
    width: 75%;
    max-width: 260px;
    height: auto;
    margin: 0 auto 0.75rem;
}

.dcl-panel-reject-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e5e7eb;
}

.dcl-panel-reject-form label {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dcl-text);
}

.dcl-panel-reject-form textarea {
    width: 100%;
    border: 1px solid var(--dcl-input-border);
    border-radius: 12px;
    padding: 0.82rem 0.95rem;
    font: inherit;
    color: var(--dcl-text);
    background: var(--dcl-surface-soft);
    resize: vertical;
}

.dcl-button:hover,
.dcl-button:focus-visible {
    opacity: 0.96;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

.dcl-notice {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.dcl-notice p {
    margin: 0 0 0.6rem;
}

.dcl-notice .dcl-button {
    display: inline-block;
}

.dcl-notice--success {
    background: #dcfce7;
    color: #166534;
}

.dcl-notice--warning {
    background: #fef3c7;
    color: #92400e;
}

.dcl-notice--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.dcl-notice--error {
    background: #fee2e2;
    color: #b91c1c;
}

.dcl-error {
    color: #b91c1c;
}

.dcl-error {
    font-size: 0.9rem;
}

.dcl-file-feedback {
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.25rem;
}

.dcl-file-feedback--ok {
    color: #166534;
}

.dcl-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dcl-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dcl-audience-toggle__buttons {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.dcl-audience-toggle__buttons label {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1.5px solid var(--dcl-border);
    background: #e3e7ec;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dcl-audience-panel {
    display: none;
}

#dcl-audience-comercio:checked ~ .dcl-audience-toggle__buttons label[for="dcl-audience-comercio"],
#dcl-audience-vecino:checked ~ .dcl-audience-toggle__buttons label[for="dcl-audience-vecino"] {
    border-color: var(--dcl-color-primary);
    background: var(--dcl-color-primary);
    color: var(--dcl-color-primary-contrast);
}

#dcl-audience-comercio:checked ~ .dcl-audience-panel--comercio,
#dcl-audience-vecino:checked ~ .dcl-audience-panel--vecino {
    display: block;
}

.dcl-media-dropzone {
    position: relative;
}

.dcl-media-dropzone__input {
    position: absolute;
    inset: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.dcl-media-dropzone__surface {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 2px dashed var(--dcl-input-border, #c3ced9);
    border-radius: 16px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.dcl-media-dropzone__surface:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.dcl-media-dropzone--dragover .dcl-media-dropzone__surface {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    transform: scale(1.01);
}

.dcl-media-dropzone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.dcl-media-dropzone--dragover .dcl-media-dropzone__icon {
    color: #2563eb;
}

.dcl-media-dropzone__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.dcl-media-dropzone__text strong {
    color: #2563eb;
    text-decoration: underline;
}

.dcl-media-dropzone__hint {
    font-size: 0.8rem;
    color: #64748b;
}

.dcl-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.dcl-media-grid:empty {
    display: none;
}

.dcl-media-grid--single {
    grid-template-columns: minmax(120px, 160px);
}

.dcl-media-grid--portrait {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.dcl-media-grid--portrait .dcl-media-grid__item {
    aspect-ratio: 4 / 5;
}

.dcl-media-grid__item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--dcl-border);
    aspect-ratio: 1 / 1;
    transition: opacity 0.15s ease;
}

.dcl-media-grid__item--hidden,
.dcl-media-grid__item--removed {
    display: none;
}

.dcl-media-grid__thumb {
    width: 100%;
    height: 100%;
}

.dcl-media-grid__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcl-media-grid__badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.9);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
}

.dcl-media-grid__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.dcl-media-grid__remove:hover {
    background: #dc2626;
}

.dcl-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
}

.dcl-confirm-overlay.is-open {
    display: flex;
}

.dcl-confirm-modal {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.dcl-confirm-modal__message {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.dcl-confirm-modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.dcl-map-picker,
.dcl-map-display {
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--dcl-border);
    background: #f9fbfc;
}

.dcl-map-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

.dcl-gallery-grid,
.dcl-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dcl-card--listing {
    display: grid;
    gap: 0.75rem;
}

.dcl-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 1rem;
    background: #f9fbfc;
    border: 1px solid var(--dcl-border);
    border-radius: 18px;
    overflow: hidden;
}

.dcl-card__media img,
.dcl-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.dcl-card__media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.dcl-single__logo {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    max-width: 90px;
    max-height: 90px;
    border-radius: 0;
    object-fit: contain;
    border: none;
}

.dcl-card__category,
.dcl-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--dcl-color-primary) !important;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dcl-help__item {
    border-top: 1px solid var(--dcl-border, #e5e7eb);
    padding: 1rem 0;
}

.dcl-help__item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
}

.dcl-help__item summary::-webkit-details-marker {
    display: none;
}

.dcl-help__item summary::before {
    content: '+';
    display: inline-block;
    width: 1.2em;
    color: var(--dcl-color-primary);
    font-weight: 800;
}

.dcl-help__item[open] summary::before {
    content: '−';
}

.dcl-help__item p {
    margin: 0.75rem 0 0 1.2em;
    color: var(--dcl-muted);
}

.dcl-card__meta,
.dcl-inline-option,
.dcl-field-help {
    color: var(--dcl-muted);
}

.dcl-card__meta,
.dcl-inline-option {
    font-size: 0.92rem;
}

.dcl-form label.dcl-inline-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
}

.dcl-inline-option input[type="checkbox"] {
    width: auto;
    flex: 0 0 auto;
}

.dcl-access-note {
    margin-top: 1.5rem;
}

.dcl-recaptcha-notice {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6b7280;
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden;
}

.dcl-field-help {
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 500;
}


/* Categorías agrupadas con optgroup en selects */

.dcl-form select optgroup,
.dcl-directory__filters select optgroup {
    font-weight: 700;
    color: var(--dcl-text);
    font-style: normal;
}

.dcl-form select option,
.dcl-directory__filters select option {
    font-weight: 400;
    padding: 0.5rem 0.25rem;
    line-height: 1.6;
}


/* Opciones de categorías padre (nivel 0) más destacadas */

.dcl-form select option[style*="700"],
.dcl-directory__filters select option[style*="700"] {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.dcl-link,
.dcl-card__body h3 a,
.dcl-single a:not(.dcl-button):not(.dcl-social-link) {
    color: var(--dcl-color-primary) !important;
    text-decoration: none;
}

.dcl-link:hover,
.dcl-card__body h3 a:hover,
.dcl-single a:not(.dcl-button):not(.dcl-social-link):hover {
    text-decoration: underline;
}

.dcl-directory__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.3rem 1.4rem;
}

.dcl-directory__intro h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 3vw, 3.25rem);
}

.dcl-panel__intro h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.dcl-panel--phase-one {
    display: grid;
    /* Without an explicit column size, an implicit single-column grid sizes itself off its
       content's intrinsic width instead of filling 100% - and that width varies per page
       depending on what's nested inside, which is why the same card measured a different
       width on the dashboard vs the edit view. minmax(0, 1fr) forces it to always fill and
       to shrink freely (the 0 lets it go below its content's "natural" minimum width). */
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.dcl-panel--phase-one > * {
    /* Grid items default to min-width: auto (can't shrink below their content's natural size).
       Without this, deeply nested content (plan cards, category select, form fields) can force
       this whole column wider than the viewport once the column itself is properly constrained
       above - the fix for the width-varies-per-page bug otherwise just relocates the overflow. */
    min-width: 0;
}

.dcl-panel-dashboard {
    margin-bottom: 0;
}

.dcl-card--full {
    grid-column: 1 / -1;
    min-width: 0;
}

.dcl-panel-stat h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.dcl-panel-stat p:last-child {
    margin-bottom: 0;
    color: var(--dcl-muted);
}

.dcl-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.dcl-panel-actions--inline {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.dcl-panel-actions--stack {
    align-items: stretch;
    flex-direction: column;
}

.dcl-panel-notifications-flag {
    margin-top: 1.15rem;
}

.dcl-panel-notifications-toggle {
    display: flex;
}

.dcl-panel-notifications-toggle.dcl-inline-form {
    margin-top: 1.15rem;
}

.dcl-panel-notifications-toggle .dcl-button {
    width: 100%;
    padding: 0.75rem 0.9rem !important;
}

.dcl-panel-delete-listing {
    display: flex;
}

.dcl-panel-delete-listing.dcl-inline-form {
    margin-top: 0.75rem;
}

.dcl-panel-delete-listing .dcl-button {
    width: 100%;
    padding: 0.75rem 0.9rem !important;
}

.dcl-panel-assign-listing {
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid #e5e7eb;
}

.dcl-panel-assign-listing .dcl-eyebrow {
    margin-bottom: 0.5rem;
}

.dcl-panel-assign-listing form {
    margin-top: 0.85rem;
}

.dcl-panel-assign-listing form label {
    display: block;
    margin-bottom: 0.85rem;
}

.dcl-panel-assign-listing form button {
    margin-top: 0.5rem;
}

.dcl-panel-listings {
    display: grid;
    gap: 1.5rem;
}

.dcl-panel-listing-card {
    padding: 1.85rem;
}

.dcl-panel-listing-card__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.dcl-panel-listing-card__top h3 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.dcl-panel-listing-card__top p {
    margin: 0;
    color: var(--dcl-muted);
}

.dcl-panel-listing-card__meta {
    margin-bottom: 0.85rem;
    color: var(--dcl-muted);
    font-size: 0.95rem;
}

.dcl-panel-listing-card__meta--stack {
    display: grid;
    gap: 0.35rem;
}

.dcl-panel-listing-card__manager.dcl-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
}

.dcl-panel-listing-card__manager-field {
    margin: 0;
    flex: 1 1 160px;
    min-width: 140px;
}

.dcl-panel-listing-card__manager-field select {
    width: 100%;
    margin: 0;
}

.dcl-panel-listing-card__manager .dcl-button {
    flex: 0 0 auto;
}

.dcl-panel-section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.dcl-panel-section-heading__meta {
    display: grid;
    justify-items: end;
    gap: 0.6rem;
}

.dcl-panel-section-heading__meta .dcl-card__meta {
    margin: 0;
    text-align: right;
}

.dcl-panel-accordion > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dcl-panel-accordion > summary::-webkit-details-marker {
    display: none;
}

.dcl-panel-accordion > summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--dcl-color-primary);
    font-weight: 800;
}

.dcl-panel-accordion[open] > summary::after {
    content: '\2212';
}

.dcl-panel-accordion > summary h2 {
    margin: 0;
}

.dcl-panel-card-search {
    display: block;
    margin: 1rem 0;
}

.dcl-panel-card-search input {
    width: 100%;
    max-width: 360px;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--dcl-color-primary);
    border-radius: 8px;
    font-size: 0.95rem;
}

.dcl-panel-plan-upgrade {
    margin: 1rem 0 1.5rem;
}

.dcl-panel-plan-upgrade__form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-width: 360px;
}

.dcl-panel-plan-upgrade__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dcl-panel-plan-upgrade__actions .dcl-button {
    width: 100%;
    text-align: center;
}

.dcl-panel-form-divider {
    padding-top: 0.5rem;
    border-top: 1px solid var(--dcl-border);
}

.dcl-panel-invoices {
    margin-top: 1rem;
    padding: 1.35rem;
    border-radius: 14px;
    background: var(--dcl-surface);
    border: 1px solid var(--dcl-border);
    box-shadow: 0 0 38px rgba(15, 23, 42, 0.1);
    scroll-margin-top: 2rem;
}

.dcl-panel-shipping {
    margin-top: 1rem;
}

.dcl-panel-account {
    min-width: 0;
}

.dcl-panel-account.dcl-card--full .dcl-form {
    max-width: 640px;
}

.dcl-panel-account .dcl-form {
    min-width: 0;
}

.dcl-panel-account input,
.dcl-panel-account textarea,
.dcl-panel-account select {
    min-width: 0;
}

.dcl-panel-billing-summary {
    display: grid;
    gap: 0.7rem;
}

.dcl-panel-billing-summary p {
    margin: 0;
}

.dcl-panel-billing-summary .dcl-eyebrow {
    margin-top: 0.2rem;
}

.dcl-panel-billing-summary .dcl-panel-form-divider {
    margin-top: 0.35rem;
}

.dcl-panel-billing-summary + .dcl-panel-actions--inline {
    margin-top: 1rem;
}

.dcl-panel-file-list {
    display: grid;
    gap: 0.7rem;
}

.dcl-panel-file-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--dcl-border);
    border-radius: 14px;
    background: #ffffff;
}

.dcl-panel-file-item input {
    width: auto;
    margin: 0;
}

.dcl-panel-file-item--actions {
    grid-template-columns: minmax(0, 1fr) auto;
}

.dcl-panel-file-item__name {
    font-weight: 700;
    word-break: break-word;
}

.dcl-panel-file-item a:not(.dcl-button) {
    color: var(--dcl-text) !important;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.dcl-panel-file-item a:not(.dcl-button):hover {
    text-decoration: underline;
}

.dcl-inline-form {
    margin: 0;
}

.dcl-panel-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #eef2ff;
    color: #1e3a8a;
    white-space: nowrap;
}

.dcl-panel-status--publish {
    background: #dcfce7;
    color: #166534;
}

.dcl-panel-status--pending {
    background: #fef3c7;
    color: #92400e;
}

.dcl-panel-status--draft {
    background: #e5e7eb;
    color: #374151;
}

.dcl-panel-status--new {
    background: #dcfce7;
    color: #166534;
}

.dcl-panel-listing-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.dcl-panel-preview__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.dcl-card--nested {
    padding: 1.75rem;
    background: var(--dcl-surface-soft);
    box-shadow: none;
}

.dcl-panel-changes {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

.dcl-panel-changes__list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.dcl-panel-changes__list li {
    color: #92400e;
    font-weight: 600;
}

.dcl-panel-changes__thumbs {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dcl-panel-changes__thumbs img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.dcl-panel-media-review {
    margin-top: 1.25rem;
    display: grid;
    gap: 1rem;
}

.dcl-panel-media-review--compact {
    margin-top: 1rem;
}

.dcl-panel-media-block {
    display: grid;
    gap: 0.75rem;
}

.dcl-card__media--review {
    max-width: 420px;
    margin: 0;
}

.dcl-card--panel-form {
    padding: 1.75rem;
}

.dcl-card--panel-form > .dcl-panel-actions {
    margin-bottom: 0.95rem;
    padding-bottom: 0.2rem;
}

.dcl-form--simple-panel {
    gap: 0.85rem;
}

.dcl-form-wrapper--simple {
    max-width: none;
    margin: 0;
    padding: 0;
}

.dcl-form-simple__intro {
    margin-bottom: 0.35rem;
}

.dcl-form-simple__intro h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.6rem, 2.1vw, 2.15rem);
}

.dcl-form-simple__intro p {
    margin: 0;
    color: var(--dcl-muted);
}

.dcl-form-wrapper--simple .dcl-form {
    gap: 0.9rem;
}

.dcl-form-wrapper--simple .dcl-grid--2,
.dcl-form-wrapper--simple .dcl-grid--3 {
    grid-template-columns: 1fr;
}

.dcl-form-wrapper--simple .dcl-field-help {
    color: var(--dcl-muted);
    font-size: 0.84rem;
}

.dcl-form-wrapper--simple .dcl-form {
    padding: 1.5rem;
}

.dcl-single__title-group h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.8rem, 2.4vw, 2.85rem);
    line-height: 1.1;
}

.dcl-directory__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.dcl-directory__filters input,
.dcl-directory__filters select {
    flex: 1 1 220px;
    min-width: 180px;
}

.dcl-directory__filters .dcl-category-picker {
    flex: 1 1 220px;
    min-width: 180px;
    position: relative;
}

.dcl-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.dcl-pagination .page-numbers {
    padding: 0.7rem 0.95rem;
    border-radius: 5px;
    border: 1px solid var(--dcl-border);
    color: var(--dcl-text);
    text-decoration: none;
}

.dcl-pagination .current {
    background: var(--dcl-color-secondary);
    color: var(--dcl-color-secondary-contrast);
}

.dcl-single {
    background: transparent;
    padding-bottom: 130px;
}

:root {
    --dcl-hero-box-size: clamp(170px, 19vw, 210px);
}

.dcl-single__hero {
    padding: 1.7rem;
    margin: 0;
    min-height: var(--dcl-hero-box-size);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dcl-single__hero-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1.35rem;
    margin-top: 0.9rem;
    margin-bottom: 1.35rem;
}

.dcl-single__hero-brand {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 0;
}

.dcl-single__hero-brand .dcl-single__logo-frame {
    width: var(--dcl-hero-box-size);
    height: var(--dcl-hero-box-size);
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--dcl-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 0 30px rgba(15, 23, 42, 0.1);
}

.dcl-single__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.dcl-single__head--logo-portrait {
    align-items: start;
}

.dcl-single__head--logo-portrait_classic,
.dcl-single__head--logo-story {
    align-items: start;
}

.dcl-single__logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 24px;
    background: transparent;
    overflow: hidden;
}

.dcl-single__logo-frame--full {
    width: clamp(180px, 22vw, 280px);
    aspect-ratio: auto;
    min-height: 120px;
    max-height: 260px;
}

.dcl-single__logo-frame--cinema {
    width: clamp(220px, 28vw, 300px);
    aspect-ratio: 21 / 9;
}

.dcl-single__logo-frame--landscape {
    width: clamp(180px, 22vw, 250px);
    aspect-ratio: 16 / 9;
}

.dcl-single__logo-frame--classic {
    width: clamp(180px, 21vw, 230px);
    aspect-ratio: 4 / 3;
}

.dcl-single__logo-frame--photo {
    width: clamp(180px, 22vw, 240px);
    aspect-ratio: 3 / 2;
}

.dcl-single__logo-frame--square {
    width: clamp(160px, 19vw, 200px);
    aspect-ratio: 1 / 1;
}

.dcl-single__logo-frame--portrait_classic {
    width: clamp(150px, 16vw, 175px);
    aspect-ratio: 3 / 4;
}

.dcl-single__logo-frame--portrait {
    width: clamp(145px, 15vw, 165px);
    aspect-ratio: 4 / 5;
}

.dcl-single__logo-frame--story {
    width: clamp(140px, 14vw, 155px);
    aspect-ratio: 9 / 16;
}

.dcl-single__title-group {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.dcl-single__lede {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dcl-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dcl-single__logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    flex: 0 0 auto;
    border-radius: 0;
    object-fit: contain;
    border: none;
    display: block;
}

.dcl-single__logo--framed {
    object-fit: contain;
}

.dcl-single__logo--full {
    object-fit: contain;
}

.dcl-single__stack {
    display: grid;
    gap: 1.25rem;
}

.dcl-single__adjacent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 50px;
}

.dcl-single .dcl-single__adjacent a.dcl-single__adjacent-link,
.dcl-single .dcl-single__adjacent a.dcl-single__adjacent-link:hover {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--dcl-input-border);
    border-radius: 14px;
    background: var(--dcl-surface);
    text-decoration: none !important;
    color: var(--dcl-text) !important;
}

.dcl-single__adjacent-link--next {
    grid-column: 2;
    justify-content: flex-end;
    text-align: right;
}

.dcl-single__adjacent-arrow {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dcl-color-primary);
    flex-shrink: 0;
}

.dcl-single__adjacent-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.dcl-single__adjacent-text small {
    color: var(--dcl-muted);
    font-size: 0.8rem;
}

.dcl-single__adjacent-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .dcl-single__adjacent {
        grid-template-columns: 1fr;
    }

    .dcl-single__adjacent-link--next {
        grid-column: 1;
    }
}

.dcl-single__modules-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

.dcl-single__modules-column {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    min-width: 0;
}

.dcl-single__info-card,
.dcl-single__map-card,
.dcl-single__gallery-card,
.dcl-single__social-card,
.dcl-single__services-card,
.dcl-single__editorial-card {
    min-width: 0;
}

.dcl-editorial-links {
    display: grid;
    gap: 0.85rem;
}

.dcl-editorial-link {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--dcl-border);
    border-radius: 16px;
    background: var(--dcl-surface-soft);
    color: var(--dcl-text) !important;
    text-decoration: none !important;
}

.dcl-editorial-link:hover {
    border-color: var(--dcl-color-primary);
    text-decoration: none !important;
}

.dcl-editorial-link__type {
    color: var(--dcl-color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dcl-single__section {
    display: grid;
    gap: 1rem;
}

.dcl-single__hero-description {
    margin-bottom: 1.35rem;
}

.dcl-single__plaintext,
.dcl-single__hours {
    color: var(--dcl-text);
    line-height: 1.65;
}

.dcl-single__hours {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.75rem;
}

.dcl-single__info-line,
.dcl-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.dcl-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.dcl-detail-list li .dcl-icon {
    fill: var(--dcl-color-primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.dcl-detail-list__content {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    flex-wrap: wrap;
    flex: 1;
}

.dcl-detail-list li strong {
    font-weight: 700;
    margin-right: 0.4rem;
}

.dcl-detail-list li a {
    color: var(--dcl-color-secondary);
    text-decoration: none;
}

.dcl-detail-list li a:hover {
    text-decoration: underline;
}

.dcl-detail-list__hours,
.dcl-detail-list__services {
    display: flex !important;
    align-items: flex-start !important;
}

.dcl-detail-list__hours .dcl-detail-list__content,
.dcl-detail-list__services .dcl-detail-list__content {
    display: block;
}

.dcl-hours-schedule {
    margin-top: 0.5rem;
    display: grid !important;
    grid-template-columns: auto minmax(120px, auto) minmax(120px, auto) !important;
    column-gap: 1.5rem !important;
    row-gap: 0.5rem !important;
    align-items: center !important;
    font-size: 0.95rem;
}

.dcl-hours-day-label {
    font-weight: 600 !important;
    color: #9ca3af !important;
    justify-self: start !important;
    grid-column: 1 !important;
}

.dcl-hours-shift1,
.dcl-hours-shift2 {
    color: var(--dcl-text) !important;
    justify-self: start !important;
}

.dcl-hours-shift1 {
    grid-column: 2 !important;
    padding-right: 0.25rem !important;
}

.dcl-hours-shift1--single {
    grid-column: 2 / 4 !important;
    padding-right: 0 !important;
}

.dcl-hours-shift2 {
    grid-column: 3 !important;
    margin-left: -0.8rem !important;
}


/* Indicador de estado (abierto/cerrado) */

.dcl-open-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.dcl-open-status__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.dcl-open-status--open {
    background: #dcfce7;
    color: #166534;
}

.dcl-open-status--open .dcl-open-status__indicator {
    background: #22c55e;
    animation: dcl-pulse-green 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.dcl-open-status--closed {
    background: #fee2e2;
    color: #991b1b;
}

.dcl-open-status--closed .dcl-open-status__indicator {
    background: #ef4444;
}

@keyframes dcl-pulse-green {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.dcl-detail-list__services div {
    margin-top: 0.25rem;
    margin-left: 0;
}

.dcl-single__route-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.dcl-single__modules-columns .dcl-single__claim-card h2 {
    font-size: 1.5rem;
}

.dcl-single__claim-card p {
    margin: 0.5rem 0 1rem;
}

.dcl-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dcl-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dcl-color-primary);
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.dcl-social-link:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.dcl-social-link .dcl-icon {
    fill: #fff !important;
}

.dcl-social-link__label {
    display: none;
}

.dcl-icon {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    fill: currentColor;
    flex: 0 0 20px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}

.dcl-single__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.dcl-location-search {
    display: flex;
    gap: 0.75rem;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.dcl-location-search label {
    flex: 1 1 320px;
}

.dcl-geocode-trigger[disabled] {
    opacity: 0.65;
    cursor: wait;
}

.dcl-map-marker {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 999px 999px 999px 0;
    transform: rotate(-45deg);
    background: var(--dcl-color-primary);
    border: 2px solid #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.dcl-map-marker::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: #ffffff;
}

.dcl-map-picker .leaflet-marker-icon {
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .dcl-form-wrapper,
    .dcl-panel,
    .dcl-directory,
    .dcl-single {
        padding: 0.75rem;
    }
    .dcl-plan-control__header {
        /* Fixed two-column template (minmax(220px, 1fr) for the 2nd column) never collapsed on
           narrow screens, forcing the whole card wider than the viewport. */
        grid-template-columns: 1fr;
    }
    .dcl-plan-grid {
        /* Same issue: minmax(190px, 1fr) has a fixed floor that doesn't fit once this is nested
           several padded cards deep on a narrow phone - force a single column with no minimum. */
        grid-template-columns: 1fr;
    }
    .dcl-grid {
        gap: 1rem;
    }
    .dcl-card,
    .dcl-form,
    .dcl-directory__filters {
        padding: 1rem;
    }
    .dcl-card .dcl-card,
    .dcl-card .dcl-form,
    .dcl-form .dcl-card,
    .dcl-form .dcl-form {
        /* Any card/form nested inside another card/form: drop the shadow (pure visual weight,
           doesn't free up space) and shrink its own padding (this is what actually eats into
           the room left for typing), instead of stacking full-size padding at every level. */
        box-shadow: none;
        padding: 0.6rem;
    }
    .dcl-plan-card {
        padding: 0.85rem;
    }
    .dcl-panel-plan-summary {
        padding: 0.85rem;
        border-radius: 14px;
    }
    .dcl-directory__filters input,
    .dcl-directory__filters select,
    .dcl-directory__filters .dcl-category-picker {
        /* On row layout 220px is a min-width; once stacked to a column it would
           otherwise be read as a min-height, blowing up each field's size. */
        flex: 1 1 auto;
    }
    .dcl-single__modules-columns {
        grid-template-columns: 1fr !important;
    }
    .dcl-single__head,
    .dcl-single__cta,
    .dcl-directory__intro,
    .dcl-directory__filters {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
    .dcl-single__head {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .dcl-single__logo-frame--cinema,
    .dcl-single__logo-frame--full,
    .dcl-single__logo-frame--landscape,
    .dcl-single__logo-frame--classic,
    .dcl-single__logo-frame--photo,
    .dcl-single__logo-frame--square,
    .dcl-single__logo-frame--portrait_classic,
    .dcl-single__logo-frame--portrait,
    .dcl-single__logo-frame--story {
        width: min(100%, 280px);
    }
    .dcl-single__hero-shell {
        grid-template-columns: 1fr;
    }
    .dcl-single__hero-brand {
        /* Without this the box stretches to the full stacked-column width, dragging the corner badge away from the logo. */
        justify-self: start;
        width: fit-content;
    }
}

.dcl-single .dcl-single__head {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: flex-start;
}

.dcl-single .dcl-single__logo-frame {
    justify-content: flex-start;
}

.dcl-single .dcl-single__title-group h1 {
    font-size: clamp(1.4rem, 1.75vw, 2rem);
    line-height: 1.08;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcl-single .dcl-single__lede {
    font-size: 1rem;
}

.dcl-single .dcl-single__head--detached .dcl-single__title-group {
    gap: 0.55rem;
}

.dcl-single__hero + .dcl-single__stack h2,
.dcl-single__modules-columns h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.015em;
}


/* Hours Builder Styles */

.dcl-hours-builder {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dcl-hours-grid {
    display: grid;
    gap: 0.75rem;
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--dcl-border);
}

.dcl-hours-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.dcl-hours-day label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dcl-hours-day input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.dcl-hours-day strong {
    font-weight: 600;
    font-size: 0.95rem;
}

.dcl-hours-times {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dcl-hours-mode-wrap {
    flex: 0 0 auto;
}

.dcl-hours-mode {
    min-width: 150px;
    padding: 0.35rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
}

.dcl-hours-shift {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dcl-hours-select {
    width: 85px;
    padding: 0.35rem 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
}

.dcl-hours-separator {
    color: #6b7280;
    font-weight: 500;
}

.dcl-hours-closed-label {
    display: none;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
}

.dcl-hours-all-day-label {
    display: none;
    color: var(--dcl-color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.dcl-hours-row.is-single .dcl-hours-shift:nth-of-type(3) {
    display: none;
}

.dcl-hours-row.is-all-day .dcl-hours-shift {
    display: none;
}

.dcl-hours-row.is-all-day .dcl-hours-all-day-label {
    display: inline-flex;
}

.dcl-hours-row.is-closed .dcl-hours-times {
    opacity: 0.3;
    pointer-events: none;
}

.dcl-hours-row.is-closed .dcl-hours-closed-label {
    display: block;
}

.dcl-hours-row.is-closed .dcl-hours-shift {
    display: none;
}

@media (max-width: 767px) {
    .dcl-hours-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .dcl-hours-times {
        flex-direction: column;
        align-items: stretch;
    }
    .dcl-hours-shift {
        width: 100%;
    }
    .dcl-hours-select {
        flex: 1;
    }
    .dcl-hours-mode {
        width: 100%;
    }
}


/* Services Builder */

.dcl-services-builder {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dcl-services-builder>label:first-child {
    display: grid;
    gap: 0.35rem;
}

.dcl-services-builder>label:not(:first-child) {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.dcl-services-builder>label:not(:first-child) span {
    font-weight: 600;
    color: var(--dcl-color-primary);
    text-align: right;
}


/* Services List in Single */

.dcl-services-list {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    list-style: none;
    counter-reset: service-counter;
}

.dcl-services-list li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
    counter-increment: service-counter;
    position: relative;
    padding-left: 0.5rem;
}

.dcl-services-list li::before {
    content: counter(service-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--dcl-color-primary);
    font-weight: 700;
}

.dcl-detail-list__services {
    display: flex !important;
    align-items: flex-start !important;
}

.dcl-detail-list__services .dcl-detail-list__content {
    display: block;
}

.dcl-detail-list__services strong {
    display: block;
    margin-bottom: 0.5rem;
}


/* Responsive adjustments for hours schedule */

@media (max-width: 640px) {
    .dcl-hours-schedule {
        grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) !important;
        column-gap: 0.5rem !important;
        row-gap: 0.35rem !important;
        font-size: 0.85rem;
    }
    .dcl-hours-shift1 {
        padding-right: 0 !important;
    }
    .dcl-hours-shift2 {
        margin-left: 0 !important;
    }
    .dcl-panel-actions,
    .dcl-panel-preview__header,
    .dcl-panel-listing-card__top {
        flex-direction: column;
        align-items: stretch;
    }
    .dcl-single__hero-shell {
        gap: 1rem;
    }
}


/* Breadcrumbs for Categories */

.dcl-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dcl-breadcrumb-item {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--dcl-color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}


.dcl-single__map-card .dcl-map-display {
    min-height: 280px;
}

.dcl-single__gallery-card .dcl-gallery-grid--photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.dcl-single__gallery-card .dcl-gallery-item {
    border-radius: 14px;
}


/* Gallery Grid for Photos */

.dcl-gallery-grid--photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dcl-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background: transparent;
}

.dcl-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .dcl-gallery-grid--photos {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dcl-gallery-grid--promotions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.dcl-gallery-grid--promotions .dcl-gallery-item {
    aspect-ratio: 4 / 5;
}


@media (max-width: 767px) {
    .dcl-single__modules-columns {
        grid-template-columns: 1fr;
    }

    .dcl-single__gallery-card .dcl-gallery-grid--photos {
        grid-template-columns: 1fr;
    }
    .dcl-gallery-grid--photos {
        grid-template-columns: 1fr;
    }
}


/* Categories Multi-Select */

.dcl-categories-select {
    min-height: 120px;
}

.dcl-categories-select option {
    padding: 0.5rem;
    margin-bottom: 2px;
}

.dcl-categories-select option:checked {
    background: var(--dcl-color-primary);
    color: #fff;
}

/* Searchable Bloque > Categoría > Subcategoría picker */

.dcl-category-picker {
    position: relative;
}

.dcl-category-picker__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.dcl-category-picker__selected:empty {
    margin-bottom: 0;
}

.dcl-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: var(--dcl-surface-soft);
    border: 1px solid var(--dcl-border);
    font-size: 0.85rem;
    font-weight: 600;
}

.dcl-category-chip__remove {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #c0392b;
    padding: 0;
}

.dcl-category-picker__search {
    width: 100%;
}

.dcl-category-picker__input-wrap {
    position: relative;
}

.dcl-category-picker__input-wrap .dcl-category-picker__search {
    padding-right: 2.2rem;
}

.dcl-category-picker__clear {
    position: absolute;
    top: 50%;
    right: 0.6rem;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: #c0392b;
    padding: 0;
}

.dcl-category-picker__results {
    /* Fixed (not absolute) + JS-computed position (see dcl-public.js) so a tall dropdown
       never inflates the page's own scrollable height into a second, redundant scrollbar. */
    position: fixed;
    z-index: 9999;
    margin: 0;
    padding: 0.3rem 0;
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border: 1px solid var(--dcl-border);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.dcl-category-picker__results li {
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.dcl-category-picker__results li:hover {
    background: var(--dcl-surface-soft);
}

/* Browse mode: Bloque > Categoría > Subcategoría drill-down, one branch open per level */

.dcl-category-picker__results--tree {
    padding: 0.3rem;
}

.dcl-category-picker__results--tree li {
    padding: 0 !important;
    margin: 0 !important;
    cursor: default;
}

.dcl-category-picker__results--tree li:hover {
    background: none;
}

.dcl-category-picker__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin: 0 !important;
    padding: 0.55rem 0.75rem !important;
    border: none;
    background: none;
    text-align: left;
    font: inherit;
    /* Buttons don't inherit text color by default (UA stylesheet sets it), unlike the
       plain spans/lis used elsewhere in this list - without this it renders near-white. */
    color: var(--dcl-text);
    cursor: pointer;
    border-radius: 8px;
}

.dcl-category-picker__toggle:hover,
.dcl-category-picker__toggle:hover .dcl-category-crumb,
.dcl-category-picker__toggle:hover .dcl-category-picker__caret {
    /* Keep hover subtle and always legible - a faint tint, never touching text color. */
    color: var(--dcl-text) !important;
}

.dcl-category-picker__toggle:hover {
    background: rgba(15, 23, 42, 0.045);
}

.dcl-category-picker__caret {
    display: inline-flex;
    color: var(--dcl-text);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.15s ease;
}

.dcl-category-picker__caret::before {
    content: '›';
}

.dcl-category-picker__toggle.is-open .dcl-category-picker__caret {
    transform: rotate(90deg);
}

.dcl-category-picker__sublist {
    list-style: none;
    margin: 0 !important;
    padding: 0 0 0 0.9rem !important;
}

.dcl-category-picker__leaf {
    padding: 0.5rem 0.75rem !important;
    cursor: pointer !important;
    font-size: 0.88rem;
    border-radius: 8px;
}

.dcl-category-picker__leaf:hover {
    background: rgba(15, 23, 42, 0.045) !important;
}

.dcl-category-picker__leaf:hover .dcl-category-crumb {
    color: var(--dcl-text) !important;
}

.dcl-category-crumb--bloque {
    color: var(--dcl-color-primary);
    font-weight: 700;
}

.dcl-category-crumb--categoria {
    font-weight: 700;
}

.dcl-category-crumb--subcategoria {
    font-weight: 400;
    color: var(--dcl-text);
}

/* Directory bloque browser: pills + accordion panel (Categoría > Subcategoría) */

.dcl-bloque-browser {
    margin: 1.25rem 0;
}

.dcl-bloque-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.dcl-bloque-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--dcl-input-border);
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dcl-muted);
    cursor: pointer;
    text-align: left;
    appearance: none;
    min-width: 0;
}

.dcl-bloque-pill:hover,
.dcl-bloque-pill:focus-visible {
    background: #eef1f6;
    color: var(--dcl-muted);
}

.dcl-bloque-pill.is-open {
    border-color: var(--dcl-color-primary);
    background: var(--dcl-surface-soft);
    color: var(--dcl-color-primary);
}

.dcl-bloque-pill.is-open:hover,
.dcl-bloque-pill.is-open:focus-visible {
    background: var(--dcl-surface-soft);
}

.dcl-bloque-pill__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.dcl-bloque-panel {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--dcl-input-border);
    border-radius: 14px;
    background: #fff;
}

.dcl-bloque-categoria + .dcl-bloque-categoria {
    border-top: 1px solid var(--dcl-input-border);
}

.dcl-bloque-categoria__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 0.25rem;
    border: none;
    background: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dcl-muted);
    cursor: pointer;
    text-align: left;
    appearance: none;
}

.dcl-bloque-categoria__toggle:hover,
.dcl-bloque-categoria__toggle:focus-visible {
    background: var(--dcl-surface-soft);
    color: var(--dcl-muted);
}

.dcl-bloque-categoria__caret {
    color: var(--dcl-muted);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.dcl-bloque-categoria__caret::before {
    content: '+';
}

.dcl-bloque-categoria__toggle.is-open .dcl-bloque-categoria__caret::before {
    content: '−';
}

.dcl-bloque-subcats {
    list-style: none;
    margin: 0 0 0.65rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dcl-bloque-subcats[hidden] {
    display: none;
}

.dcl-bloque-subcats li {
    margin: 0;
}

.dcl-bloque-subcats a {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--dcl-surface-soft);
    color: var(--dcl-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.dcl-bloque-subcats a:hover {
    background: var(--dcl-color-primary);
    color: var(--dcl-color-primary-contrast);
}

@media (max-width: 767px) {
    .dcl-bloque-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dcl-bloque-pill {
        padding: 0.6rem 0.75rem;
        gap: 0.4rem;
    }

    .dcl-bloque-pill__icon {
        width: 20px;
        height: 20px;
    }

    .dcl-bloque-pill span {
        font-size: 0.74rem;
        min-width: 0;
        overflow-wrap: normal;
    }
}


/* Gallery Lightbox */

.dcl-gallery-link {
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dcl-gallery-link:hover {
    transform: scale(1.05);
}

.dcl-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: max(1.25rem, env(safe-area-inset-top)) 1rem 1rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.dcl-lightbox.active {
    display: flex;
}

.dcl-lightbox__content {
    position: relative;
    width: min(92vw, 1100px);
    max-width: 92vw;
    max-height: calc(100vh - 2.5rem - env(safe-area-inset-top));
    padding: 5.25rem 4.5rem 2rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dcl-lightbox__toolbar {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.dcl-lightbox__counter {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dcl-lightbox__image {
    width: auto;
    height: auto;
    max-width: 100%;
    /* Fallback only - dcl-public.js sets the real cap inline from window.innerHeight,
       since vh-based calc() here was leaving tall "story format" images cropped. */
    max-height: calc(100vh - 9.5rem - env(safe-area-inset-top));
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.dcl-lightbox__close {
    position: fixed;
    top: 1.1rem;
    right: 1.1rem;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
    padding: 0;
}

.dcl-lightbox__close:hover {
    transform: none;
    opacity: 1;
}

.dcl-lightbox__close svg,
.dcl-lightbox__nav svg {
    width: 28px;
    height: 28px;
    display: block;
}

.dcl-lightbox__close path,
.dcl-lightbox__nav path {
    fill: none;
    stroke: #fff;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.5));
}

.dcl-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
}

.dcl-lightbox__nav:hover {
    transform: translateY(-50%);
    opacity: 1;
}

.dcl-lightbox__prev {
    left: 1rem;
}

.dcl-lightbox__next {
    right: 1rem;
}

@media (max-width: 768px) {
    .dcl-lightbox {
        padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem 0.75rem;
    }

    .dcl-lightbox__content {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 1.5rem - env(safe-area-inset-top));
        padding: 4.5rem 0.75rem 1rem;
    }

    .dcl-lightbox__close {
        top: 0.6rem;
        right: 0.45rem;
        width: 35px;
        height: 35px;
    }

    .dcl-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .dcl-lightbox__close svg,
    .dcl-lightbox__nav svg {
        width: 22px;
        height: 22px;
    }

    .dcl-lightbox__counter {
        font-size: 0.8rem;
    }

    .dcl-lightbox__prev {
        left: 0.35rem;
    }

    .dcl-lightbox__next {
        right: 0.35rem;
    }
}


/* Categories as Text Links */

.dcl-categories-text {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding: 0 1.7rem;
}

.dcl-categories-text a {
    color: var(--dcl-color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dcl-categories-text a:hover {
    color: var(--dcl-color-secondary);
    text-decoration: underline;
}

.dcl-category-separator {
    color: var(--dcl-color-primary);
    font-weight: 600;
    margin: 0 0.5rem;
}


/* ======================================
   FEATURED BADGES - Comercios Destacados
   ====================================== */


/* Card gratuita: borde mas claro para diferenciarse de la intermedia */

.dcl-listing-card--basica {
    border-color: #f0f1f3;
}

/* Card intermedia: sombra gris discreta */

.dcl-listing-card--intermedia {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Card destacada: fondo suave + sombra gris marcada */

.dcl-listing-card--destacada {
    background: linear-gradient(to right, rgba(220, 38, 38, 0.02), transparent 50%);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
}

/* Card patrocinador: sombra gris, la mas marcada de todas */

.dcl-listing-card--patrocinador {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.03), transparent 50%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}


/* Badge para listados (imagen PNG suelto) */

.dcl-featured-badge {
    position: absolute;
    top: -12px;
    right: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.dcl-featured-badge img {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
    object-position: center;
}


/* Badge sobre el recuadro del logo en el espacio individual */

.dcl-single__hero-brand .dcl-featured-badge {
    top: -10px;
    right: -10px;
}

.dcl-single__hero-brand .dcl-featured-badge img {
    width: 42px;
    height: 42px;
}


/* Badge para mapa */

.dcl-featured-badge--map {
    top: 6px;
    right: 6px;
}

.dcl-featured-badge--map img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.dcl-map-business-card--intermedia {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.dcl-map-business-card--destacada {
    background: linear-gradient(to right, rgba(220, 38, 38, 0.02), transparent 50%);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
}

.dcl-map-business-card--patrocinador {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.03), transparent 50%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}


/* Badge para espacio individual */

.dcl-single__hero--featured {
    position: relative;
    background: var(--dcl-surface);
    box-shadow: 0 0 38px rgba(15, 23, 42, 0.1);
}


/* Ajustes responsive */

@media (max-width: 768px) {
    .dcl-featured-badge {
        right: 0;
    }
    .dcl-featured-badge img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }
    .dcl-featured-badge--map img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }
}


/* Logo Placeholder */

.dcl-single__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 0;
    border: none !important;
    object-fit: contain;
}


}

/* Modern Directory Cards */
.dcl-cards--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.dcl-card--business {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.dcl-card--business:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--dcl-color-primary);
}
.dcl-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.dcl-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.dcl-card__logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
}
.dcl-card__logo--placeholder {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    object-fit: contain;
}
.dcl-card__title-block h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}
.dcl-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--dcl-color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    letter-spacing: 0.03em;
}
.dcl-card__description {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}
.dcl-card__location {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dcl-card__location::before {
    content: "📍";
    font-size: 1rem;
}
@media (max-width: 768px) {
    .dcl-cards--grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   WRAPPER Y TAXONOMÍA
   ========================================== */
.dcl-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.dcl-taxonomy-header {
    margin-bottom: 2rem;
    text-align: center;
}
.dcl-taxonomy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dcl-color-secondary);
    margin: 0 0 0.75rem;
}
.dcl-taxonomy-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.dcl-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}
.dcl-no-results p {
    font-size: 1.1rem;
}
.dcl-no-results .dcl-button {
    margin-top: 0.5rem;
}

/* ==========================================
   LISTADO LIMPIO - Cards Atractivas
   ========================================== */
.dcl-directory--clean {
    max-width: 1200px;
    margin: 0 auto;
}
.dcl-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .dcl-listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
.dcl-listing-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}
.dcl-listing-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-width: 6px;
}
.dcl-listing-card__link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}
.dcl-listing-card__left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 88px;
}
.dcl-listing-card__logo {
    width: min(100%, 220px);
    height: 88px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    background: transparent;
    padding: 0;
    border: none;
    display: block;
}
.dcl-listing-card__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, 220px);
    height: 88px;
    border-radius: 0;
    border: none;
    object-fit: contain;
}
.dcl-listing-card__body {
    flex: 1;
    min-width: 0;
}
.dcl-listing-card__badge {
    display: inline-block;
    background: var(--dcl-color-primary);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
}
.dcl-listing-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--dcl-color-secondary);
    line-height: 1.3;
    transition: color 0.2s ease;
}
.dcl-listing-card:hover .dcl-listing-card__title {
    color: var(--dcl-color-primary);
}
.dcl-listing-card__description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 0.65rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dcl-listing-card__location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}
.dcl-listing-card__location svg {
    flex-shrink: 0;
    opacity: 0.7;
}
@media (max-width: 640px) {
    .dcl-listing-card__link {
        padding: 1rem;
    }

    .dcl-listing-card__logo,
    .dcl-listing-card__logo--placeholder {
        width: min(100%, 200px);
        height: 78px;
    }
}

/* Admin Hours Builder Styles */
.dcl-admin-hours {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.dcl-admin-services-builder {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.dcl-admin-services-builder h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.dcl-admin-services-builder .description {
    margin-bottom: 1rem;
    color: #6b7280;
}
.dcl-admin-services-builder label {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}
.dcl-admin-services-builder label span {
    font-weight: 600;
    color: var(--dcl-color-primary);
    text-align: right;
}
.dcl-admin-services-builder input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* ==========================================
   MAPA INTERACTIVO
   ========================================== */
.dcl-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 0;
    height: 700px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.dcl-map-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.dcl-google-map {
    width: 100%;
    height: 100%;
}
.dcl-map-sidebar {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e5e7eb;
    background: #f9fafb;
}
.dcl-map-sidebar__header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.dcl-map-sidebar__header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dcl-color-secondary);
}
.dcl-map-sidebar__header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}
.dcl-map-sidebar__list {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}
.dcl-map-business-card {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.dcl-map-business-card:hover {
    border-color: var(--dcl-color-primary);
    box-shadow: 0 2px 8px rgba(23, 107, 93, 0.1);
}
.dcl-map-business-card.active {
    border-color: var(--dcl-color-primary);
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(23, 107, 93, 0.15);
}
.dcl-map-business-card__link {
    display: flex;
    gap: 1rem;
    flex: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.dcl-map-business-card__logo {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: 0;
    overflow: hidden;
    border: none;
}
.dcl-map-business-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.dcl-map-business-card__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}
.dcl-map-business-card__content {
    flex: 1;
    min-width: 0;
}
.dcl-map-business-card__category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--dcl-color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.dcl-map-business-card__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dcl-color-secondary);
    line-height: 1.3;
}
.dcl-map-business-card__description {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dcl-map-business-card__address {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.dcl-map-business-card__address svg {
    flex-shrink: 0;
    color: var(--dcl-color-primary);
}
.dcl-map-business-card__pin-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dcl-color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dcl-map-business-card__pin-btn:hover {
    transform: scale(1.1);
    opacity: 0.96;
}
.dcl-map-business-card__pin-btn:active {
    transform: scale(0.95);
}
@media (max-width: 1024px) {
    .dcl-map-wrapper {
        grid-template-columns: 1fr 320px;
    }
}
@media (max-width: 768px) {
    .dcl-map-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr;
        height: auto;
        max-height: none;
    }
    
    .dcl-map-container {
        height: 400px;
    }
    
    .dcl-map-sidebar {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
    
    .dcl-map-sidebar__list {
        max-height: 500px;
    }
}

.dcl-password-field {
    position: relative;
    display: block;
}

.dcl-password-field input {
    padding-right: 2.6rem !important;
}

.dcl-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.6rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dcl-password-toggle .dcl-icon {
    fill: #172033;
}

.dcl-password-toggle .dcl-icon--eye-off {
    display: none;
}

.dcl-password-field.is-visible .dcl-icon--eye {
    display: none;
}

.dcl-password-field.is-visible .dcl-icon--eye-off {
    display: block;
}

/* Standalone newsletter signup CTA ([dcl_newsletter_cta]) */

.dcl-newsletter-cta {
    max-width: 480px;
    margin: 2rem auto;
}

.dcl-newsletter-cta h2 {
    margin-top: 0;
}

/* Pricing landing ([dcl_planes]) */

.dcl-pricing {
    max-width: 1400px;
}

.dcl-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
    margin-top: 1.5rem;
}

.dcl-pricing-plan {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem !important;
    cursor: pointer;
    border-color: #f0f1f3 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dcl-pricing-plan:hover {
    border-color: var(--dcl-color-primary) !important;
}

.dcl-pricing-plan:has(.dcl-pricing-plan__radio:checked) {
    border: 2px solid var(--dcl-color-primary) !important;
    box-shadow: 0 16px 40px rgba(23, 107, 93, 0.18) !important;
}

.dcl-pricing-plan h2 {
    margin: 0;
    font-size: 1.3rem;
}

.dcl-pricing-plan__price {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dcl-text);
}

.dcl-pricing-plan__price span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dcl-muted);
}

.dcl-pricing-plan__price--free {
    color: var(--dcl-color-primary);
}

.dcl-pricing-plan__includes {
    margin: 0;
    font-weight: 700;
    color: var(--dcl-text);
}

.dcl-pricing-plan__features {
    flex: 1;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--dcl-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.dcl-pricing-plan__features li + li {
    margin-top: 0.5rem;
}

.dcl-pricing-continue {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.dcl-pricing-continue .dcl-button {
    min-height: 48px;
    padding: 0.7rem 2rem;
    font-size: 0.95rem !important;
}

@media (max-width: 767px) {
    .dcl-pricing-grid {
        grid-template-columns: 1fr;
    }
}