.dromeo-consent,
.dromeo-consent *,
.dromeo-consent__noscript,
.dromeo-map-placeholder,
.dromeo-media-placeholder {
    box-sizing: border-box;
}

.dromeo-consent,
.dromeo-consent__noscript,
.dromeo-map-placeholder,
.dromeo-media-placeholder {
    --dromeo-consent-charcoal: #1D1D1B;
    --dromeo-consent-salmon: #F3966D;
    --dromeo-consent-surface: #fffaf7;
    --dromeo-consent-line: #dfd5ce;
}

.dromeo-consent {
    position: fixed;
    inset-inline-start: 24px;
    inset-block-end: 24px;
    z-index: 9990;
    width: min(620px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: clamp(20px, 3vw, 32px);
    color: var(--dromeo-consent-charcoal);
    background: var(--dromeo-consent-surface);
    border: 1px solid var(--dromeo-consent-line);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(29, 29, 27, .10);
    font-family: Inter, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}

.dromeo-consent[hidden],
.dromeo-consent__preferences[hidden],
.dromeo-map-placeholder[hidden],
.dromeo-media-placeholder[hidden] {
    display: none;
}

.dromeo-consent--pending {
    visibility: hidden;
}

.dromeo-consent__header,
.dromeo-consent__actions,
.dromeo-consent__links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dromeo-consent__header {
    justify-content: space-between;
    gap: 24px;
}

.dromeo-consent__eyebrow {
    margin: 0 0 4px;
    color: #715b51;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dromeo-consent h2 {
    margin: 0;
    color: var(--dromeo-consent-charcoal);
    font-family: Poppins, system-ui, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.2;
}

.dromeo-consent__close {
    flex: 0 0 auto;
    width: 44px;
    min-width: 44px;
    height: 44px;
    border: 1px solid var(--dromeo-consent-line);
    border-radius: 50%;
    color: var(--dromeo-consent-charcoal);
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.dromeo-consent__copy {
    max-width: 68ch;
    margin-top: 20px;
}

.dromeo-consent__copy p,
.dromeo-consent__notice,
.dromeo-consent__warning,
.dromeo-consent__links,
.dromeo-consent__preferences fieldset {
    margin: 0;
}

.dromeo-consent__copy p + p {
    margin-top: 10px;
}

.dromeo-consent__notice {
    min-height: 1.55em;
    margin-top: 12px;
    color: #715b51;
    font-size: .9rem;
}

.dromeo-consent__notice--error,
.dromeo-recaptcha-error {
    color: #8b261e;
    font-weight: 600;
}

.dromeo-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.dromeo-consent__button {
    min-width: 0;
    min-height: 48px;
    padding: 11px 16px;
    border: 2px solid var(--dromeo-consent-salmon);
    border-radius: 10px;
    color: var(--dromeo-consent-charcoal);
    background: transparent;
    font: 600 .95rem/1.25 Inter, system-ui, sans-serif;
    cursor: pointer;
}

.dromeo-consent__button--accept,
.dromeo-consent__button--refuse {
    color: var(--dromeo-consent-charcoal);
    background: var(--dromeo-consent-salmon);
}

.dromeo-consent__button--customize {
    border-color: var(--dromeo-consent-charcoal);
}

.dromeo-consent__button:hover,
.dromeo-consent__button:focus-visible,
.dromeo-consent__close:hover,
.dromeo-consent__close:focus-visible {
    box-shadow: 0 0 0 3px rgba(29, 29, 27, .45);
}

.dromeo-consent__button:disabled {
    cursor: wait;
    opacity: .6;
}

.dromeo-consent__preferences {
    margin-top: 24px;
}

.dromeo-consent__preferences fieldset {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
}

.dromeo-consent__preferences legend {
    margin-bottom: 8px;
    font-family: Poppins, system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.dromeo-consent__toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 56px;
    padding: 12px;
    border: 1px solid var(--dromeo-consent-line);
    border-radius: 12px;
    cursor: pointer;
}

.dromeo-consent__toggle input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: var(--dromeo-consent-salmon);
}

.dromeo-consent__toggle span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.dromeo-consent__toggle strong {
    font-family: Poppins, system-ui, sans-serif;
    font-weight: 600;
}

.dromeo-consent__toggle small {
    color: #5b504a;
    font-size: .88rem;
    line-height: 1.4;
}

.dromeo-consent__warning {
    margin-top: 16px;
    color: #715b51;
    font-size: .88rem;
}

.dromeo-consent__actions--save {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}

.dromeo-consent__links {
    flex-wrap: wrap;
    margin-top: 20px;
    color: #715b51;
    font-size: .86rem;
}

.dromeo-consent__links a,
.dromeo-consent__links button {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dromeo-consent__links button {
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.dromeo-consent__noscript {
    position: fixed;
    inset-inline: 12px;
    inset-block-end: 12px;
    z-index: 9991;
    max-width: 620px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--dromeo-consent-line);
    border-radius: 10px;
    color: var(--dromeo-consent-charcoal);
    background: var(--dromeo-consent-surface);
    font: .9rem/1.4 Inter, system-ui, sans-serif;
}

.dromeo-footer-consent-button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.dromeo-comment-consent-notice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    color: #5b504a;
    font: .9rem/1.45 Inter, system-ui, sans-serif;
}

.dromeo-comment-consent-notice button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #1D1D1B;
    border-radius: 8px;
    color: #1D1D1B;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.dromeo-map-placeholder,
.dromeo-media-placeholder {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 180px;
    padding: 24px;
    border: 1px solid #dfd5ce;
    border-radius: 12px;
    color: var(--dromeo-consent-charcoal);
    background: #fffaf7;
    text-align: center;
}

.dromeo-map-placeholder p,
.dromeo-media-placeholder p {
    max-width: 48ch;
    margin: 0;
}

.dromeo-map-placeholder button,
.dromeo-media-placeholder button {
    min-height: 44px;
    padding: 10px 16px;
    border: 2px solid var(--dromeo-consent-salmon);
    border-radius: 10px;
    color: var(--dromeo-consent-charcoal);
    background: var(--dromeo-consent-salmon);
    font: 600 .9rem/1.25 Inter, system-ui, sans-serif;
    cursor: pointer;
}

gmp-map[hidden],
iframe[data-dromeo-consent="media"] {
    display: none;
}

:where(.dromeo-consent, .dromeo-map-placeholder, .dromeo-media-placeholder) :focus-visible {
    outline: 3px solid var(--dromeo-consent-charcoal);
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .dromeo-consent {
        inset-inline: 12px;
        inset-block-end: 12px;
        width: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 20px;
        border-radius: 16px;
    }

    .dromeo-consent__actions,
    .dromeo-consent__actions--save {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dromeo-consent *,
    .dromeo-consent *::before,
    .dromeo-consent *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
