/* shop.arturania.ru: the arturania.ru look without Bootstrap. Colours come from
   modules/theme-arturania (_colors.scss, _vars.scss); fonts are the theme's Fontsource files. */

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/roboto-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/roboto-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/roboto-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/roboto-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Comfortaa;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Comfortaa;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/comfortaa-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* The only colour literals. Derived tones name their theme source; the link and button
   text are darker than the theme's so they reach WCAG AA on white and on --light. */
:root {
  --primary: #47e2ff;          /* $color-primary */
  --secondary: #ff9f43;        /* $color-secondary */
  --secondary-hover: #ff8c1d;  /* $secondary, lightness -7.5% (theme button hover) */
  --text: #1c5a66;             /* $primary shaded 60% ($body-color), 7.8:1 */
  --heading: #2b8899;          /* $primary shaded 40% ($headings-color); large text only */
  --link: #247180;             /* $primary shaded 50%, 5.6:1 */
  --focus: #009ebd;            /* $input-focus-border-color, 3.2:1 */
  --light: #edfcff;            /* $primary tinted 90% ($light) */
  --on-secondary: #0b2226;     /* $primary shaded 85%, 8:1 on --secondary */
  --error: #ba1232;            /* $love-color shaded 20%, 6.5:1 */
  --bg: #fff;
  --sans: Roboto, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  --display: Comfortaa, var(--sans);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: .15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

#main:focus {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  padding: .5rem 1rem;
  background: var(--bg);
  z-index: 1;
}

.skip-link:focus {
  top: 1rem;
}

/* Header: the logo and the shop name over the theme's cyan band. */
.site-header {
  border-bottom: 4px solid var(--primary);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.site-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
}

main {
  padding-top: .5rem;
  padding-bottom: 2rem;
}

h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  margin: 2rem 0 .75rem;
  font-size: 1.5rem;
  color: var(--heading);
}

h3 {
  margin: 1.5rem 0 .5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: .25rem;
}

.details dt {
  margin-top: .75rem;
  font-weight: 700;
}

.details dd {
  margin: 0;
}

/* Order form: the theme's light cyan panel with an orange edge. */
.order {
  margin-top: 2.5rem;
  padding: .25rem 1rem 1.5rem;
  background: var(--light);
  border-top: 4px solid var(--secondary);
  border-radius: .5rem;
}

.price {
  font-size: 1.1rem;
}

.field {
  margin: 0 0 1.25rem;
}

.field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 700;
}

input[type='date'], input[type='email'], select {
  display: block;
  width: 100%;
  max-width: 24rem;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--focus);
  border-radius: .375rem;
}

.has-error input, .has-error select {
  border: 2px solid var(--error);
}

.field-error, .form-alert {
  margin: .35rem 0 0;
  color: var(--error);
}

.form-alert {
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.field-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .6rem;
}

.field-check input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .2rem 0 0;
  accent-color: var(--link);
}

.field-check label {
  flex: 1 1 0;
  margin: 0;
  font-weight: 400;
}

.field-check .field-error {
  flex-basis: 100%;
}

.note {
  font-size: .95rem;
}

.note-closed {
  padding: .75rem 1rem;
  background: var(--bg);
  border-left: 4px solid var(--secondary);
}

button {
  min-height: 2.75rem;
  padding: .7rem 1.5rem;
  font: inherit;
  font-weight: 700;
  color: var(--on-secondary);
  background: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: .375rem;
  cursor: pointer;
}

button:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
}

/* Footer: the seller and the documents on every page. */
.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
  font-size: .9rem;
  background: var(--light);
  border-top: 4px solid var(--primary);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.site-footer p {
  margin: .25rem 0;
}

[aria-current='page'] {
  font-weight: 700;
}

@media (min-width: 40rem) {
  .site-name {
    font-size: 1.5rem;
  }

  .order {
    padding: .25rem 1.5rem 1.5rem;
  }
}
