/* Card → product page shared-element transition (D-012); browsers without support just navigate. */
@view-transition {
  navigation: auto;
}

@layer base {
  /* Noto Sans Georgian, self-hosted, two weights (D-011). Covers Georgian, Latin and the ₾ sign. */
  @font-face {
    font-family: "Noto Sans Georgian";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/NotoSansGeorgian-Regular.woff2") format("woff2");
  }

  @font-face {
    font-family: "Noto Sans Georgian";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/NotoSansGeorgian-Bold.woff2") format("woff2");
  }

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

  * {
    margin: 0;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    min-height: 100dvh;
    font-family: var(--font);
    font-size: var(--fs-m);
    line-height: 1.45;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
  }

  h1,
  h2,
  h3 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    text-wrap: balance;
  }

  p {
    text-wrap: pretty;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

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

  button,
  input {
    font: inherit;
    color: inherit;
  }

  button {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
  }

  ul,
  ol {
    list-style: none;
    padding: 0;
  }

  :focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: var(--radius-s);
  }

  .container {
    width: max(min(100% - 2 * var(--gutter), var(--container-max)), var(--container-share));
    margin-inline: auto;
  }

  .icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
