:root {
  --soraya-pa-sand: #e1d4bf;
  --soraya-pa-sand-light: #f4eee3;
  --soraya-pa-cream: #fffdf8;
  --soraya-pa-ink: #282b25;
  --soraya-pa-muted: #66685f;
  --soraya-pa-sage: #747655;
  --soraya-pa-sage-dark: #55593e;
  --soraya-pa-line: rgba(36, 37, 31, .13);
  --soraya-pa-shadow: 0 24px 72px rgba(31, 30, 24, .24);
}

.soraya-pa-skip-link {
  position: fixed;
  z-index: 2147483647;
  top: 10px;
  right: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fffdf8;
  color: #282b25 !important;
  font: 800 15px/1.2 Assistant, Arial, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.soraya-pa-skip-link:focus {
  transform: translateY(0);
}

#soraya-pa-ui,
#soraya-pa-ui * {
  box-sizing: border-box;
}

#soraya-pa-ui {
  position: relative;
  z-index: 2147483000;
  direction: rtl;
  color: var(--soraya-pa-ink);
  text-align: right;
  font-family: Assistant, Arial, "Noto Sans Hebrew", sans-serif;
}

#soraya-pa-ui [hidden] {
  display: none !important;
}

#soraya-pa-consent {
  position: fixed;
  z-index: 2147483002;
  right: 22px;
  bottom: 22px;
  width: min(620px, calc(100vw - 44px));
  animation: soraya-pa-rise .34s cubic-bezier(.2, .8, .2, 1) both;
}

.soraya-pa-card,
#soraya-pa-a11y-panel {
  overflow: hidden;
  border: 1px solid var(--soraya-pa-line);
  border-radius: 26px;
  background: rgba(255, 253, 248, .98);
  box-shadow: var(--soraya-pa-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.soraya-pa-card-accent,
.soraya-pa-panel-accent {
  height: 6px;
  background: linear-gradient(90deg, #4f5440 0%, #878a70 48%, #d3c2a1 100%);
}

.soraya-pa-card-inner {
  position: relative;
  padding: 22px 24px 19px;
}

.soraya-pa-consent-heading,
.soraya-pa-panel-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 42px;
}

.soraya-pa-heading-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 17px;
  background: var(--soraya-pa-sand-light);
  color: var(--soraya-pa-sage-dark);
}

.soraya-pa-heading-icon svg {
  display: block;
  width: 29px;
  height: 29px;
}

.soraya-pa-eyebrow {
  margin: 0 0 2px !important;
  color: var(--soraya-pa-sage-dark) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .015em;
}

