:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.language-switcher {
  flex: none;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #ffffff4d;
  border-radius: 999px;
  display: flex;
}

.language-switcher a {
  min-width: 34px;
  padding: 7px 8px;
  border-radius: 999px;
  color: inherit;
  opacity: .72;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
}

.language-switcher a:hover {
  opacity: 1;
}

.language-switcher a[aria-current="page"] {
  color: var(--blue-950);
  background: var(--yellow);
  opacity: 1;
}

.site-header--dark .language-switcher {
  border-color: #06357f33;
}

.footer-meta a,
.footer-meta button {
  color: #fff;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #ffffff52;
  text-underline-offset: 3px;
}

.footer-meta a:hover,
.footer-meta button:hover {
  text-decoration-color: #fff;
}

.visit-counter-slot {
  color: #ffffffc7;
}

.image-disclaimer {
  color: #ffffff8f;
  max-width: 720px;
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

/* Approved composition for the “Вкус моего детства” block. */
.story-card {
  isolation: isolate;
  justify-content: flex-start;
  padding: 102px 44px 50px;
  background-image:
    linear-gradient(90deg, #04377cbd 0%, #04377c7a 52%, #04377c00 100%),
    url("/voskhod-penguin.webp"),
    linear-gradient(145deg, #053d89 0%, #0f99d6 100%);
  background-position:
    center,
    right -74px top 14px,
    center;
  background-repeat: no-repeat;
  background-size:
    100% 100%,
    auto 420px,
    100% 100%;
}

.story-card::before {
  content: none;
}

.story-card::after {
  z-index: 0;
}

.story-quote {
  z-index: 2;
  max-width: 230px;
  font-size: clamp(48px, 3.75vw, 54px);
  line-height: 1.06;
}

.story-caption {
  z-index: 2;
  max-width: 220px;
  margin-top: auto;
  font-size: 11px;
}

/* GTIN is shown as one uninterrupted 13-digit number. */
.barcode-visual strong {
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.language-hold-page {
  min-height: 100vh;
  background: #052d70;
}

.language-hold {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 50% 28%, #17a9ed8c 0, #0b64b454 28%, transparent 58%),
    linear-gradient(145deg, #031f52 0%, #074990 58%, #006ec4 100%);
  place-items: center;
  padding: 32px 20px;
  display: grid;
}

.language-hold-card {
  width: min(680px, 100%);
  text-align: center;
  background: #02255cc7;
  border: 1px solid #ffffff38;
  border-radius: 32px;
  padding: clamp(34px, 7vw, 68px) clamp(24px, 7vw, 64px);
  box-shadow: 0 30px 90px #00153666;
  backdrop-filter: blur(10px);
}

.language-hold-brand {
  color: #fff;
  width: max-content;
  margin: 0 auto 46px;
}

.language-hold-kicker {
  color: var(--yellow);
  letter-spacing: .18em;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
}

.language-hold-card h1 {
  letter-spacing: -.055em;
  margin: 0;
  font-size: clamp(44px, 8vw, 78px);
  line-height: .98;
}

.language-hold-card > p:not(.language-hold-kicker) {
  color: #e9f6ff;
  max-width: 500px;
  margin: 22px auto 30px;
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.55;
}

.language-hold-card .button {
  display: inline-flex;
}

.cookie-panel {
  position: fixed;
  z-index: 1000;
  right: 22px;
  bottom: 22px;
  width: min(580px, calc(100% - 44px));
  color: var(--ink);
  background: #fffffff8;
  border: 1px solid #b9d4e8;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 80px #001b4952;
  backdrop-filter: blur(14px);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel h2 {
  color: var(--blue-950);
  letter-spacing: -.03em;
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.cookie-panel p {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-panel p a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  display: grid;
}

.cookie-action {
  cursor: pointer;
  border: 1px solid var(--blue-700);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
}

.cookie-action--accept {
  color: #fff;
  background: var(--blue-700);
}

.cookie-action--necessary {
  color: var(--blue-900);
  background: #fff;
}

.privacy-main {
  background: linear-gradient(180deg, #fffaf0 0, #eef8fd 420px, #f7fbfd 100%);
}

.privacy-hero {
  border-bottom: 1px solid var(--line);
  padding: 82px 0 88px;
}

.privacy-hero h1 {
  color: var(--blue-950);
  letter-spacing: -.06em;
  max-width: 880px;
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
}

.privacy-hero .page-lead {
  max-width: 760px;
}

.privacy-status {
  color: var(--blue-900);
  background: #fff;
  border: 1px solid #b9d4e8;
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}

.privacy-status::before {
  content: "";
  background: #28a26a;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.privacy-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 58px;
  padding: 72px 0 110px;
  display: grid;
}

.privacy-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  position: sticky;
  top: 22px;
  box-shadow: 0 18px 55px #124a760d;
}

.privacy-nav strong {
  color: var(--blue-950);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 10px;
}

.privacy-nav ol {
  gap: 2px;
  margin-top: 12px;
  display: grid;
}

.privacy-nav a {
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  display: block;
}

.privacy-nav a:hover {
  color: var(--blue-900);
  background: var(--ice);
}

.privacy-content {
  min-width: 0;
}

.privacy-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  margin-bottom: 16px;
  padding: 34px;
  scroll-margin-top: 22px;
  box-shadow: 0 18px 55px #124a760d;
}

.privacy-section h2 {
  color: var(--blue-950);
  letter-spacing: -.035em;
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.12;
}

.privacy-section h3 {
  color: var(--blue-900);
  margin: 24px 0 10px;
  font-size: 17px;
}

.privacy-section p,
.privacy-section li,
.privacy-section dd {
  color: #52627a;
  font-size: 14px;
  line-height: 1.72;
}

.privacy-section p + p {
  margin-top: 13px;
}

.privacy-section ul {
  gap: 8px;
  margin: 14px 0 0;
  display: grid;
}

.privacy-section li {
  padding-left: 20px;
  position: relative;
}

.privacy-section li::before {
  content: "";
  background: var(--blue-500);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: .7em;
  left: 0;
}

.policy-details {
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.policy-details div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 15px 0;
  display: grid;
}

.policy-details dt {
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
}

.policy-details dd {
  color: var(--ink);
  margin: 0;
  font-weight: 700;
}

.policy-note {
  color: #4f5e75;
  background: var(--ice);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 14px 14px 0;
  margin-top: 20px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.65;
}

.policy-cookie-button {
  color: #fff;
  cursor: pointer;
  background: var(--blue-700);
  border-radius: 999px;
  margin-top: 20px;
  min-height: 48px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .privacy-nav {
    position: static;
  }

  .privacy-nav ol {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 10px;
  }

  .brand-copy small {
    display: none;
  }

  .language-switcher {
    gap: 1px;
    margin-left: auto;
  }

  .language-switcher a {
    min-width: 29px;
    padding: 7px 5px;
    font-size: 9px;
  }

  .mobile-menu {
    margin-left: 0;
  }

  .cookie-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;
    padding: 20px;
  }

  .cookie-actions,
  .privacy-nav ol {
    grid-template-columns: 1fr;
  }

  .privacy-hero {
    padding: 58px 0 64px;
  }

  .privacy-layout {
    padding: 48px 0 76px;
  }

  .privacy-section {
    border-radius: 20px;
    padding: 24px 20px;
  }

  .policy-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .story-card {
    min-height: 430px;
    padding: 80px 34px 38px;
    background-position:
      center,
      right -58px top 14px,
      center;
    background-size:
      100% 100%,
      auto 390px,
      100% 100%;
  }

  .story-quote {
    max-width: 210px;
    font-size: 48px;
  }

  .story-caption {
    max-width: 210px;
  }
}

@media (max-width: 420px) {
  .story-card {
    padding: 72px 28px 34px;
    background-position:
      center,
      right -110px top 20px,
      center;
    background-size:
      100% 100%,
      auto 350px,
      100% 100%;
  }

  .story-quote {
    max-width: 184px;
    font-size: 42px;
  }

  .story-caption {
    max-width: 175px;
    font-size: 10px;
  }
}
