/* Inline notice: never covers content, the owner bar or mobile order controls. */
.cookie-notice {
  color: #294638;
  background: #edf2e6;
  border-bottom: 1px solid #d5dfcf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  font: 400 14px/1.55 var(--font-body, "Golos Text", sans-serif);
}
.cookie-notice p { max-width: 78ch; margin: 0; }
.cookie-notice strong { font-weight: 650; }
.cookie-notice__actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-notice button, .cookie-settings button {
  min-height: 44px;
  color: #173f32;
  background: transparent;
  border: 1px solid #91a58c;
  border-radius: 10px;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
}
.cookie-notice [data-cookie-read] { color: #fff; background: #173f32; border-color: #173f32; }
.cookie-settings-link {
  color: inherit;
  background: transparent;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cookie-settings {
  box-sizing: border-box;
  color: #173f32;
  background: #fffaf4;
  width: min(660px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 26px;
  border: 1px solid #d5dfcf;
  border-radius: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font: 400 16px/1.65 var(--font-body, "Golos Text", sans-serif);
}
.cookie-settings::backdrop { background: #173f3270; }
.cookie-settings__heading { display: flex; align-items: flex-start; gap: 18px; justify-content: space-between; }
.cookie-settings h2 { margin: 0; font-size: 25px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.cookie-settings h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 650; }
.cookie-settings p { margin: 0 0 14px; overflow-wrap: anywhere; }
.cookie-settings a { text-decoration: underline; text-underline-offset: 4px; }
.cookie-settings__status { font-size: 14px; margin-top: 14px !important; }
.cookie-storage-note { margin-top: 32px; border-top: 1px solid #d5dfcf; padding-top: 8px; }
.cookie-storage-note code { overflow-wrap: anywhere; }
.cookie-storage-note button { min-height: 44px; padding: 10px 14px; border: 1px solid #91a58c; border-radius: 10px; color: #173f32; background: #edf2e6; font: inherit; }
.cookie-storage-note__status { font-size: 14px; }
:is(.cookie-notice,.cookie-settings) :is(button,a):focus-visible,
.cookie-settings-link:focus-visible,
.cookie-storage-note button:focus-visible { outline: 3px solid #c95000; outline-offset: 3px; }
@media (max-width: 650px) {
  .cookie-notice { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 18px; font-size: 13px; }
  .cookie-notice__actions { align-self: flex-end; }
  .cookie-settings { padding: 20px; font-size: 15px; }
  .cookie-settings__heading { flex-direction: column; gap: 12px; }
  .cookie-settings__heading button { align-self: flex-end; }
}
@media print { .cookie-notice,.cookie-settings,.cookie-settings-link { display: none !important; } }
