/* Cookie notice: retain the theme's consent handler and configurable document link. */
.cookieagry.cookie-notice {
  --cookie-notice-bottom: 24px;
  position: fixed;
  inset: auto 0 var(--cookie-notice-bottom);
  z-index: 9999;
  width: 100%;
  padding: 0 32px;
  pointer-events: none;
}
.cookie-notice[hidden] { display: none !important; }
.cookie-notice .cookieagry-alert {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 20px;
  max-width: 1320px;
  min-height: 96px;
  max-height: calc(100dvh - var(--cookie-notice-bottom) - 80px);
  margin: 0 auto;
  padding: 14px 20px;
  overflow-y: auto;
  border: 1px solid #ffffff14;
  border-radius: 24px;
  background: linear-gradient(120deg, #292c32, #171e28);
  color: #f8fafc;
  box-shadow: 0 8px 28px #131b2733, 0 2px 6px #131b271a;
  animation: none;
  pointer-events: auto;
}
.cookie-notice__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffff0a;
  border-radius: 18px;
  background: #ffffff12;
}
.cookie-notice__icon img { display: block; width: 36px; height: 36px; }
.cookie-notice__copy { min-width: 0; }
.cookie-notice__title { display: block; margin: 0 0 5px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cookie-notice .cookieagry__text { margin: 0; color: #c6ccd5; font-size: 14px; line-height: 1.55; }
.cookie-notice .cookieagry__text .agree { border: 0; color: #eef2f7; text-decoration: underline; text-decoration-color: #ffffff66; text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.cookie-notice .cookieagry__text .agree:hover { color: #fff; text-decoration-color: currentColor; }
.cookie-notice .cookieagry__action { width: auto; }
.cookie-notice .cookieagry__action .ui-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 112px; height: 46px; min-height: 46px; margin: 0; padding: 0 22px; border: 0; border-radius: 14px; background: var(--theme-primary-color); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.2; box-shadow: 0 4px 16px color-mix(in srgb, var(--theme-primary-color) 30%, transparent); transition: background .2s ease, box-shadow .2s ease; }
.cookie-notice .cookieagry__action .ui-btn:hover { background: color-mix(in srgb, var(--theme-primary-color) 88%, black); box-shadow: 0 5px 20px color-mix(in srgb, var(--theme-primary-color) 40%, transparent); }
.cookie-notice__close { display: grid; place-items: center; align-self: center; width: 32px; height: 36px; margin: 0; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: #d5dae2; cursor: pointer; transition: color .2s ease, background .2s ease; }
.cookie-notice__close svg { display: block; width: 14px; height: 14px; fill: currentColor; }
.cookie-notice__close:hover { background: #ffffff12; color: #fff; }
.cookie-notice button:focus-visible, .cookie-notice a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 1198px) {
  .cookieagry.cookie-notice { --cookie-notice-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); padding: 0 12px; }
  .is-page-sticky:has(.pdp-modern.pdp-buy-passed) .cookieagry.cookie-notice { --cookie-notice-bottom: calc(184px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) {
  .cookie-notice .cookieagry-alert { grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: start; gap: 12px; min-height: 0; padding: 16px; border-radius: 20px; }
  .cookie-notice__icon { width: 44px; height: 44px; border-radius: 13px; }
  .cookie-notice__icon img { width: 28px; height: 28px; }
  .cookie-notice__title { font-size: 14px; }
  .cookie-notice .cookieagry__text { font-size: 12px; line-height: 1.5; }
  .cookie-notice .cookieagry__action { grid-column: 1 / -1; grid-row: 2; }
  .cookie-notice .cookieagry__action .ui-btn { width: 100%; min-height: 44px; height: 44px; border-radius: 12px; }
  .cookie-notice__close { grid-column: 3; grid-row: 1; align-self: start; width: 28px; height: 32px; padding: 7px; }
}
@media (max-width: 379px) {
  .cookie-notice .cookieagry-alert { grid-template-columns: minmax(0, 1fr) 28px; }
  .cookie-notice__icon { display: none; }
  .cookie-notice__close { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice button, .cookie-notice a { transition: none !important; }
}
