@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-Regular.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-SemiBold.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 600 900;
}

:root {
  --aqb-ink: #17213f;
  --aqb-muted: #59647c;
  --aqb-line: rgba(23, 33, 63, 0.13);
  --aqb-paper: #fffdfb;
  --aqb-soft: #f7f5f2;
  --aqb-accent: #e9487d;
  --aqb-accent-2: #ff806d;
  --aqb-accent-ink: #8b174b;
  --aqb-hero: #fff3eb;
  --aqb-hero-ink: #17213f;
  --aqb-card: #ffffff;
  --aqb-focus: #175fe9;
  --aqb-radius-lg: 32px;
  --aqb-radius-md: 22px;
  --aqb-radius-sm: 14px;
  --aqb-shadow: 0 20px 56px rgba(34, 43, 78, 0.11);
  --aqb-width: 1180px;
  color-scheme: light;
}

[data-birthday-page="teens"] {
  --aqb-ink: #11182b;
  --aqb-muted: #5d6372;
  --aqb-line: rgba(17, 24, 43, 0.15);
  --aqb-paper: #f8f6f2;
  --aqb-soft: #eeece8;
  --aqb-accent: #5b51d8;
  --aqb-accent-2: #d74670;
  --aqb-accent-ink: #342a98;
  --aqb-hero: #101528;
  --aqb-hero-ink: #ffffff;
  --aqb-card: #ffffff;
  --aqb-shadow: 0 22px 60px rgba(10, 15, 31, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--aqb-paper);
  color: var(--aqb-ink);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.aq-cookie-open {
  padding-bottom: calc(var(--aq-cookie-space, 0px) + env(safe-area-inset-bottom, 0px));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.aqb-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 10px;
  background: #ffffff;
  color: #101528;
  font-weight: 900;
}

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

.aqb-shell {
  width: min(calc(100% - 40px), var(--aqb-width));
  margin-inline: auto;
}

.aqb-narrow {
  width: min(calc(100% - 40px), 760px);
  margin-inline: auto;
}

.aqb-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 33, 63, 0.09);
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(14px);
}

[data-birthday-page="teens"] .aqb-site-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(16, 21, 40, 0.94);
  color: #ffffff;
}

.aqb-site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.aqb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.aqb-brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--aqb-accent), var(--aqb-accent-2));
  box-shadow: 0 9px 22px rgba(233, 72, 125, 0.22);
  color: #ffffff;
  font-size: 15px;
  letter-spacing: -0.08em;
}

.aqb-site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.aqb-site-nav a {
  padding-block: 12px;
  text-decoration: none;
}

.aqb-site-nav a:hover {
  color: var(--aqb-accent);
}

.aqb-site-nav__cta {
  min-height: 44px;
  padding: 11px 18px !important;
  border-radius: 999px;
  background: var(--aqb-ink);
  color: #ffffff !important;
}

[data-birthday-page="teens"] .aqb-site-nav__cta {
  background: #ffffff;
  color: #101528 !important;
}

.aqb-breadcrumbs {
  padding-top: 26px;
  color: var(--aqb-muted);
  font-size: 14px;
  font-weight: 750;
}

.aqb-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aqb-breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 7px;
  opacity: 0.55;
}

.aqb-breadcrumbs a {
  text-underline-offset: 3px;
}

.aqb-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 72px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 128, 109, 0.25), transparent 30%),
    var(--aqb-hero);
  color: var(--aqb-hero-ink);
}

[data-birthday-page="teens"] .aqb-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(91, 81, 216, 0.34), transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(215, 70, 112, 0.22), transparent 32%),
    var(--aqb-hero);
}

.aqb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 74px);
  min-height: 570px;
}

.aqb-kicker,
.aqb-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--aqb-accent-ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

[data-birthday-page="teens"] .aqb-kicker {
  color: #c6c1ff;
}

.aqb-kicker::before,
.aqb-section-kicker::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(39px, 5.6vw, 70px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.99;
}

.aqb-direct-answer {
  max-width: 700px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--aqb-hero-ink) 78%, transparent);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

.aqb-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.aqb-hero__facts li {
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--aqb-hero-ink) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--aqb-hero-ink) 6%, transparent);
  font-size: 14px;
  font-weight: 850;
}

.aqb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.aqb-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.aqb-button:hover {
  transform: translateY(-2px);
}

.aqb-button--primary {
  background: linear-gradient(135deg, var(--aqb-accent), var(--aqb-accent-2));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--aqb-accent) 28%, transparent);
  color: #ffffff;
}

.aqb-button--secondary {
  border-color: color-mix(in srgb, var(--aqb-hero-ink) 26%, transparent);
  background: color-mix(in srgb, var(--aqb-hero-ink) 5%, transparent);
  color: var(--aqb-hero-ink);
}

