.commerce-cookie[hidden], .commerce-cookie [hidden] { display: none !important; }
.commerce-cookie {
    position: fixed; inset: auto 24px 24px; z-index: 1060;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
    max-width: 1040px; margin: 0 auto; padding: 22px 24px;
    color: #252c30; background: #fff; border: 1px solid #e5e8e9; border-radius: 16px;
    box-shadow: 0 8px 36px rgba(25, 38, 45, .12); font-family: inherit;
}
.commerce-cookie .commerce-cookie__copy h2 {
    margin: 0 24px 6px 0; padding: 0; border: 0; color: #252c30;
    font: inherit; font-size: 16px; font-weight: 600; line-height: 1.5;
}
.commerce-cookie .commerce-cookie__copy p {
    margin: 0; color: #59636a; font-size: 14px; font-weight: 400; line-height: 1.7;
}
.commerce-cookie .commerce-cookie__copy a {
    color: #343f46; text-decoration: underline; text-underline-offset: 3px; white-space: normal;
}
.commerce-cookie .commerce-cookie__copy .commerce-cookie__note { margin-top: 6px; font-size: 12px; }
.commerce-cookie__actions { display: flex; align-items: stretch; gap: 10px; }
.commerce-cookie .commerce-cookie__actions button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 10px 16px; border: 1px solid #c9cfd2; border-radius: 8px;
    background: #fff; color: #303a40; font: inherit; font-size: 14px; font-weight: 500;
    line-height: 1.5; white-space: nowrap; cursor: pointer; box-shadow: none;
}
.commerce-cookie .commerce-cookie__actions button:hover { background: #f4f6f7; }
.commerce-cookie .commerce-cookie__actions .commerce-cookie__accept {
    border-color: #252c30; background: #252c30; color: #fff;
}
.commerce-cookie .commerce-cookie__actions .commerce-cookie__accept:hover { background: #41494e; }
.commerce-cookie button:focus-visible, .commerce-cookie a:focus-visible, [data-cookie-preferences]:focus-visible {
    outline: 2px solid #3568b0; outline-offset: 3px;
}
.commerce-cookie .commerce-cookie__close {
    position: absolute; right: 10px; top: 8px; width: 30px; height: 30px; padding: 0;
    border: 0; background: transparent; color: #59636a; font-size: 24px; line-height: 1; cursor: pointer;
}
.commerce-cookie-settings {
    display: inline; padding: 0; border: 0; background: transparent; color: inherit;
    font: inherit; text-align: start; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
@media (max-width: 760px) {
    .commerce-cookie { inset: auto 12px max(12px, env(safe-area-inset-bottom)); grid-template-columns: 1fr; gap: 16px; padding: 20px; border-radius: 14px; max-height: calc(100dvh - 24px); overflow-y: auto; }
    .commerce-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .commerce-cookie .commerce-cookie__actions button { padding: 10px 8px; font-size: 13px; }
}
