.cmmme-cookie-panel {
    position: fixed;
    z-index: 999999;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    background: #15273d;
    color: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

.cmmme-cookie-panel[hidden] { display: none; }
.cmmme-cookie-panel__content { max-width: 48rem; }
.cmmme-cookie-panel h2 { margin: 0 0 0.4rem; color: #fff; font-size: 1.25rem; }
.cmmme-cookie-panel p { margin: 0; color: #fff; font-size: 1rem; line-height: 1.55; }
.cmmme-cookie-panel a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.cmmme-cookie-panel__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.75rem; }

.cmmme-cookie-button,
.cmmme-cookie-settings {
    min-height: 2.75rem;
    border-radius: 0.4rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Keep internal catalogue tags for administration without presenting a long,
   low-value keyword list to customers or inside AJAX product previews. */
.product_meta .tagged_as { display: none !important; }

.cmmme-cookie-button { border: 2px solid #fff; padding: 0.65rem 1rem; background: #fff; color: #15273d; }
.cmmme-cookie-button--secondary { background: transparent; color: #fff; }
.cmmme-cookie-button:hover,
.cmmme-cookie-button:focus-visible { outline: 3px solid #f3c84b; outline-offset: 3px; }

.cmmme-cookie-settings {
    min-height: auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 760px) {
    .cmmme-cookie-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
        max-height: calc(100vh - 2rem);
        overflow: auto;
    }

    .cmmme-cookie-panel__actions,
    .cmmme-cookie-button { width: 100%; }
}