.aqb-hero__visual {
  position: relative;
}

.aqb-hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  box-shadow: 0 34px 90px rgba(20, 28, 58, 0.25);
  object-fit: cover;
}

[data-birthday-page="teens"] .aqb-hero__image {
  aspect-ratio: 16 / 10;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: saturate(0.88) contrast(1.04);
}

.aqb-hero__note {
  position: absolute;
  right: -18px;
  bottom: 26px;
  max-width: 255px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 46px rgba(16, 24, 48, 0.2);
  color: #17213f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  backdrop-filter: blur(12px);
}

.aqb-section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.aqb-section--soft {
  background: var(--aqb-soft);
}

.aqb-section--ink {
  background: #11182b;
  color: #ffffff;
}

.aqb-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 36px;
}

.aqb-section-head h2,
.aqb-related h2,
.aqb-contact h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.aqb-section-head p {
  margin: 0;
  color: var(--aqb-muted);
}

.aqb-section--ink .aqb-section-head p,
.aqb-section--ink .aqb-section-kicker {
  color: #c5cbda;
}

.aqb-choice-groups {
  display: grid;
  gap: 26px;
}

.aqb-choice-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.aqb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aqb-chip {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--aqb-line);
  border-radius: 999px;
  background: var(--aqb-card);
  color: var(--aqb-ink);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(23, 33, 63, 0.04);
}

.aqb-chip:hover {
  border-color: var(--aqb-accent);
  color: var(--aqb-accent-ink);
}

.aqb-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--aqb-line);
  border-radius: var(--aqb-radius-md);
  background: var(--aqb-card);
  box-shadow: 0 12px 34px rgba(23, 33, 63, 0.06);
}

.aqb-table-hint {
  display: none;
  margin: 0 0 10px;
  color: var(--aqb-muted);
  font-size: 14px;
}

.aqb-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 14px;
}

.aqb-table th,
.aqb-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--aqb-line);
  text-align: left;
  vertical-align: top;
}

.aqb-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #f4f1ed;
  color: #3f485f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aqb-table tbody tr:last-child td {
  border-bottom: 0;
}

.aqb-table tbody tr:first-child {
  background: color-mix(in srgb, var(--aqb-accent) 7%, white);
}

.aqb-table strong {
  color: var(--aqb-ink);
}

.aqb-top {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aqb-top;
}

.aqb-top > li {
  counter-increment: aqb-top;
}

.aqb-top-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--aqb-line);
  border-radius: var(--aqb-radius-md);
  background: var(--aqb-card);
  box-shadow: 0 9px 28px rgba(23, 33, 63, 0.05);
}

.aqb-top-card::before {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--aqb-soft);
  color: var(--aqb-accent-ink);
  content: counter(aqb-top, decimal-leading-zero);
  font-size: 17px;
  font-weight: 900;
}

.aqb-top-card__label {
  margin: 0 0 5px;
  color: var(--aqb-accent-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aqb-top-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.aqb-top-card p {
  max-width: 880px;
  margin: 12px 0 0;
  color: var(--aqb-muted);
}

.aqb-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.aqb-card-facts li {
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--aqb-soft);
  color: #434d65;
  font-size: 13px;
  font-weight: 800;
}

.aqb-limitation {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px !important;
  color: #5c5060 !important;
  font-size: 14px;
}

.aqb-limitation::before {
  flex: 0 0 auto;
  color: var(--aqb-accent);
  content: "Проверьте:";
  font-weight: 900;
}

.aqb-artquest-card {
  display: block;
  overflow: hidden;
  padding: 0;
  border-color: color-mix(in srgb, var(--aqb-accent) 42%, var(--aqb-line));
  background:
    radial-gradient(circle at 84% 10%, color-mix(in srgb, var(--aqb-accent) 14%, transparent), transparent 30%),
    var(--aqb-card);
  box-shadow: var(--aqb-shadow);
}

.aqb-artquest-card::before {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--aqb-accent), var(--aqb-accent-2));
  color: #ffffff;
}

.aqb-artquest-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: stretch;
}

.aqb-artquest-copy {
  padding: 94px 38px 42px;
}

.aqb-artquest-copy h3 {
  font-size: clamp(30px, 4vw, 47px);
}

.aqb-artquest-media {
  min-height: 430px;
}

.aqb-artquest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aqb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 38px 38px;
}

[data-birthday-page="teens"] .aqb-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aqb-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--aqb-line);
  border-radius: 18px;
  background: #ffffff;
}

.aqb-product img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.aqb-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.aqb-product h3,
.aqb-product h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
}

.aqb-product p {
  margin: 9px 0 0;
  color: var(--aqb-muted);
  font-size: 14px;
  line-height: 1.48;
}

.aqb-product__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #384158;
  font-size: 12px;
  font-weight: 850;
}