#soraya-pa-consent-title,
#soraya-pa-a11y-title {
  margin: 0 !important;
  color: var(--soraya-pa-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.soraya-pa-icon-button {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0eee8;
  color: #41423b;
  font: 400 27px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.soraya-pa-icon-button:hover {
  background: #e6e1d7;
  transform: translateY(-1px);
}

.soraya-pa-consent-copy {
  margin: 13px 0 16px !important;
  color: var(--soraya-pa-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

.soraya-pa-consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.soraya-pa-button {
  min-height: 48px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-align: center;
  font: 750 15px/1.2 Assistant, Arial, sans-serif;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.soraya-pa-button:hover {
  transform: translateY(-1px);
}

.soraya-pa-button-primary {
  background: var(--soraya-pa-ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 37, 31, .18);
}

.soraya-pa-button-primary:hover {
  background: #11120f;
}

.soraya-pa-button-secondary {
  border-color: var(--soraya-pa-ink);
  background: transparent;
  color: var(--soraya-pa-ink);
}

.soraya-pa-button-secondary:hover {
  background: #f2ede3;
}

.soraya-pa-button-quiet {
  grid-column: 1 / -1;
  min-height: 44px;
  border-color: #ded8cc;
  background: #f3efe7;
  color: #4b4c44;
}

.soraya-pa-preferences {
  margin-top: 13px;
  padding: 13px 15px 14px;
  border: 1px solid #e2ddd2;
  border-radius: 17px;
  background: #faf7f0;
}

.soraya-pa-preferences h3 {
  margin: 0 0 6px !important;
  color: var(--soraya-pa-ink) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.soraya-pa-preference-row {
  display: flex;
  min-height: 63px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid #e7e1d7;
}

.soraya-pa-preference-row > div,
.soraya-pa-preference-row > label:first-child {
  min-width: 0;
  flex: 1;
}

.soraya-pa-preference-row strong {
  display: block;
  color: #30312b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.soraya-pa-preference-row small {
  display: block;
  margin-top: 2px;
  color: #73736b;
  font-size: 12px;
  line-height: 1.45;
}

.soraya-pa-always {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7eddf;
  color: #4b5e3f;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.soraya-pa-switch {
  position: relative;
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.soraya-pa-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.soraya-pa-switch > span[aria-hidden="true"] {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c8c8c0;
  transition: background .17s ease;
}

.soraya-pa-switch > span[aria-hidden="true"]::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  content: "";
  transition: transform .17s ease;
}

.soraya-pa-switch input:checked + span {
  background: var(--soraya-pa-sage-dark);
}

.soraya-pa-switch input:checked + span::after {
  transform: translateX(-20px);
}

.soraya-pa-button-save {
  width: 100%;
  margin-top: 8px;
  background: var(--soraya-pa-sage-dark);
  color: #fff;
}

.soraya-pa-consent-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: #77766e;
  font-size: 12px;
}

.soraya-pa-consent-footer a,
.soraya-pa-consent-footer button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #515348 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font: 700 12px/1.4 Assistant, Arial, sans-serif;
  cursor: pointer;
}

#soraya-pa-dock {
  position: fixed;
  z-index: 2147483000;
  right: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.soraya-pa-dock-button {
  display: grid;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  color: #fff;
  cursor: pointer;
  transition: transform .17s ease, box-shadow .17s ease;
}

.soraya-pa-dock-button:hover {
  transform: translateY(-2px);
}

.soraya-pa-a11y-launcher {
  width: 53px;
  height: 53px;
  border-radius: 18px;
  background: var(--soraya-pa-ink);
  box-shadow: 0 10px 24px rgba(30, 30, 25, .28);
}

.soraya-pa-a11y-launcher svg {
  width: 30px;
  height: 30px;
}

.soraya-pa-privacy-launcher {
  width: 43px;
  height: 43px;
  border-color: rgba(36, 37, 31, .12);
  border-radius: 15px;
  background: var(--soraya-pa-cream);
  color: var(--soraya-pa-sage-dark);
  box-shadow: 0 7px 18px rgba(30, 30, 25, .2);
}

.soraya-pa-privacy-launcher svg {
  width: 24px;
  height: 24px;
}

#soraya-pa-a11y-panel {
  position: fixed;
  z-index: 2147483001;
  right: 15px;
  bottom: 130px;
  width: min(390px, calc(100vw - 30px));
  max-height: min(650px, calc(100dvh - 150px));
  overflow: auto;
  overscroll-behavior: contain;
  animation: soraya-pa-rise .24s ease both;
}

.soraya-pa-panel-inner {
  position: relative;
  padding: 19px 19px 16px;
}

.soraya-pa-heading-icon-small {
  flex-basis: 43px;
  width: 43px;
  height: 43px;
  border-radius: 15px;
}

.soraya-pa-heading-icon-small svg {
  width: 25px;
  height: 25px;
}

.soraya-pa-a11y-help {
  margin: 11px 0 14px !important;
  color: var(--soraya-pa-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.soraya-pa-group-label {
  display: block;
  margin: 0 0 7px;
  color: #3b3c35;
  font-size: 13px;
  font-weight: 800;
}

.soraya-pa-text-size {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: #eeeae2;
}

.soraya-pa-text-size button {
  min-height: 42px;
  margin: 0;
  padding: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b4c44;
  font: 750 13px/1.2 Assistant, Arial, sans-serif;
  cursor: pointer;
}

.soraya-pa-text-size button[aria-pressed="true"] {
  background: #fff;
  color: var(--soraya-pa-sage-dark);
  box-shadow: 0 3px 10px rgba(35, 35, 29, .11);
}

.soraya-pa-a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.soraya-pa-a11y-grid button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #dedbd3;
  border-radius: 14px;
  background: #fffdfa;
  color: #3e3f38;
  text-align: right;
  font: 750 13px/1.25 Assistant, Arial, sans-serif;
  cursor: pointer;
}

.soraya-pa-a11y-grid button > span {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: #efeae1;
  color: #4f5147;
  font-size: 17px;
  font-weight: 800;
}

.soraya-pa-a11y-grid button[aria-pressed="true"] {
  border-color: var(--soraya-pa-sage-dark);
  background: #eef1e9;
  color: #3e4938;
}

.soraya-pa-a11y-grid button[aria-pressed="true"] > span {
  background: var(--soraya-pa-sage-dark);
  color: #fff;
}

.soraya-pa-a11y-reset {
  width: 100%;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border: 1px solid #d9d5cd;
  border-radius: 12px;
  background: #f1ede5;
  color: #41423b;
  font: 800 13px/1.2 Assistant, Arial, sans-serif;
  cursor: pointer;
}

.soraya-pa-a11y-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #e8e3da;
  font-size: 12px;
}

.soraya-pa-a11y-footer a {
  color: #515348 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.soraya-pa-media-shell {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(36, 37, 31, .13);
  border-radius: 18px;
  background: linear-gradient(145deg, #ece4d5, #d9ccb4);
}

.soraya-pa-media-shell > iframe {
  width: 100%;
  min-height: 100%;
}

.soraya-pa-media-gate {
  display: grid;
  max-width: 390px;
  gap: 8px;
  justify-items: center;
  padding: 24px;
  color: #3e4037;
  text-align: center;
}

.soraya-pa-media-gate[hidden] {
  display: none !important;
}

.soraya-pa-media-gate svg {
  width: 36px;
  height: 36px;
  color: var(--soraya-pa-sage-dark);
}

.soraya-pa-media-gate strong {
  font-size: 16px;
}

.soraya-pa-media-gate p {
  margin: 0 !important;
  color: #67685f !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.soraya-pa-media-gate button {
  min-height: 42px;
  margin-top: 4px;
  padding: 9px 16px;
  border: 0;
  border-radius: 11px;
  background: var(--soraya-pa-ink);
  color: #fff;
  font: 750 13px/1.2 Assistant, Arial, sans-serif;
  cursor: pointer;
}

.soraya-pa-policy-supplement {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(36, 37, 31, .13);
  border-radius: 20px;
  background: #f5efe4;
}

.soraya-pa-policy-button {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--soraya-pa-ink);
  color: #fff;
  font: 750 14px/1.2 Assistant, Arial, sans-serif;
  cursor: pointer;
}

#soraya-pa-ui button:focus-visible,
#soraya-pa-ui a:focus-visible,
.soraya-pa-media-gate button:focus-visible,
.soraya-pa-switch input:focus-visible + span {
  outline: 3px solid #f4c84a !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #23241f !important;
}

body :focus-visible {
  outline: 3px solid #f4c84a !important;
  outline-offset: 3px !important;
}

html.soraya-pa-a11y-grayscale body > *:not(#soraya-pa-ui) {
  filter: grayscale(1) !important;
}

html.soraya-pa-a11y-contrast body > *:not(#soraya-pa-ui) {
  filter: contrast(1.35) !important;
}

html.soraya-pa-a11y-contrast.soraya-pa-a11y-grayscale body > *:not(#soraya-pa-ui) {
  filter: contrast(1.35) grayscale(1) !important;
}

html.soraya-pa-a11y-links body a:not(#soraya-pa-ui a) {
  text-decoration: underline 3px !important;
  text-underline-offset: 4px !important;
  outline: 1px dashed currentColor !important;
  outline-offset: 3px !important;
}

html.soraya-pa-a11y-readable body :is(h1, h2, h3, h4, h5, h6, p, li, a, button, label, input, textarea, select, td, th, blockquote):not(#soraya-pa-ui *) {
  font-family: Arial, "Noto Sans Hebrew", sans-serif !important;
}

html.soraya-pa-a11y-spacing body :is(p, li, a, label, td, th, blockquote):not(#soraya-pa-ui *) {
  line-height: 1.8 !important;
  letter-spacing: .035em !important;
  word-spacing: .09em !important;
}

html.soraya-pa-a11y-motion,
html.soraya-pa-a11y-motion body {
  scroll-behavior: auto !important;
}

html.soraya-pa-a11y-motion body *:not(#soraya-pa-ui):not(#soraya-pa-ui *) {
  animation-delay: 0s !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .001ms !important;
}

@keyframes soraya-pa-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  #soraya-pa-consent {
    right: 7px;
    left: 7px;
    bottom: max(7px, env(safe-area-inset-bottom));
    width: auto;
  }

  .soraya-pa-card {
    max-height: calc(100dvh - 14px - env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 22px;
  }

  .soraya-pa-card-inner {
    padding: 17px 15px 14px;
  }

  .soraya-pa-consent-heading,
  .soraya-pa-panel-heading {
    gap: 10px;
    padding-left: 38px;
  }

  .soraya-pa-heading-icon {
    flex-basis: 41px;
    width: 41px;
    height: 41px;
    border-radius: 14px;
  }

  .soraya-pa-heading-icon svg {
    width: 25px;
    height: 25px;
  }

  #soraya-pa-consent-title,
  #soraya-pa-a11y-title {
    font-size: 20px !important;
  }

  .soraya-pa-icon-button {
    top: 12px;
    left: 10px;
    width: 39px;
    height: 39px;
  }

  .soraya-pa-consent-copy {
    margin: 10px 0 12px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .soraya-pa-consent-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .soraya-pa-button-quiet {
    grid-column: auto;
  }

  .soraya-pa-button {
    min-height: 45px;
    font-size: 14px;
  }

  .soraya-pa-preferences {
    margin-top: 10px;
    padding: 10px 12px 12px;
  }

  .soraya-pa-preference-row {
    min-height: 58px;
    gap: 10px;
    padding: 8px 0;
  }

  .soraya-pa-consent-footer {
    margin-top: 9px;
  }

  #soraya-pa-dock {
    right: 9px;
    bottom: max(9px, env(safe-area-inset-bottom));
    gap: 7px;
  }

  .soraya-pa-a11y-launcher {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .soraya-pa-a11y-launcher svg {
    width: 27px;
    height: 27px;
  }

  .soraya-pa-privacy-launcher {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  #soraya-pa-a11y-panel {
    right: 7px;
    left: 7px;
    bottom: calc(112px + env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 126px - env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  .soraya-pa-panel-inner {
    padding: 16px 13px 13px;
  }

  .soraya-pa-a11y-help {
    margin: 9px 0 11px !important;
    font-size: 12px !important;
  }

  .soraya-pa-a11y-grid {
    gap: 6px;
    margin-top: 10px;
  }

  .soraya-pa-a11y-grid button {
    min-height: 55px;
    padding: 8px;
    font-size: 12px;
  }

  .soraya-pa-a11y-grid button > span {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 370px) {
  .soraya-pa-preference-row small {
    font-size: 11px;
  }

  .soraya-pa-always {
    padding-inline: 7px;
    font-size: 10px;
  }

  .soraya-pa-a11y-grid button {
    gap: 6px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #soraya-pa-ui,
  #soraya-pa-ui * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
