/* Cookie consent banner — shared across storefront and admin.
   Storefront theme (theme-ezycommerce.css) adds similar rules when EzyCommerce is active;
   Admin (_LayoutAdmin) does not load that file, so this sheet fixes layout/z-index there. */

body.admin-layout #dvcookie.cookie-container {
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
}

#dvcookie.cookie-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11000;
    box-sizing: border-box;
    padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
    pointer-events: none;
}

#dvcookie.cookie-container .cookie {
    pointer-events: auto;
    background: var(--white, #fff);
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg, 20px);
    width: min(920px, 100%);
    max-width: 100%;
    box-shadow: var(--shadow-medium, 0 10px 25px -3px rgba(0, 0, 0, 0.1));
}

#dvcookie .cookie h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--d-grey, #334155);
    line-height: 1.3;
}

#dvcookie .cookie p {
    margin: 0 0 1rem 0;
    color: var(--grey, #64748b);
    line-height: 1.55;
    font-size: 0.95rem;
}

#dvcookie .cookie .action {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

#dvcookie .cookie .privacybtn,
#dvcookie .cookie .acceptbtn {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm, 8px);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    min-width: 8rem;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

#dvcookie .cookie .privacybtn {
    background: var(--d-grey, #334155);
    color: var(--white, #fff);
}

#dvcookie .cookie .privacybtn:hover {
    filter: brightness(1.08);
    color: var(--white, #fff);
}

#dvcookie .cookie .acceptbtn {
    background: var(--theme-color, #e14e78);
    color: var(--white, #fff);
}

#dvcookie .cookie .acceptbtn:hover {
    filter: brightness(1.05);
    color: var(--white, #fff);
}