.aqb-product__meta li {
  padding: 7px 8px;
  border-radius: 9px;
  background: var(--aqb-soft);
}

.aqb-product__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  color: var(--aqb-accent-ink);
  font-size: 14px;
  font-weight: 900;
  text-underline-offset: 3px;
}

.aqb-artquest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 38px 40px;
}

.aqb-duration-note {
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--aqb-accent) 24%, var(--aqb-line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--aqb-soft) 78%, #ffffff);
  color: var(--aqb-text) !important;
}

.aqb-inline-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--aqb-accent-ink);
  font-weight: 900;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.aqb-inline-link::after {
  margin-left: 8px;
  content: "→";
  text-decoration: none;
}

.aqb-product-panel {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--aqb-accent) 30%, var(--aqb-line));
  border-radius: var(--aqb-radius-md);
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--aqb-accent) 12%, transparent), transparent 30%),
    var(--aqb-card);
  box-shadow: var(--aqb-shadow);
}

.aqb-product-panel .aqb-product-grid {
  padding: 24px;
}

.aqb-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.aqb-offer {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--aqb-line);
  border-radius: var(--aqb-radius-md);
  background: var(--aqb-card);
  box-shadow: 0 10px 28px rgba(23, 33, 63, 0.06);
}

.aqb-offer__number {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--aqb-soft);
  color: var(--aqb-accent-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.aqb-offer h3 {
  margin: 18px 0 0;
  font-size: 27px;
  line-height: 1.15;
}

.aqb-offer p {
  margin: 12px 0 0;
  color: var(--aqb-muted);
}

.aqb-offer .aqb-button {
  width: 100%;
  margin-top: auto;
}

.aqb-age-grid,
.aqb-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.aqb-age-card,
.aqb-check-card {
  padding: 25px;
  border: 1px solid var(--aqb-line);
  border-radius: var(--aqb-radius-md);
  background: var(--aqb-card);
}

.aqb-age-card h3,
.aqb-check-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.aqb-age-card p,
.aqb-check-card p {
  margin: 10px 0 0;
  color: var(--aqb-muted);
  font-size: 15px;
}

.aqb-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aqb-faq {
  display: grid;
  gap: 10px;
}

.aqb-faq details {
  border: 1px solid var(--aqb-line);
  border-radius: 16px;
  background: var(--aqb-card);
}

.aqb-faq summary {
  position: relative;
  min-height: 56px;
  padding: 17px 56px 17px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.aqb-faq summary::-webkit-details-marker {
  display: none;
}

.aqb-faq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--aqb-accent);
  content: "+";
  font-size: 26px;
  line-height: 1;
}

.aqb-faq details[open] summary::after {
  content: "−";
}

.aqb-faq__answer {
  max-width: 820px;
  padding: 0 56px 18px 20px;
  color: var(--aqb-muted);
}

.aqb-faq__answer p {
  margin: 0;
}

.aqb-related {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--aqb-radius-lg);
  background: #11182b;
  color: #ffffff;
}

.aqb-related p {
  max-width: 700px;
  margin: 13px 0 0;
  color: #c7ccda;
}

.aqb-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.aqb-contact__copy p {
  color: var(--aqb-muted);
}

.aqb-contact__points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.aqb-contact__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aqb-contact__points li::before {
  color: var(--aqb-accent);
  content: "✓";
  font-weight: 900;
}

.aqb-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--aqb-line);
  border-radius: var(--aqb-radius-lg);
  background: var(--aqb-card);
  box-shadow: var(--aqb-shadow);
}

.aqb-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.aqb-field {
  display: grid;
  gap: 7px;
}

.aqb-field--wide {
  grid-column: 1 / -1;
}

.aqb-label {
  font-size: 14px;
  font-weight: 900;
}

.aqb-input,
.aqb-textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c9ced8;
  border-radius: 12px;
  background: #ffffff;
  color: #17213f;
}

.aqb-textarea {
  min-height: 112px;
  resize: vertical;
}

.aqb-input:focus,
.aqb-textarea:focus {
  border-color: var(--aqb-accent);
  outline: 3px solid color-mix(in srgb, var(--aqb-accent) 18%, transparent);
}

.aqb-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0;
  color: #4c566c;
  font-size: 13px;
  line-height: 1.45;
}

.aqb-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--aqb-accent);
}

.aqb-consent a {
  color: var(--aqb-accent-ink);
  font-weight: 900;
  text-underline-offset: 2px;
}

.aqb-form__message {
  min-height: 25px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 850;
}

.aqb-form__message[data-state="error"] {
  color: #b32339;
}

.aqb-form__message[data-state="success"] {
  color: #157347;
}

.aqb-form .aqb-button {
  width: 100%;
}

.aqb-form .aqb-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.aqb-site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--aqb-line);
  background: #11182b;
  color: #ffffff;
}

