@font-face {
  font-family: "Noto Georgian";
  src: url("assets/noto-georgian-regular.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}
@font-face {
  font-family: "Noto Georgian";
  src: url("assets/noto-georgian-bold.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}
:root {
  color-scheme: light;
}
.preference-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.preference-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--soft);
}
.preference-button:hover {
  background: var(--lavender);
}
.language-toggle {
  font-family: Rethink, "Noto Georgian", sans-serif;
  font-size: 12px;
  font-weight: 600;
}
.sun-icon {
  display: none;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="dark"] .sun-icon {
  display: block;
}

/* Keep the brand's purple artwork and light partner-logo panels in both themes. */
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f1fa;
  --muted: #b9b2c2;
  --line: #3b3543;
  --soft: #27222f;
  --lavender: #30233f;
  --accent: #c2a1ff;
  background: #17141c;
}
[data-theme="dark"] .brand img,
[data-theme="dark"] .site-footer img {
  filter: brightness(0) invert(1);
}
[data-theme="dark"] .brand-divider {
  background: var(--line);
}
[data-theme="dark"] .hero,
[data-theme="dark"] .hero .button-dark,
[data-theme="dark"] .ticket-front,
[data-theme="dark"] .round-stamp {
  color: #191919;
}
[data-theme="dark"] .button-dark,
[data-theme="dark"] .skip-link,
[data-theme="dark"] .toast {
  background: #efe6ff;
  color: #21172e;
}
[data-theme="dark"] .button-dark:hover {
  background: #dfccff;
}
[data-theme="dark"] .hero .button-dark {
  background: #191919;
  color: #fff;
}
[data-theme="dark"] .hero .button-dark:hover {
  background: #333;
}
[data-theme="dark"] .benefits-strip > span,
[data-theme="dark"] .offers-label,
[data-theme="dark"] .results-note,
[data-theme="dark"] .card-location,
[data-theme="dark"] .card-tag {
  color: var(--muted);
}
[data-theme="dark"] .offer-card,
[data-theme="dark"] dialog {
  background: #211c28;
}
[data-theme="dark"] .card-category {
  background: var(--lavender);
}
[data-theme="dark"] .discount-badge {
  background: #fff;
  color: #191919;
}
[data-theme="dark"] .save-button:hover {
  background: #e8dcff;
}
[data-theme="dark"] .search-box,
[data-theme="dark"] .sort-box,
[data-theme="dark"] .dialog-save,
[data-theme="dark"] .button-outline {
  border-color: #514659;
}
[data-theme="dark"] .search-box input::placeholder,
[data-theme="dark"] .search-box .icon,
[data-theme="dark"] .search-box kbd {
  color: #b3a9bd;
}
[data-theme="dark"] .category-chip:hover {
  background: #30233f;
  border-color: #a786d5;
}
[data-theme="dark"] .category-chip[aria-pressed="true"] {
  background: #c2a1ff;
  color: #21172e;
  border-color: #c2a1ff;
}
[data-theme="dark"] .category-count {
  background: #3b3246;
  color: #eee3fa;
}
[data-theme="dark"] .category-chip[aria-pressed="true"] .category-count {
  background: #684691;
  color: #fff;
}
[data-theme="dark"] .dialog-close,
[data-theme="dark"] .dialog-save {
  background: #302738;
}
[data-theme="dark"] .notice {
  color: #d3baf5 !important;
}
[data-theme="dark"] .button-outline:hover {
  background: #443153;
}
[data-theme="dark"] .sort-box option {
  background: #211c28;
}

:lang(ka) {
  font-family: Rethink, "Noto Georgian", Arial, sans-serif;
}
:lang(ka) h1,
:lang(ka) h2,
:lang(ka) h3,
:lang(ka) .ticket-main strong,
:lang(ka) .round-stamp strong {
  font-family: Commissioner, "Noto Georgian", Arial, sans-serif;
  letter-spacing: 0;
}
:lang(ka) .eyebrow {
  letter-spacing: 0.7px;
}
:lang(ka) .hero h1 {
  font-size: clamp(38px, 4vw, 59px);
  line-height: 1.3;
}
:lang(ka) .hero-description {
  max-width: 450px;
}
:lang(ka) .intranet-label {
  max-width: 110px;
  font-size: 11px;
}
:lang(ka) .nav-link,
:lang(ka) .saved-nav {
  font-size: 12px;
}
:lang(ka) .ticket-main strong {
  font-size: 42px;
  line-height: 1.15;
}
:lang(ka) .ticket-main strong > span {
  top: 22px;
  right: -5px;
}
:lang(ka) .ticket-top {
  letter-spacing: 0;
  font-size: 7px;
}
:lang(ka) .ticket-main p {
  font-size: 8px;
}
:lang(ka) .ticket-back > strong {
  font-size: 26px;
}
:lang(ka) .ticket-back > span,
:lang(ka) .ticket-back-bottom {
  letter-spacing: 0;
  font-size: 8px;
}
:lang(ka) .round-stamp > span {
  letter-spacing: 0;
  font-size: 6px;
}
:lang(ka) .art-caption {
  font-size: 7px;
  letter-spacing: 1px;
}
:lang(ka) .section-heading h2 {
  font-size: 29px;
  line-height: 1.4;
}
:lang(ka) .offer-card h3 {
  font-size: 19px;
  line-height: 1.55;
}
:lang(ka) .card-footer {
  gap: 12px;
}
:lang(ka) .card-tag {
  font-size: 8px;
}
:lang(ka) .view-offer {
  font-size: 10px;
  gap: 6px;
}
:lang(ka) .how-intro h2 {
  font-size: 23px;
  line-height: 1.5;
}
:lang(ka) .how-step h3 {
  line-height: 1.5;
}
:lang(ka) .help-banner h2 {
  font-size: 20px;
  line-height: 1.5;
}
:lang(ka) .dialog-body h2,
:lang(ka) .help-dialog-content h2 {
  font-size: 25px;
  line-height: 1.5;
}
:lang(ka) .dialog-actions {
  flex-wrap: wrap;
}
:lang(ka) .dialog-actions .button {
  white-space: nowrap;
}
:lang(ka) .sort-box select {
  max-width: 190px;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 18px;
  }
  nav {
    gap: 18px;
  }
  :lang(ka) .intranet-label,
  :lang(ka) .brand-divider {
    display: none;
  }
}
@media (max-width: 800px) {
  .intranet-label,
  .brand-divider {
    display: none;
  }
  :lang(ka) .nav-link[data-help] {
    display: none;
  }
}
@media (max-width: 650px) {
  .header-inner {
    height: auto;
    min-height: 112px;
    padding: 14px 20px 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    order: 0;
  }
  .preference-controls {
    order: 1;
    margin-left: auto;
  }
  nav {
    order: 2;
    width: 100%;
    height: 42px;
    justify-content: space-between;
  }
  .nav-link.active:after {
    bottom: -4px;
  }
  .nav-link[data-help] {
    display: block;
  }
  .preference-button {
    height: 36px;
    width: 40px;
  }
  .saved-nav > span:not(.saved-count) {
    display: inline;
  }
  :lang(ka) .nav-link[data-help] {
    display: none;
  }
  :lang(ka) .hero h1 {
    font-size: 40px;
    line-height: 1.3;
  }
  :lang(ka) .hero-description {
    font-size: 12px;
  }
  :lang(ka) .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0.2px;
  }
  :lang(ka) .hero-footnote {
    font-size: 8px;
  }
  :lang(ka) .section-heading h2 {
    font-size: 27px;
  }
  :lang(ka) .how-intro h2 {
    font-size: 22px;
  }
  :lang(ka) .help-banner h2 {
    font-size: 18px;
  }
  :lang(ka) .benefits-strip > span {
    font-size: 8px;
  }
}
@media (max-width: 370px) {
  :lang(ka) .hero h1 {
    font-size: 33px;
  }
  :lang(ka) .hero .button {
    gap: 15px;
    font-size: 11px;
  }
  :lang(ka) .hero-footnote {
    font-size: 7px;
  }
  :lang(ka) .category-chip {
    padding: 9px;
    font-size: 9px;
  }
  :lang(ka) .results-note {
    display: none;
  }
  :lang(ka) .help-banner h2 {
    font-size: 16px;
  }
}