.aqb-site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.aqb-site-footer p {
  margin: 8px 0 0;
  color: #c7ccda;
  font-size: 14px;
}

.aqb-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
}

.aqb-site-footer a {
  text-underline-offset: 3px;
}

.aq-cookie-notice {
  position: fixed;
  z-index: 2147483000;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  color: #17213f;
  font-family: "Nunito", Arial, sans-serif;
}

.aq-cookie-notice[data-visible="true"] {
  display: block;
}

.aq-cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(67, 79, 126, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 36px rgba(23, 33, 63, 0.18);
  backdrop-filter: blur(12px);
}

.aq-cookie-notice__text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.aq-cookie-notice__text a {
  display: inline-block;
  min-height: 24px;
  padding: 3px 2px;
  color: #d52f71;
  font-weight: 900;
  text-underline-offset: 3px;
}

.aq-cookie-notice__button {
  min-width: 92px;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff5b91, #ff7468);
  box-shadow: 0 7px 18px rgba(255, 91, 145, 0.25);
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 1040px) {
  .aqb-hero__grid,
  .aqb-artquest-intro,
  .aqb-contact {
    grid-template-columns: 1fr;
  }

  .aqb-hero__grid {
    padding-top: 34px;
  }

  .aqb-hero__visual {
    max-width: 760px;
  }

  .aqb-hero__image,
  [data-birthday-page="teens"] .aqb-hero__image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .aqb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-birthday-page="teens"] .aqb-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .aqb-shell,
  .aqb-narrow {
    width: min(calc(100% - 30px), var(--aqb-width));
  }

  .aqb-site-header__inner {
    min-height: 64px;
  }

  .aqb-site-nav a:not(:last-child) {
    display: none;
  }

  .aqb-hero {
    padding-bottom: 56px;
  }

  .aqb-hero__grid {
    min-height: 0;
  }

  .aqb-section-head,
  .aqb-related,
  .aqb-site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .aqb-section-head {
    gap: 15px;
  }

  .aqb-table-hint {
    display: block;
  }

  .aqb-top-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .aqb-top-card::before {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 14px;
  }

  .aqb-artquest-card::before {
    top: 18px;
    left: 18px;
  }

  .aqb-artquest-copy {
    padding: 82px 22px 28px;
  }

  .aqb-artquest-media {
    min-height: 260px;
  }

  .aqb-product-grid,
  [data-birthday-page="teens"] .aqb-product-grid {
    grid-template-columns: 1fr;
    padding: 0 22px 24px;
  }

  .aqb-product-panel .aqb-product-grid {
    padding: 16px;
  }

  .aqb-product {
    display: grid;
    grid-template-columns: minmax(130px, 0.74fr) minmax(0, 1.26fr);
  }

  .aqb-product img {
    height: 100%;
    aspect-ratio: auto;
  }

  .aqb-artquest-actions {
    padding: 0 22px 30px;
  }

  .aqb-offers,
  .aqb-age-grid,
  .aqb-check-grid {
    grid-template-columns: 1fr;
  }

  .aqb-site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .aqb-shell,
  .aqb-narrow {
    width: min(calc(100% - 24px), var(--aqb-width));
  }

  .aqb-brand {
    font-size: 18px;
  }

  .aqb-site-nav__cta {
    padding-inline: 13px !important;
    font-size: 13px;
  }

  .aqb-breadcrumbs {
    padding-top: 18px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .aqb-actions,
  .aqb-actions .aqb-button {
    width: 100%;
  }

  .aqb-hero__note {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .aqb-section {
    padding: 58px 0;
  }

  .aqb-chips {
    gap: 8px;
  }

  .aqb-chip {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .aqb-top-card {
    display: block;
  }

  .aqb-top-card::before {
    margin-bottom: 14px;
  }

  .aqb-product {
    display: flex;
  }

  .aqb-product img {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .aqb-product__meta {
    grid-template-columns: 1fr;
  }

  .aqb-artquest-actions .aqb-button {
    width: 100%;
  }

  .aqb-form__grid {
    grid-template-columns: 1fr;
  }

  .aqb-field--wide {
    grid-column: auto;
  }

  .aq-cookie-notice {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    left: 8px;
  }

  .aq-cookie-notice__inner {
    gap: 10px;
    padding: 10px 11px;
    border-radius: 15px;
  }

  .aq-cookie-notice__button {
    min-width: 82px;
    padding-inline: 13px;
  }
}

@media (max-width: 350px) {
  .aqb-site-nav__cta {
    display: none;
  }

  .aq-cookie-notice__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .aq-cookie-notice__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .aqb-site-header,
  .aqb-actions,
  .aqb-artquest-actions,
  .aqb-contact,
  .aq-cookie-notice {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .aqb-section {
    padding: 28px 0;
  }
}
