@charset "UTF-8";
/* ============================================================
   Skoln SSR stylesheet — PLAIN CSS, hand-maintained.
   No build step, no Sass/Node: edit this file directly and refresh.
   Sections in source order:
     1. Reboot (Bootstrap reboot, base reset)
     2. Fonts (@font-face)
     3. Base / layout (variables, .container, buttons, typography)
     4. Components (header, footer, catalog, home, banners, cookies)
   Asset URLs are absolute (/src/assets/...) so they resolve from web root.
   ============================================================ */
/*!
 * Bootstrap Reboot v5.1.3 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
 */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}

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

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
  margin: 1rem 0;
  color: inherit;
  background-color: currentColor;
  border: 0;
  opacity: 0.25;
}

hr:not([size]) {
  height: 1px;
}

h6,
h5,
h4,
h3,
h2,
h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}
h2 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
  h2 {
    font-size: 2rem;
  }
}
h3 {
  font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
  h3 {
    font-size: 1.75rem;
  }
}
h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
  h4 {
    font-size: 1.5rem;
  }
}
h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-bs-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 0.875em;
}

mark {
  padding: 0.2em;
  background-color: #fcf8e3;
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  color: #0d6efd;
  text-decoration: underline;
}

a:hover {
  color: #0a58ca;
}

a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

pre,
code,
kbd,
samp {
  font-family: var(--bs-font-monospace);
  font-size: 1em;
  direction: ltr;
  unicode-bidi: bidi-override;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  font-size: 0.875em;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

code {
  font-size: 0.875em;
  color: #d63384;
  word-wrap: break-word;
}

a > code {
  color: inherit;
}

kbd {
  padding: 0.2rem 0.4rem;
  font-size: 0.875em;
  color: #fff;
  background-color: #212529;
  border-radius: 0.2rem;
}

kbd kbd {
  padding: 0;
  font-size: 1em;
  font-weight: 700;
}

figure {
  margin: 0 0 1rem;
}

img,
svg {
  vertical-align: middle;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #6c757d;
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0 !important;
}

input:focus-visible {
  outline: 0 !important;
}

input:focus {
  outline: 0 !important;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[role=button] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

select:disabled {
  opacity: 1;
}

[list]::-webkit-calendar-picker-indicator {
  display: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled) {
  cursor: pointer;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

textarea {
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: calc(1.275rem + 0.3vw);
  line-height: inherit;
}

@media (min-width: 1200px) {
  legend {
    font-size: 1.5rem;
  }
}
legend + * {
  clear: left;
}

::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
  padding: 0;
}

::-webkit-inner-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}

/* rtl:raw:
[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
  direction: ltr;
}
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-color-swatch-wrapper {
  padding: 0;
}

::-webkit-file-upload-button {
  font: inherit;
}

::file-selector-button {
  font: inherit;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

iframe {
  border: 0;
}

summary {
  display: list-item;
  cursor: pointer;
}

progress {
  vertical-align: baseline;
}

[hidden] {
  display: none !important;
}


@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Thin.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Thin.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Thin.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Thin.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-UltraLight.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-UltraLight.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-UltraLight.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-UltraLight.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Light.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Light.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Light.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Light.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Bold.eot");
  src: url("/src/assets/fonts/e-ukraine/e-Ukraine-Bold.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Bold.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Bold.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Thin.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Thin.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Thin.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Thin.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-UltraLight.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-UltraLight.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-UltraLight.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-UltraLight.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Light.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Light.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Light.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Light.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Regular.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Regular.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Medium.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Medium.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-Ukraine-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "e-UkraineHead";
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Bold.eot");
  src: url("/src/assets/fonts/e-ukraine/e-UkraineHead-Bold.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Bold.ttf") format("truetype"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Bold.woff2") format("woff2"), url("/src/assets/fonts/e-ukraine/e-UkraineHead-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Soyuz Grotesk";
  src: url("/src/assets/fonts/soyuz-grotesk/SoyuzGroteskBold.ttf") format("truetype"), url("/src/assets/fonts/soyuz-grotesk/Soyuz_Grotesk_Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "ICTV-Regular";
  src: url("/src/assets/fonts/ictv/ICTV-Regular.eot");
  src: url("/src/assets/fonts/ictv/ICTV-Regular.eot?#iefix") format("embedded-opentype"), url("/src/assets/fonts/ictv/ICTV-Regular.ttf") format("truetype"), url("/src/assets/fonts/ictv/ICTV-Regular.woff2") format("woff2"), url("/src/assets/fonts/ictv/ICTV-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Montserrat; /* Имя шрифта */
  src: url("/src/assets/fonts/Montserrat-VariableFont_wght.ttf"); /* Путь к файлу со шрифтом */
}
:root {
  --block_blue: #1b78f9;
  --block_dark: #393939;
  --extra_dark: #121212;
  --white-text: #f7f7f7;
  --background: #f7f7f7;
  --footer: #121212;
  --second: #ffd600;
  --border: #dcdcdc;
  --text_gray: rgb(129, 128, 128);
  --red_color: #a40000;
  --green_color: rgb(0, 112, 0);
  --background-color: #f0f6f4;
  --background-card-color: #fff;
  --colorful-background-card-color: #67e0a6;
  --light-text-color: #fff;
  --dark-text-color: #00311f;
  --background-footer-color: #00311f;
  --brand-color: #099764;
  --q-primary: #099764;
  --danger-color: #aa3333;
  --brand-card-color: #00aa6d;
  --tag-color: #a0a0a0;
  --tag-color-light: #fff;
  --placeholder-color: #a6a6a6;
  --label-color: #5f6c72;
  --light-label-color: #77878f;
  --date-color: #616161;
  --sort-option-bg-color: #e4e7e9;
  --tab-bg-color: #f1f1f1;
  --tab-border-color: #d3d3d3;
  --dialog-bg: #efefef;
  --table-bg-color: #fff;
  --big-gradient: linear-gradient(90deg, #099764 50%, rgba(9, 151, 100, 0) 100%);
  --big-gradient-mobile: linear-gradient(90deg, #099764 30%, rgba(9, 151, 100, 0) 100%);
  --small-gradient: linear-gradient(91deg, #099764 0.45%, rgba(9, 151, 100, 0) 99.55%);
  --user-menu-gradient: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.8) -254.09%,
    rgba(255, 255, 255, 0) 99.84%
  );
  --box-shadow-card: 0px 0px 55px 0px rgba(0, 0, 0, 0.1);
  --box-shadow-card-bottom: 0px 30px 55px 0px rgba(0, 0, 0, 0.1);
  --box-shadow-header: 0 2px 30px 10px rgba(35, 55, 74, 0.07);
  --box-shadow-user-content: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  --box-shadow-input: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  --pdf-background-color: rgba(255, 56, 60, 1);
  --doc-background-color: rgba(0, 136, 255, 1);
  --docx-background-color: rgba(0, 136, 255, 1);
  --zip-background-color: rgba(52, 199, 89, 1);
  --pptx-background-color: rgba(255, 141, 40, 1);
  --ppt-background-color: rgba(255, 141, 40, 1);
  --video-background-color: rgba(237, 96, 248, 1);
  --audio-background-color: rgba(100, 87, 234, 1);
  --e-book-background-color: rgba(227, 138, 41, 1);
  --scroll-color: #00311f;
  --scroll-bg-color: #cbcbcb;
  --rate-background: #c7c9d9;
  --rate-color: #ffcc00;
  --my-material-button-bg: #ceeae0;
  --danger-bg: #ff000026;
}

* {
  border: 0;
  outline: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--background-color);
  color: var(--dark-text-color);
  font-size: 14px;
  min-width: 340px;
  font-family: "e-Ukraine", sans-serif;
  font-weight: 200;
  height: 100%;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  overflow-y: scroll;
}

body.no-scroll {
  overflow: hidden;
}

.font-head {
  font-family: "e-Ukraine Head", sans-serif;
}

.font-ictv {
  font-family: "ICTV-Regular", sans-serif;
}

.app-logo {
  font-family: "Soyuz Grotesk", sans-serif;
  font-size: 52px;
  line-height: 52px;
  font-weight: 700;
  color: var(--light-text-color);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .app-logo:hover {
    color: var(--light-hover-color);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.04em;
}

input,
button,
select {
  font-family: "e-Ukraine", sans-serif;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: var(--dark-text-color);
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--brand-color);
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

b {
  font-weight: 700;
}

.is-mobile-inline,
.is-mobile {
  display: none;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  padding: 9px 0 0;
}

header,
footer {
  flex-shrink: 0;
}

main {
  padding-top: 71px;
  flex-grow: 1;
}
@media all and (max-width: 1024px) {
  main {
    padding-top: 50px;
  }
}

.container {
  width: 1550px;
  max-width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.app-button {
  display: flex;
  width: 341px;
  max-width: 100%;
  height: 60px;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: var(--brand-color);
  color: var(--light-text-color);
  font-size: 18px;
  font-weight: 500;
  border: 2px solid transparent;
  transition: 0.3s;
  gap: 12px;
  cursor: pointer;
}
.app-button.medium {
  border-radius: 7px;
  width: 227px;
  height: 58px;
}
.app-button.small {
  border-radius: 7px;
  width: 238px;
  height: 45px;
  gap: 10px;
  font-size: 14px;
}
.app-button.app-second-button {
  background: var(--tag-color);
}
.app-button.app-third-button {
  background: var(--dark-text-color);
}
.app-button svg {
  transition: 0.3s;
}
.app-button svg:not(.fill-svg) {
  stroke: var(--light-text-color);
}
.app-button svg.fill-svg {
  fill: var(--light-text-color);
}
.app-button.border {
  background: transparent;
  border-color: var(--brand-color);
  color: var(--brand-color);
}
.app-button.border svg:not(.fill-svg) {
  stroke: var(--brand-color);
}
.app-button.border svg.fill-svg {
  fill: var(--brand-color);
}
.app-button.danger {
  background: transparent;
  border-color: var(--danger-color);
  color: var(--danger-color);
}
.app-button.danger svg:not(.fill-svg) {
  stroke: var(--danger-color);
}
.app-button.danger svg.fill-svg {
  fill: var(--danger-color);
}
.app-button.center {
  margin: 0 auto;
}
/* Empty-state block (e.g. empty purchase history): icon + title + text + CTA */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 460px;
  margin: 60px auto;
  padding: 0 20px;
}
.empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--tab-color, #e9f5f0);
}
.empty-state__icon svg { width: 44px; height: 44px; }
.empty-state__icon svg:not(.fill-svg) { stroke: var(--brand-color); }
.empty-state__icon svg.fill-svg { fill: var(--brand-color); }
.empty-state__title {
  font-size: 24px;
  font-weight: 500;
  color: var(--dark-text-color);
}
.empty-state__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--tag-color);
  margin: 0;
}
.empty-state .app-button { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  .app-button:hover {
    color: var(--dark-text-color);
    background: transparent;
    border-color: var(--dark-text-color);
  }
  .app-button:hover svg:not(.fill-svg) {
    stroke: var(--dark-text-color);
  }
  .app-button:hover svg.fill-svg {
    fill: var(--dark-text-color);
  }
}
.app-button.text {
  padding: 0;
  background: none;
  color: var(--tag-color);
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  height: auto;
  width: auto;
  gap: 10px;
  border: 0;
}
.app-button.text svg:not(.fill-svg) {
  stroke: var(--tag-color);
}
.app-button.text svg.fill-svg {
  fill: var(--tag-color);
}
@media (hover: hover) and (pointer: fine) {
  .app-button.text:hover {
    color: var(--dark-text-color);
    background: transparent;
  }
  .app-button.text:hover svg:not(.fill-svg) {
    stroke: var(--dark-text-color);
  }
  .app-button.text:hover svg.fill-svg {
    fill: var(--dark-text-color);
  }
}
.app-button.disabled {
  background: #bbb;
  color: var(--light-text-color);
  pointer-events: none;
}
.app-button.disabled svg {
  transition: 0.3s;
}
.app-button.disabled svg:not(.fill-svg) {
  stroke: var(--light-text-color);
}
.app-button.disabled svg.fill-svg {
  fill: var(--light-text-color);
}

.auth-form__title {
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 35px;
}
@media all and (max-width: 764px) {
  .auth-form__title {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
  }
}
.auth-form_buttons {
  margin-top: 33px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.auth-form_buttons .app-button {
  width: 100%;
  max-width: 446px;
  font-size: 24px;
  border-radius: 100px;
}
@media all and (max-width: 470px) {
  .auth-form_buttons .app-button {
    font-size: 18px;
  }
}

.app-input {
  border-radius: 7px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-input);
  min-width: 483px;
  max-width: 100%;
  height: 45px;
  padding: 5px 20px 5px 26px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 500;
}
.app-input.app-textarea {
  height: 242px;
  resize: none;
  padding: 16px 20px 5px 26px;
}

.app-field {
  margin-bottom: 20px;
}

.app-label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  margin-bottom: 5px;
}

.app-select {
  position: relative;
  display: inline-block;
  min-width: 483px;
  max-width: 100%;
}
.app-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
}
.app-select:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 35px;
  height: 35px;
  background-image: url("/src/assets/images/elements/select-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: translateY(-50%);
}

.app-radio,
.app-checkbox {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.app-radio label,
.app-checkbox label {
  padding-left: 58px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  position: relative;
}
.app-radio label:before, .app-radio label:after,
.app-checkbox label:before,
.app-checkbox label:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-input);
  border-radius: 7px;
  transition: background-color 0.2s;
  border: 2px solid transparent;
}
.app-radio label:after,
.app-checkbox label:after {
  background: url("/src/assets/images/elements/checked.svg") center/80% no-repeat;
  opacity: 0;
}
.app-radio.medium:not(:last-child), .app-radio.small:not(:last-child),
.app-checkbox.medium:not(:last-child),
.app-checkbox.small:not(:last-child) {
  margin-bottom: 12px;
}
.app-radio.medium label, .app-radio.small label,
.app-checkbox.medium label,
.app-checkbox.small label {
  padding-left: 28px;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: #475156;
  min-width: 20px;
  min-height: 20px;
}
.app-radio.medium label:before, .app-radio.medium label:after, .app-radio.small label:before, .app-radio.small label:after,
.app-checkbox.medium label:before,
.app-checkbox.medium label:after,
.app-checkbox.small label:before,
.app-checkbox.small label:after {
  width: 20px;
  height: 20px;
  box-shadow: none;
  border-radius: 2px;
}
.app-radio.medium label:before, .app-radio.small label:before,
.app-checkbox.medium label:before,
.app-checkbox.small label:before {
  border: 1px solid #c9cfd2;
}
.app-radio.medium label:after, .app-radio.small label:after,
.app-checkbox.medium label:after,
.app-checkbox.small label:after {
  background-size: auto;
}
.app-radio.medium label,
.app-checkbox.medium label {
  min-width: 30px;
  min-height: 30px;
}
.app-radio.medium label:before, .app-radio.medium label:after,
.app-checkbox.medium label:before,
.app-checkbox.medium label:after {
  width: 30px;
  height: 30px;
}
.app-radio.medium label:after,
.app-checkbox.medium label:after {
  background-size: 70%;
}
.app-radio input,
.app-checkbox input {
  display: none;
}
.app-radio input:checked + label:before,
.app-checkbox input:checked + label:before {
  background: var(--brand-color);
}
.app-radio input:checked + label:after,
.app-checkbox input:checked + label:after {
  border-color: var(--brand-color);
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .app-radio.small label:hover:before,
  .app-radio label:hover:before,
  .app-checkbox.small label:hover:before,
  .app-checkbox label:hover:before {
    border-width: 2px;
    border-color: var(--brand-color);
    box-shadow: none;
  }
}

.app-radio label:before, .app-radio label:after {
  border-radius: 100%;
}
.app-radio.small label:before, .app-radio.small label:after {
  border-radius: 100%;
}
.app-radio input:checked + label:after {
  background: var(--background-card-color);
  border-color: var(--brand-color);
  border-width: 10px;
}
.app-radio.small input:checked + label:after {
  border-width: 6px;
}

.tag-checkbox label {
  border-radius: 2px;
  border: 1px solid var(--sort-option-bg-color);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  padding: 6px 11px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tag-checkbox label:before, .tag-checkbox label:after {
  display: none;
}
.tag-checkbox input:checked + label {
  color: var(--brand-color);
  border-color: var(--brand-color);
}

.app-title-medium {
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 21px;
}
@media all and (max-width: 1024px) {
  .app-title-medium {
    text-align: center;
    font-size: 25px;
    line-height: 37px;
  }
}
.app-title-medium a {
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}

.q-dialog__backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.app-dialog__card {
  width: 559px;
  border-radius: 20px !important;
  background: var(--dialog-bg);
  padding: 62px 52px;
  box-shadow: none;
}
@media all and (max-width: 1024px) {
  .app-dialog__card {
    padding: 58px 35px;
  }
}
.app-dialog__card textarea {
  border-radius: 5px;
  background: var(--background-card-color);
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  padding: 28px 38px;
  width: 100%;
  height: 263px;
  resize: none;
  margin-bottom: 35px;
}
.app-dialog__card textarea::placeholder {
  color: var(--tag-color);
}
.app-dialog__card .app-button {
  width: 287px;
}
.app-dialog__title {
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 35px;
  text-align: center;
}
@media all and (max-width: 1024px) {
  .app-dialog__title {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 25px;
  }
}
.app-dialog__close {
  position: absolute;
  top: 18px;
  right: 21px;
}
.app-dialog__close .q-icon {
  font-size: 28px;
  color: var(--dark-text-color);
}

.app-required-mark {
  color: red;
}

/* Modal dialog overlay (SSR review / question / report — replaces q-dialog) */
.app-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.app-dialog[hidden] { display: none; }
.app-dialog__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.app-dialog .app-dialog__card { position: relative; z-index: 1; max-width: 100%; max-height: 90vh; overflow-y: auto; }
.app-dialog__close { background: none; border: 0; cursor: pointer; line-height: 0; }
.app-dialog__close svg { width: 24px; height: 24px; stroke: var(--dark-text-color); }
.app-dialog__form { display: flex; flex-direction: column; }
.app-dialog__form-label { margin-bottom: 14px; text-align: center; }
.app-dialog__rating { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.app-dialog__star { background: none; border: 0; padding: 0; cursor: pointer; line-height: 0; }
.app-dialog__star svg { width: 32px; height: 32px; fill: #d9d9d9; stroke: none; }
.app-dialog__star.active svg { fill: #ffb800; }
.btn-disable { opacity: 0.35; pointer-events: none; }
/* Material tab action buttons */
.material__tab-reviews__button,
.material__tab-questions__button { width: 287px; max-width: 100%; height: 54px; margin-bottom: 18px; }
.material__tab-questions__report { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.material__tab-questions__report svg { width: 20px; height: 20px; }

.app-table-container {
  width: 100%;
  overflow-x: auto;
}
.app-table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.app-table-container th,
.app-table-container td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.info-page-wrapp {
  font-family: "e-Ukraine Head", sans-serif;
  margin: 40px 0 70px;
}
.info-page-wrapp .info-page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  line-height: 45px;
  font-weight: 600;
  color: var(--dark-text-color);
}
.info-page-wrapp .info-page-text {
  padding: 24px 32px;
  margin-bottom: 32px;
}
.info-page-wrapp .info-page-text h4 {
  font-weight: 600;
}
.info-page-wrapp .info-page-text p,
.info-page-wrapp .info-page-text ul,
.info-page-wrapp .info-page-text li {
  font-size: 1.5rem;
}
.info-page-wrapp .info-page-text p:last-child {
  margin-bottom: 0;
}
.info-page-wrapp .info-page-text ul {
  list-style-position: inside;
}
.info-page-wrapp .info-page-text strong {
  font-weight: 600;
}
@media (max-width: 1024px) {
  .info-page-wrapp .info-page-title {
    font-size: 1.5rem;
  }
  .info-page-wrapp .info-page-text {
    padding: 24px 8px;
  }
  .info-page-wrapp .info-page-text p,
  .info-page-wrapp .info-page-text ul {
    font-size: 1.1rem;
  }
}

.sort-menu .q-item__label {
  font-weight: 400;
}
.sort-menu .q-item--active .q-item__label {
  font-weight: 500;
}

body.desktop .q-manual-focusable--focused > .q-focus-helper {
  background: #828282;
}

.app-header {
  z-index: 101;
  position: fixed;
  top: 9px;
  left: 0;
  width: 100%;
  transition: 0.5s;
}
.app-header.scrolling {
  top: 0;
  background: var(--brand-color);
  box-shadow: var(--box-shadow-header);
  border-bottom: 1px solid var(--background-color);
}
.app-header.scrolling .app-header__container {
  box-shadow: none;
}
.app-header a {
  color: inherit;
}
.app-header .app-logo {
  margin-right: 18px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.app-header .app-logo img {
  height: 34px;
}
@media all and (min-width: 1420px) {
  .app-header .w1420-mr {
    margin-right: 208px !important;
  }
}
.app-header__container {
  transition: 0.2s;
  width: 100%;
  background: var(--brand-color);
  color: var(--light-text-color);
  border-radius: 14px;
  box-shadow: var(--box-shadow-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}
.app-header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .app-header__actions a:hover {
    opacity: 0.8;
  }
}
.app-header__actions .hover-item {
  position: relative;
}
.app-header__actions-item {
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 400;
  min-width: 80px;
  position: relative;
}
.app-header__actions-item.user-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.app-header__actions-item.user-profile > svg {
  fill: var(--light-text-color);
  width: 26px;
  height: 26px;
}
@media all and (max-width: 1024px) {
  .app-header__actions-item.user-profile > svg {
    display: none;
  }
}
.app-header__actions-item.user-profile > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.app-header__actions-item__avatar {
  width: 28px;
  height: 28px;
  border-radius: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--tab-border-color);
}
.app-header__actions-item__icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.app-header__actions-item__icon img {
  width: 100%;
}
.app-header__actions-item__icon svg:not(.fill-svg) {
  stroke: var(--light-text-color);
}
.app-header__actions-item__icon svg.fill-svg {
  fill: var(--light-text-color);
}
.app-header__actions-item__badge {
  position: absolute;
  bottom: 0;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  background: var(--light-text-color);
  color: var(--brand-color);
  min-width: 17px;
  height: 17px;
  border-radius: 100%;
  border: 1px solid var(--brand-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1px 1px 1px 0;
}
.app-header__form {
  position: relative;
  border-radius: 24px;
  background: var(--background-card-color);
  display: flex;
  align-items: center;
  flex-grow: 1;
  max-width: 100%;
  margin: 0 40px 0 auto;
}
.app-header__form-input {
  border-radius: 24px;
  background: transparent;
  height: 50px;
  flex-grow: 1;
  padding: 0 10px 0 23px;
  color: var(--dark-text-color);
  font-size: 16px;
  font-weight: 400;
}
.app-header__form-input::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}
.app-header__form-button {
  flex-shrink: 0;
  border-radius: 50px;
  margin-right: 2px;
  background: var(--brand-color);
  color: var(--light-text-color);
  font-size: 16px;
  font-weight: 400;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 48px;
  min-width: 48px;
}
.app-header__form-button svg {
  stroke: var(--light-text-color);
}
.app-header .catalog-menu-item {
  position: relative;
  width: 180px;
  margin: 0 24px 0 0;
  flex-shrink: 0;
}
.app-header .catalog-menu-item > .catalog-menu-item-button {
  border-radius: 100px;
  background: var(--brand-card-color);
  box-shadow: var(--box-shadow-card);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.app-header .catalog-menu-item > .catalog-menu-item-button__mobile {
  display: none;
}
.app-header .catalog-menu-item > .catalog-menu-item-button svg {
  fill: var(--light-text-color);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .app-header .catalog-menu-item > .catalog-menu-item-button:hover {
    opacity: 0.8;
  }
}
.app-header .catalog-menu-item-wrapper {
  max-height: calc(100vh - 113px);
  position: fixed;
  left: 50%;
  top: 113px;
  display: none;
  z-index: 101;
  transform: translateX(-755px);
}
.app-header .catalog-menu-item-wrapper .catalog-menu {
  max-height: calc(100vh - 113px);
  overflow-y: auto;
}
@media all and (max-width: 1550px) {
  .app-header .catalog-menu-item-wrapper {
    transform: none;
    left: 20px;
  }
}
.app-header .catalog-menu-item-bg {
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}
.app-header .catalog-menu-item.active .catalog-menu-item-bg, .app-header .catalog-menu-item.active .catalog-menu-item-wrapper {
  display: block;
}
.app-header .catalog-menu-item.active > .catalog-menu-item-button {
  background: var(--light-text-color);
  color: var(--brand-card-color);
}
.app-header .catalog-menu-item.active > .catalog-menu-item-button svg {
  fill: var(--brand-card-color);
}
.app-header .dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 100;
  display: none;
  width: 214px;
  padding-top: 12px;
}
.app-header .dropdown-content {
  background: var(--brand-color);
  border-radius: 5px;
  box-shadow: var(--box-shadow-card);
}
.app-header .dropdown-content > a, .app-header .dropdown-content > span {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  transition: 0.3s;
  gap: 10px;
  position: relative;
  padding: 20px;
  cursor: pointer;
}
.app-header .dropdown-content > a:not(:last-child):after, .app-header .dropdown-content > span:not(:last-child):after {
  content: "";
  position: absolute;
  bottom: 0;
  background: #0d7a53;
  height: 1px;
  width: 74%;
  left: 50%;
  transform: translateX(-50%);
}
.app-header .dropdown-content > a svg, .app-header .dropdown-content > span svg {
  transition: 0.3s;
  width: 30px;
  height: 30px;
}
.app-header .dropdown-content > a svg:not(.fill-svg), .app-header .dropdown-content > span svg:not(.fill-svg) {
  stroke: var(--light-text-color);
}
.app-header .dropdown-content > a svg.fill-svg, .app-header .dropdown-content > span svg.fill-svg {
  fill: var(--light-text-color);
}
.app-header .dropdown-content > a span, .app-header .dropdown-content > span span {
  width: 30px;
}
@media (hover: hover) and (pointer: fine) {
  .app-header .dropdown-content > a:hover, .app-header .dropdown-content > span:hover {
    opacity: 0.7;
  }
}
@media (hover: hover) and (pointer: fine) {
  .app-header .hover-item:hover .dropdown {
    display: block;
  }
}
.app-header .mobile-search-icon {
  display: none;
  cursor: pointer;
}
.app-header .mobile-search-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--light-text-color);
}
@media (max-width: 1024px) {
  .app-header .app-header__actions-item span,
  .app-header .wish-item,
  .app-header .catalog-menu-item > .catalog-menu-item-button,
  .app-header .app-header__form {
    display: none;
  }
  .app-header .catalog-menu-item > .catalog-menu-item-button__mobile,
  .app-header .mobile-search-icon {
    display: block;
  }
  .app-header .app-logo img {
    height: 25px;
  }
  .app-header .app-header__container {
    padding: 4px 18px 5px;
  }
  .app-header .app-header__container .app-logo {
    order: 2;
    margin: auto;
  }
  .app-header .catalog-menu-item {
    order: 0;
    margin-right: 30px;
    width: 30px;
  }
  .app-header .mobile-search-icon {
    order: 1;
    width: 30px;
  }
  .app-header .mobile-search-icon svg {
    width: 30px;
    height: 30px;
  }
  .app-header .app-header__actions {
    order: 3;
    gap: 30px;
  }
  .app-header .app-header__actions-item {
    min-width: 30px;
  }
}
.app-header__signin {
  flex-direction: row;
}

.catalog-menu {
  padding: 32px;
  border-radius: 24px;
  background: var(--background-card-color);
  width: 338px;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
}
.catalog-menu svg {
  width: 30px;
  height: 30px;
}
.catalog-menu svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.catalog-menu svg.fill-svg {
  fill: var(--dark-text-color);
}
.catalog-menu ul {
  list-style: none;
  padding: 0;
}
.catalog-menu__list {
  display: flex;
  flex-direction: column;
  position: relative;
}
.catalog-menu__item {
  margin-bottom: 24px;
}
.catalog-menu__item-icon {
  margin-left: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.catalog-menu__item-label {
  margin-right: auto;
}
.catalog-menu__item-link {
  cursor: pointer;
}
.catalog-menu__item > a, .catalog-menu__item-link {
  display: flex;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: fit-content;
  color: var(--dark-text-color);
  text-decoration: none;
}
.catalog-menu__item > a span, .catalog-menu__item-link span {
  line-height: 19px;
}
@media (hover: hover) and (pointer: fine) {
  .catalog-menu__item > a:hover, .catalog-menu__item-link:hover {
    color: var(--dark-text-color);
  }
}

.catalog-menu .catalog-menu-item-button {
  padding: 16px 24px !important;
  width: fit-content;
  border-radius: 100px;
  background: var(--brand-card-color);
  color: var(--light-text-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  cursor: pointer;
  position: relative;
  z-index: 101;
  text-decoration: none;
}
.catalog-menu .catalog-menu-item-button span {
  font-size: 14px;
  line-height: 17px !important;
}
.catalog-menu .catalog-menu-item-button svg {
  fill: var(--light-text-color) !important;
  width: 24px;
  height: 24px;
  margin-right: 24px;
}

.catalog-menu .catalog-menu-item-button:hover {
  opacity: 0.9;
  color: var(--light-text-color) !important;
}

.item-alse {
  margin-left: 24px;
  display: none;
}
.catalog-menu.alse-open .item-alse {
  display: list-item;
}

.alse-show-btn svg {
  height: 24px;
  width: 24px;
  margin-bottom: -4px;
}

.alse-show-active svg {
  transform: rotate(180deg);
}

/* Mobile catalog menu: full-height left drawer with all categories (port of CatalogMenu.vue mobile) */
.catalog-menu-item-wrapper-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1001;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.catalog-menu-item-wrapper-close svg { width: 22px; height: 22px; }
.animate-from-left {
  transform: translateX(-70%);
  animation: catalogSlideIn 0.2s ease-out forwards;
}
@keyframes catalogSlideIn { to { transform: translateX(0); } }
.animate-to-left { animation: catalogSlideOut 0.2s ease-in forwards; }
@keyframes catalogSlideOut { to { transform: translateX(-70%); } }
/* Base: top-button mobile label/icon hidden on desktop (mobile override is in
   the max-width:1024 block below, which must win, so this base comes first). */
.catalog-menu-item-button__label--mobile { display: none; }
.catalog-menu-item-button__icon--mobile { display: none; }
@media all and (max-width: 1024px) {
  .app-header .catalog-menu-item-wrapper {
    width: 70%;
    max-width: 320px;
    height: 100%;
    left: 0;
    top: 0;
    max-height: 100%;
  }
  .app-header .catalog-menu-item-wrapper .catalog-menu {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 0;
    padding-top: 52px;
  }
  .app-header .catalog-menu-item-wrapper .catalog-menu a > svg { display: none; }
  .catalog-menu-item-wrapper-close { display: flex; }
  .item-alse { display: list-item; margin-left: 0; }
  /* Hide the whole "Інші..." toggle row on mobile (all subjects already shown),
     not just its inner button — otherwise the empty <li> leaves a phantom gap. */
  .alse-toggle-item { display: none; }
  /* Top button becomes "Фільтрувати" (with a funnel icon) on mobile. */
  .catalog-menu-item-button__label--desktop { display: none; }
  .catalog-menu-item-button__label--mobile { display: inline; }
  .catalog-menu-item-button__icon--desktop { display: none; }
  .catalog-menu-item-button__icon--mobile { display: flex; }
}

.app-home__main-section {
  padding: 21px 0 58px;
  display: flex;
  gap: 16px;
}
@media all and (max-width: 1024px) {
  .app-home__main-section {
    padding-top: 17px;
  }
}
.app-home__main-section-right-side {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.app-home__catalog-section {
  margin-bottom: 80px;
}
.app-home__catalog-section .app-title-medium {
  font-size: 26px;
  line-height: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.app-home__catalog-section .app-title-medium h2 {
  font-size: inherit;
}
.app-home__catalog-section .app-title-medium a {
  font-size: inherit;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-color);
}
.app-home__catalog-section .app-title-medium .app-more-materials {
  margin-left: auto;
  font-size: 14px;
  line-height: 17px;
}

@media all and (max-width: 1024px) {
  .app-home__main-section__catalog-menu {
    display: none;
  }
}
.main-slider {
  width: 100%;
  height: 397px;
  margin-bottom: 23px;
  background: none;
}
@media all and (max-width: 900px) {
  .main-slider {
    height: 455px !important;
    margin-bottom: 66px;
  }
}
.main-slider__item {
  position: relative;
  height: 100%;
  color: var(--light-text-color);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}
@media all and (max-width: 900px) {
  .main-slider__item {
    background: var(--background-card-color);
    border-radius: 24px;
    padding: 10px 10px 89px;
  }
}
.main-slider__item-wrapper {
  height: 100%;
  position: relative;
  overflow: hidden;
}
@media all and (max-width: 900px) {
  .main-slider__item-wrapper {
    border-radius: 14px;
  }
}
.main-slider__item-wrapper:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--big-gradient);
  pointer-events: none;
}
@media all and (max-width: 900px) {
  .main-slider__item-wrapper:after {
    background: var(--big-gradient-mobile);
  }
}
.main-slider__item-wrapper > img {
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
}
.main-slider__item-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 60px;
}
@media all and (max-width: 900px) {
  .main-slider__item-content {
    height: 455px !important;
    justify-content: flex-start;
    padding: 22px 10px;
  }
}
.main-slider__item-title {
  font-size: 38px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}
@media all and (max-width: 900px) {
  .main-slider__item-title {
    font-size: 28px;
    padding: 10px 24px;
    width: 60%;
  }
}
@media all and (max-width: 400px) {
  .main-slider__item-title {
    width: 100%;
  }
}
.main-slider__item h1 {
  font-size: 18px;
}
.main-slider__item-description {
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  max-width: 500px;
  margin-bottom: 32px;
}
@media all and (max-width: 900px) {
  .main-slider__item-description {
    font-size: 18px;
    padding: 0 24px;
  }
}
.main-slider__item-button {
  width: 220px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 24px;
  background: var(--light-text-color);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 30px;
  color: var(--dark-text-color);
  text-decoration: none;
}
.main-slider__item-button svg {
  stroke: var(--dark-text-color);
}
@media all and (max-width: 900px) {
  .main-slider__item-button {
    margin-top: auto;
    border-radius: 12px;
    background: var(--brand-color);
    width: 100%;
    color: var(--light-text-color);
    gap: 7px;
    justify-content: center;
  }
  .main-slider__item-button svg {
    stroke: var(--light-text-color);
  }
}

.upcoming-materials {
  margin-top: auto;
}
.upcoming-materials__title {
  margin-bottom: 11px;
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
}
@media all and (max-width: 1024px) {
  .upcoming-materials__title {
    font-size: 25px;
    line-height: 37px;
    text-align: center;
    margin-bottom: 26px;
  }
}
.upcoming-materials__viewport { overflow: visible; }
.upcoming-materials__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.upcoming-materials__dots { display: none; }
/* ≤1400px: one news post per slide, swipeable, dash dots (port of q-carousel) */
@media all and (max-width: 1400px) {
  .upcoming-materials__viewport { overflow: hidden; }
  .upcoming-materials__list {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    transition: transform 0.35s ease;
    will-change: transform;
  }
  .upcoming-materials__item { flex: 0 0 100%; }
  .upcoming-materials__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
  }
  .upcoming-materials__dot {
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: #09976475;
    cursor: pointer;
    transition: background 0.2s;
  }
  .upcoming-materials__dot.is-active { background: var(--brand-color); }
}

/* News item (port of UpcomingMaterialItem.vue) */
.upcoming-materials__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand-color);
  height: 248px;
}
.upcoming-materials__item:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--small-gradient);
  z-index: 1;
  pointer-events: none;
}
.upcoming-materials__item .img {
  width: 45%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  max-width: none;
  opacity: 0.7;
}
.upcoming-materials__item .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upcoming-materials__content {
  overflow-wrap: break-word;
  min-width: 180px;
  width: 55%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--light-text-color);
  padding: 21px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.upcoming-materials__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}
.upcoming-materials__link {
  color: var(--light-text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.upcoming-materials__link span {
  text-decoration-line: underline;
  text-decoration-skip-ink: none;
}
.upcoming-materials__link svg {
  stroke: var(--light-text-color);
}
@media all and (max-width: 1024px) {
  .upcoming-materials__content {
    padding: 26px 16px 16px 16px;
  }
  .upcoming-materials__label {
    font-size: 14px;
    line-height: 17px;
  }
  .upcoming-materials__link {
    font-size: 14px;
    line-height: 17px;
    gap: 4px;
  }
}

.idea-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  border-radius: 24px;
  background: var(--colorful-background-card-color);
  padding: 40px 65px;
  padding-right: 250px;
  margin-bottom: 80px;
}
@media all and (max-width: 1150px) {
  .idea-highlight {
    padding: 314px 25px 42px;
    justify-content: center;
    flex-direction: column;
  }
}
.idea-highlight__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  max-width: 737px;
  position: relative;
}
@media all and (max-width: 1150px) {
  .idea-highlight__title {
    max-width: 100%;
    font-size: 22px;
    padding: 22px 0;
  }
}
.idea-highlight img {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  width: 250px;
}
@media all and (max-width: 1150px) {
  .idea-highlight img {
    display: none;
  }
}
.idea-highlight__button {
  border-radius: 24px;
  background: var(--dark-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: -0.04em;
  color: var(--light-text-color);
  gap: 24px;
  display: flex;
  align-items: center;
  padding: 16px 24px;
  width: 198px;
  height: 56px;
  flex-shrink: 0;
  text-decoration: none;
}
.idea-highlight__button svg {
  stroke: var(--light-text-color);
}
@media all and (max-width: 1150px) {
  .idea-highlight:after {
    content: "";
    position: absolute;
    top: -106px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    width: 413px;
    height: 441.811px;
    background: url("/src/assets/images/bg/vecteezy_idea-light-isolated-on-transparent-background.png") center no-repeat;
    pointer-events: none;
  }
  .idea-highlight__button {
    width: 324px;
    max-width: 90%;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
}

.join-us-banner {
  border-radius: 24px;
  background: var(--colorful-background-card-color) url("/src/assets/images/bg/join-us-banner.png") no-repeat left center/auto 100%;
  padding: 40px 65px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 110px;
}
@media all and (max-width: 1450px) {
  .join-us-banner {
    background-position: -100px center;
  }
}
@media all and (max-width: 1350px) {
  .join-us-banner {
    background-position: -250px center;
  }
}
@media all and (max-width: 1200px) {
  .join-us-banner {
    background: var(--colorful-background-card-color);
    position: relative;
    padding: 243px 28px 58px;
    margin: 239px 0 130px;
    display: block;
  }
}
.join-us-banner__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  max-width: 610px;
  letter-spacing: -0.04em;
}
@media all and (max-width: 1200px) {
  .join-us-banner__title {
    text-align: center;
    max-width: 100%;
    font-size: 24px;
    line-height: 35px;
  }
}
.join-us-banner__button {
  width: 195px;
  height: 56px;
  padding: 16px 25px;
  flex-shrink: 0;
  border-radius: 50px;
  background: var(--light-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: -0.04em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--dark-text-color);
  text-decoration: none;
}
.join-us-banner__button a {
  color: var(--dark-text-color);
  text-decoration: none;
}
.join-us-banner__button svg {
  stroke: var(--dark-text-color);
}
@media all and (max-width: 1200px) {
  .join-us-banner:after {
    content: "";
    width: 387px;
    height: 387px;
    max-width: 100%;
    background: url("/src/assets/images/bg/vecteezy_heap-of-puzzle-pieces-3d.png") center no-repeat;
    position: absolute;
    top: -137px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .join-us-banner__button {
    max-width: 90%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
  }
}

.app-catalog {
  margin-bottom: 40px;
}
.app-catalog__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media all and (max-width: 1200px) {
  .app-catalog__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media all and (max-width: 900px) {
  .app-catalog__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 650px) {
  .app-catalog__list {
    grid-template-columns: repeat(1, 1fr);
  }
}
.app-catalog__list.has-three-items {
  grid-template-columns: repeat(3, 1fr);
}
@media all and (max-width: 1200px) {
  .app-catalog__list.has-three-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 650px) {
  .app-catalog__list.has-three-items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.app-catalog__item {
  width: 100%;
  border-radius: 24px;
  background: var(--background-card-color);
  padding: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.app-catalog__item-image {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  flex-shrink: 0;
  position: relative;
}
.app-catalog__item-image img {
  width: 100%;
}
.app-catalog__item-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 18px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.app-catalog__item-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  background: #d4d4d4;
}
.app-catalog__item-main-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0 16px;
}
.app-catalog__item-type {
  position: absolute;
  top: 19px;
  left: 16px;
  border-radius: 60px;
  color: var(--light-text-color);
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 14px;
  padding: 8px 12px;
  text-transform: uppercase;
}
.app-catalog__item-label {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.04em;
  display: inline-block;
  margin-bottom: 16px;
  word-break: break-word;
  color: var(--dark-text-color);
  text-decoration: none;
}
.app-catalog__item-author {
  color: rgba(120, 120, 120, 0.83);
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  margin-top: auto;
}
.app-catalog__item-author a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}
.app-catalog__item-author img {
  border-radius: 100%;
  height: 28px;
}
.app-catalog__item-footer {
  margin-bottom: 8px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.app-catalog__item-price {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: var(--brand-color);
  letter-spacing: -0.04em;
}
.app-catalog__item-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.app-catalog__item-info__item {
  font-size: 14px;
  line-height: 14px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.app-catalog__item-info__item-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-catalog__item-info__item-icon svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.app-catalog__item-info__item-icon svg.fill-svg {
  fill: var(--dark-text-color);
}
.app-catalog__item-extra {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--background-card-color);
  border-radius: 0 0 24px 24px;
  padding: 0 16px 32px;
  box-shadow: var(--box-shadow-card-bottom);
  display: none;
  z-index: 1;
}
@media all and (max-width: 1024px) {
  .app-catalog__item-extra {
    position: static;
    display: block;
    box-shadow: none;
    padding: 0 20px 16px;
  }
  /* The extra block is now in normal flow (not the desktop hover-dropdown), so the
     seam-mask pseudo-element would otherwise paint a stray white strip above the card. */
  .app-catalog__item-extra:after { display: none; }
}
.app-catalog__item-extra__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 21px;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(35, 55, 74, 0.2);
}
.app-catalog__item-extra__tag {
  word-break: break-word;
  max-width: 100%;
  text-align: center;
  padding: 5px 15px 5px 16px;
  flex-shrink: 0;
  background: var(--brand-color);
  color: var(--light-text-color);
  font-size: 12px;
  font-weight: 400;
  line-height: 21px;
  border-radius: 60px;
  border: 0.5px solid #efefef;
}
.app-catalog__item-extra__description {
  font-size: 14px;
  font-weight: 200;
  line-height: 21px;
  margin-bottom: 21px;
  padding: 0 4px;
  word-break: break-word;
}
.app-catalog__item-extra .app-button {
  font-weight: 400;
  height: 55px;
  width: calc(100% - 8px);
}
.app-catalog__item-extra:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  transform: translateY(-24px);
  background: var(--background-card-color);
}
.app-catalog__item:hover .app-catalog__item-extra {
  display: block;
}

.app-cookies {
  z-index: 999999;
  position: fixed;
  margin-right: 2%;
  margin-left: 2%;
  margin-bottom: 2%;
  bottom: 0;
  right: 0;
  max-width: 425px;
  width: 96%;
  background: #fff;
  border: 8px solid var(--brand-color);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.app-cookies .app-cookies__text {
  margin-bottom: 24px;
}
.app-cookies .app-cookies__text a {
  color: var(--brand-color);
  font-weight: 400;
}
.app-cookies .app-cookies__buttons {
  display: flex;
  justify-content: center;
}

/* ---------- Footer (port of Footer.vue) ---------- */
.app-footer__container {
  border-radius: 24px 24px 0 0;
  background: var(--background-footer-color);
  padding: 100px 100px 38px;
  color: var(--light-text-color);
}
.app-footer__container .app-logo {
  display: flex;
  margin-bottom: 16px;
}
.app-footer__container .app-logo img {
  height: 68px;
  padding: 10px;
}
.app-footer a {
  color: var(--light-text-color);
}
.app-footer__description {
  max-width: 100%;
  font-size: 12px;
  line-height: 19px;
}
.app-footer__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  font-weight: 300;
  padding: 0 0 41px;
}
.app-footer svg:not(.fill-svg) {
  stroke: var(--light-text-color);
}
.app-footer svg.fill-svg {
  fill: var(--light-text-color);
}
.app-footer__col {
  width: fit-content;
}
.app-footer__nav-title {
  font-size: 18px !important;
  line-height: 25px;
  letter-spacing: 0.96px;
  margin-bottom: 12px;
  font-weight: 400;
}
.app-footer__media {
  display: flex;
  gap: 30px;
}
.app-footer__col-1 {
  margin-right: 100px;
  max-width: 272px;
}
.app-footer__col-3 nav,
.app-footer__col-4 nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}
.app-footer__col-3 nav .app-footer__nav-title,
.app-footer__col-4 nav .app-footer__nav-title {
  margin-bottom: 4px;
}
.app-footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 67px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  border-top: 1px solid #ffffff17;
}
.app-footer__copyright span {
  opacity: 0.54;
}
.app-footer__support {
  font-size: 15px;
  font-weight: 300;
}
.app-footer__support b {
  font-weight: 500;
}
.app-footer__support a {
  text-decoration: underline;
}
.app__address {
  margin-top: 8px;
}
.app__opacity {
  opacity: 0.64;
}
@media all and (min-width: 1101px) {
  .app-footer__col-1 {
    margin-top: -4px !important;
    width: 25%;
  }
}
@media all and (max-width: 1100px) {
  .app-footer__row {
    flex-direction: column;
    gap: 24px;
  }
  .app-footer__col {
    width: 100%;
  }
  .app-footer__col-1 {
    margin-right: 0;
  }
}
@media all and (max-width: 900px) {
  .app-footer__container {
    padding: 24px 27px 22px;
  }
  .app-footer__container .app-logo img {
    height: 54px;
  }
  .app-footer__description {
    margin: 0 0 24px;
  }
  .app-footer__copyright {
    padding-top: 26px;
  }
}

/* ---------- Header mobile search active state (port of Header.vue .activeSearch) ---------- */
.activeSearch .app-header__form {
  margin-top: 7px;
  margin-bottom: 7px;
  display: flex !important;
  height: 27px;
  margin-right: 18px;
}
.activeSearch .app-header__form .app-header__form-input {
  font-size: 12px;
  max-height: 100%;
  width: 100px;
}
.activeSearch .app-header__form .app-header__form-button {
  height: 23px;
  min-width: 23px;
  margin-right: 2px;
}
.activeSearch .app-header__form .app-header__form-button svg {
  width: 16px;
}
.activeSearch .app-logo {
  display: none;
}
.activeSearch .mobile-search-icon {
  display: none;
}
.activeSearch .actions-item-cart {
  display: none;
}
.activeSearch .catalog-menu-item {
  margin-right: 18px;
}

/* Hide header catalog button on routes with hideCatalogMenu (e.g. home), desktop only */
.catalog-menu-item.catalog-hidden {
  display: none;
}
@media (max-width: 1024px) {
  .catalog-menu-item.catalog-hidden {
    display: block;
  }
}

/* ---------- Mobile catalog-menu slide animations (port of Header.vue) ---------- */
.animate-from-left {
  transform: translateX(-70%);
  animation: slideInFromLeft 0.2s ease-out forwards;
}
@keyframes slideInFromLeft {
  to {
    transform: translateX(0);
  }
}
.animate-to-left {
  animation: slideOutToLeft 0.2s ease-in forwards;
}
@keyframes slideOutToLeft {
  to {
    transform: translateX(-70%);
  }
}

/* ============================================================
   Catalogue page (Catalogue.vue + Breadcrumbs + Filter + CatalogSort + Pagination)
   ============================================================ */
.catalogue-page__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 77px;
}
@media all and (max-width: 1024px) {
  .catalogue-page__row {
    display: block;
    position: relative;
  }
}
.catalogue-page__content {
  flex-grow: 1;
  min-width: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 26px 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}
@media all and (max-width: 1024px) {
  .breadcrumbs {
    padding: 26px 0;
  }
}
.breadcrumbs__icon {
  stroke: var(--label-color);
}
.breadcrumbs__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: inherit;
  margin-bottom: 0;
}
.breadcrumbs a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--label-color);
}
@media (hover: hover) and (pointer: fine) {
  .breadcrumbs a:hover {
    color: var(--dark-text-color);
  }
  .breadcrumbs a:hover svg {
    stroke: var(--dark-text-color);
  }
}
.breadcrumbs span {
  font-weight: 400;
}
.breadcrumbs__separator svg {
  stroke: var(--light-label-color);
}
/* One-line breadcrumbs: keep everything on a single row, truncating the long
   parts (e.g. the material name) with an ellipsis. The full text stays in the
   DOM (CSS-only clip), so it's SEO-safe. */
.breadcrumbs--one-line {
  flex-wrap: nowrap;
}
.breadcrumbs--one-line .breadcrumbs__separator { flex: 0 0 auto; }
.breadcrumbs--one-line > .breadcrumbs__link {
  flex: 0 1 auto;
  min-width: 0;
}
.breadcrumbs--one-line > .breadcrumbs__link:first-child { flex: 0 0 auto; } /* Головна never shrinks */
.breadcrumbs--one-line > a.breadcrumbs__link:not(:first-child),
.breadcrumbs--one-line > span.breadcrumbs__link {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 20px;
}

/* Filter sidebar */
.app-filter {
  width: 355px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--background-card-color);
  padding: 21px 22px 24px;
}
.app-filter__title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
  gap: 7px;
}
.app-filter__title svg {
  stroke: var(--dark-text-color);
}
.app-filter__block {
  padding: 24px 0 20px;
}
.app-filter__block:first-child {
  padding-top: 18px;
}
.app-filter__block:not(:first-child) {
  border-top: 1px solid var(--sort-option-bg-color);
}
.app-filter__block-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.app-filter__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.app-filter__row.range-inputs {
  gap: 12px;
  margin: 4px 0 16px;
}

/* Dual-handle price slider (port of the Quasar q-range look) */
.price-range {
  position: relative;
  height: 36px;
  margin: 24px 6px 6px;
}
.price-range__rail {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: var(--tab-border-color, #d3d3d3);
  border-radius: 4px;
}
.price-range__fill {
  position: absolute;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--brand-color);
  border-radius: 4px;
}
/* Two range inputs overlaid; rail is visual, only the thumbs catch pointer events. */
.price-range__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.price-range__thumb:focus { outline: none; }
.price-range__thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.price-range__thumb::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-color);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.price-range__thumb::-moz-range-track { background: transparent; }
.price-range__bubble {
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--brand-color);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.price-range.is-active .price-range__bubble { opacity: 1; }
[data-catalog-results].is-loading { opacity: 0.55; transition: opacity 0.15s; pointer-events: none; }
.app-filter__row.range-inputs input {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 200;
  line-height: 24px;
  border-radius: 3px;
  border: 1px solid var(--sort-option-bg-color);
}
.app-filter__row.range-inputs input::placeholder {
  color: var(--light-label-color);
}
.app-filter__col {
  width: calc(50% - 8px);
}
@media all and (min-width: 1024px) {
  .app-filter__col {
    white-space: nowrap;
  }
}
.app-filter .app-button {
  width: 260px;
}
.app-filter hr {
  height: 1px;
  background: none;
  margin: 8px 0;
}
/* Mobile filter modal (port of Filter.vue isOpenFilterMobile) */
.app-filter__bg { display: none; }
.app-filter__close { display: none; }
.app-filter__title--modal { display: none; }
@media all and (max-width: 1024px) {
  .app-filter {
    width: 100%;
    height: 56px;
    padding: 13px 23px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 34px;
  }
  .app-filter__title { font-size: 18px; }
  .app-filter__title span { display: none; }
  .app-filter__content { display: none; }

  .app-filter.is-open .app-filter__bg {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.63);
    z-index: 999;
  }
  .app-filter.is-open .app-filter-wrapper-mobile {
    position: fixed;
    max-height: 90%;
    width: 90%;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    background: var(--background-card-color);
    padding: 21px 22px 24px;
    z-index: 1000;
    overflow-y: auto;
  }
  .app-filter.is-open .app-filter__content { display: block; padding-top: 33px; }
  .app-filter.is-open .app-filter__title--trigger { display: none; }
  .app-filter.is-open .app-filter__title--modal {
    display: flex;
    position: fixed;
    z-index: 99999;
    top: 70px;
    left: 5%;
    right: 5%;
    background: var(--background-card-color);
    border-radius: 14px 14px 0 0;
    padding: 21px;
  }
  .app-filter.is-open .app-filter__title--modal span { display: inline; }
  .app-filter.is-open .app-filter__close {
    display: flex;
    margin-left: auto;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .app-filter__close svg { width: 24px; height: 24px; stroke: var(--dark-text-color); }
}

/* Sort control */
.catalog-sort {
  display: flex;
  align-items: center;
  border-radius: 14px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  padding: 19px;
  margin-bottom: 24px;
}
.catalog-sort__label {
  font-size: 18px;
  font-weight: 400;
  margin-right: 16px;
}
/* Mobile: sort sits in the top-right of the filter bar (port of CatalogSort is-modal-mobile) */
@media all and (max-width: 1024px) {
  .catalog-sort {
    position: absolute;
    top: 9px;
    right: 23px;
    z-index: 5;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .catalog-sort__label { display: none; }
}
.app-sort-select {
  width: 200px;
  height: 42px;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  background: var(--background-card-color);
  color: var(--dark-text-color);
  cursor: pointer;
}

/* Styled sort dropdown (replaces native <select>; port of the q-select look).
   Own class prefix `sortdd` to avoid the existing .app-select::after arrow. */
.sortdd { position: relative; display: inline-block; }
.sortdd__control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  background: var(--background-card-color);
  color: var(--dark-text-color);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.sortdd__value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sortdd__arrow { display: inline-flex; flex-shrink: 0; transition: transform 0.2s; }
.sortdd__arrow svg { fill: var(--dark-text-color); }
.sortdd.is-open .sortdd__arrow { transform: rotate(180deg); }
.sortdd__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  min-width: 100%;
  width: max-content;
  max-width: 320px;
  background: var(--background-card-color);
  border-radius: 10px;
  box-shadow: var(--box-shadow-card);
}
.sortdd__list[hidden] { display: none; }
.sortdd__option {
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--dark-text-color);
  cursor: pointer;
  white-space: nowrap;
}
.sortdd__option:hover { background: #f1f1f1; }
.sortdd__option.is-selected { color: var(--brand-color); }
@media all and (max-width: 1024px) {
  .sortdd__control { height: 36px; }
}
@media all and (max-width: 1024px) {
  .catalog-sort {
    background: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 16px;
  }
  .app-sort-select {
    height: 32px;
  }
}

/* Pagination */
.pagination {
  margin-top: 100px;
  text-align: center;
  width: 100%;
}
.pagination .app-button {
  display: flex;
  margin: 0 auto 38px;
  text-decoration: none;
}
.pagination__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
}
.pagination__buttons a,
.pagination__buttons span {
  display: flex;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  font-size: 18px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--dark-text-color);
}
.pagination__buttons a.disabled {
  opacity: 0.4;
  pointer-events: none;
  background: #e0e0e0;
}
.pagination__buttons .dots {
  background: transparent !important;
  box-shadow: none !important;
  cursor: default;
  color: #000;
  align-items: flex-end;
  padding-bottom: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .pagination__buttons a:not(.disabled):not(.dots):hover {
    background: var(--brand-color);
    color: var(--light-text-color);
    transform: translateY(-1px);
  }
}
.pagination__buttons .active {
  color: var(--light-text-color) !important;
  background: var(--brand-color) !important;
}
.pagination__buttons .nav-arrow {
  width: 44px;
  font-size: 20px;
  font-weight: bold;
  background: #f8f9fa;
}

/* ============================================================
   Material page (Material.vue + Gallery/Info/Reviews/Questions/Share)
   ============================================================ */
.material-page .app-button {
  height: 58px;
}
@media all and (max-width: 1024px) {
  .material__blocks-wrapper {
    display: flex;
    flex-direction: column;
  }
}
.material__title {
  font-size: 30px;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 38px;
  width: 100%;
  display: block;
}
.material__title .additional {
  font-size: 16px;
  font-weight: 200;
  line-height: 16px;
  color: gray;
  display: block;
  text-transform: lowercase;
}
.material__title__mobile {
  display: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 15px;
}
.material__title__mobile .additional {
  font-size: 0.8em;
  font-weight: 200;
  line-height: 16px;
  color: gray;
  display: block;
  text-transform: lowercase;
}
@media all and (max-width: 1024px) {
  .material__title {
    display: none;
  }
  .material__title__mobile {
    display: block;
  }
}
.material__top {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 58px;
}
@media all and (max-width: 1024px) {
  .material__top {
    flex-direction: column;
    gap: 0;
  }
}
.material__top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 98px;
}
@media all and (max-width: 1150px) {
  .material__top-row {
    gap: 28px;
  }
}
@media all and (max-width: 550px) {
  .material__top-row {
    flex-direction: column;
  }
}
.material__price-block {
  width: 298px;
}
@media all and (max-width: 1150px) {
  .material__price-block {
    width: 250px;
  }
}
@media all and (max-width: 550px) {
  .material__price-block {
    width: 100%;
  }
  .material__price-block .app-button {
    width: 100%;
  }
}
.material__info-item {
  line-height: normal;
}
.material__info-item:not(:last-child) {
  margin-bottom: 30px;
}
.material__info-item-label {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 5px;
}
.material__info-item-value {
  font-size: 20px;
  font-weight: 500;
}
.material__info-item-value .tag {
  border-radius: 60px;
  background: var(--tag-color);
  padding: 5px 20px;
  color: var(--light-text-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.material__price {
  margin-bottom: 30px;
}
.material__price-value {
  font-size: 40px;
  font-weight: 500;
  line-height: 53px;
}
.material__price-free {
  color: green;
  font-weight: 500;
}
.material__not-for-sale {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: var(--danger-color);
}
.material__cart {
  margin-bottom: 30px;
}
.material__share {
  margin-bottom: 40px;
}
.material__shareFB img {
  width: 20px;
  height: auto;
}
.material__author-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 16px;
  line-height: 21px;
  text-decoration: none;
  color: inherit;
}
.material__author-label {
  margin-bottom: 10px;
}
.material__author-avatar {
  border-radius: 100%;
  width: 60px;
  height: 60px;
}
.material__author-name {
  font-weight: 400;
  margin-bottom: 2px;
}
.material__author-followers {
  color: var(--date-color);
  font-weight: 200;
}

/* Gallery */
.gallery-section {
  width: 482px;
  flex-shrink: 0;
  position: relative;
}
.gallery-section .material-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 18px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
@media all and (max-width: 1024px) {
  .gallery-section {
    width: 100%;
    margin-bottom: 40px;
  }
}
.info-section {
  flex-grow: 1;
  padding-right: 98px;
  min-width: 0;
}
@media all and (max-width: 1300px) {
  .info-section {
    padding-right: 0;
  }
}
@media all and (max-width: 1024px) {
  .info-section {
    width: 100%;
  }
}
.gallery {
  width: 100%;
}
.gallery .q-carousel {
  border-radius: 14px;
  height: 482px;
  overflow: hidden;
  position: relative;
}
.gallery .q-carousel__slide {
  height: 100%;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  background-color: #747474;
}
@media all and (max-width: 1024px) {
  .gallery .q-carousel {
    height: 352px;
  }
}
.gallery .gallery-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  padding: 8px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery .gallery-controls button {
  background: transparent;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  cursor: pointer;
}
.gallery .gallery-controls button svg {
  fill: var(--light-text-color);
  width: 22px;
  height: 22px;
}
.gallery .thumbnails-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  white-space: nowrap;
  max-width: 100%;
  scrollbar-width: none;
}
.gallery .thumbnails-container::-webkit-scrollbar {
  display: none;
}
.gallery .thumbnail {
  width: 40px;
  height: 44px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  border-bottom: 4px solid transparent;
  flex-shrink: 0;
}
.gallery .thumbnail img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 1px;
}
.gallery .thumbnail.active {
  border-color: var(--background-card-color);
}
.gallery .thumbnail:hover {
  transform: scale(1.05);
}

/* Tabs */
.material__tabs {
  width: 100%;
  display: flex;
  border-radius: 14px;
  background: var(--tab-bg-color);
  box-shadow: var(--box-shadow-card);
  overflow: hidden;
  margin-bottom: 26px;
}
.material__tab {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: normal;
  padding: 25px 40px;
  border-right: 1px solid var(--tab-border-color);
  background: var(--tab-bg-color);
  cursor: pointer;
}
.material__tab svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.material__tab svg.fill-svg {
  fill: var(--dark-text-color);
}
.material__tab svg path.stroke {
  stroke: var(--dark-text-color);
}
.material__tab.active {
  background: var(--background-card-color);
}
@media (hover: hover) and (pointer: fine) {
  .material__tab:hover {
    background: var(--background-card-color);
  }
}
@media all and (max-width: 1150px) {
  .material__tab {
    padding: 20px;
  }
}
@media all and (max-width: 1024px) {
  .material__tabs {
    background: none;
    box-shadow: none;
    flex-direction: column;
    gap: 25px;
    border-radius: 0;
    border-top: 1px solid var(--sort-option-bg-color);
    padding: 17px 0 23px;
  }
  .material__tab {
    background: none;
    border: 0;
    padding: 0;
  }
  .material__tab.active {
    background: none;
    color: var(--brand-color);
  }
  .material__tab.active svg:not(.fill-svg) {
    stroke: var(--brand-color);
  }
  .material__tab.active svg.fill-svg {
    fill: var(--brand-color);
  }
}
.material__tab-content {
  margin-bottom: 90px;
  margin-top: 50px;
}
.material__tab-content.bg-block {
  background: var(--background-card-color);
  border-radius: 14px;
  box-shadow: var(--box-shadow-card);
  padding: 50px;
  margin-top: 0;
}
@media all and (max-width: 1024px) {
  .material__tab-content.bg-block {
    padding: 60px 0 43px;
    box-shadow: none;
    border-radius: 0;
    position: relative;
  }
  /* Extend the white background to the viewport edges (full-bleed) while the text
     keeps the container's 20px side padding — port of the bg-block :before/:after. */
  .material__tab-content.bg-block::before,
  .material__tab-content.bg-block::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background: var(--background-card-color);
  }
  .material__tab-content.bg-block::before { left: -20px; }
  .material__tab-content.bg-block::after { right: -20px; }
}
.material__tab-title {
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  gap: 10px;
  margin-bottom: 25px;
}
.material__tab-title svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.material__tab-title svg.fill-svg {
  fill: var(--dark-text-color);
}
.material__tab-title svg path.stroke {
  stroke: var(--dark-text-color);
}
.description {
  white-space: pre-line;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  word-break: break-word;
}
@media all and (max-width: 1024px) {
  .description {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Reviews */
.material__tab-reviews__average-rate {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}
.material__tab-reviews__average-rate span {
  color: var(--tag-color);
}
.material__tab-reviews__subtitle {
  color: var(--date-color);
  font-size: 14px;
  font-weight: 200;
  line-height: 21px;
  margin-bottom: 14px;
}
.material__tab-reviews__item {
  position: relative;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  padding: 17px 20px 20px 14px;
  border-radius: 7px;
  border: 1px solid #c2c2c2;
}
.material__tab-reviews__item:not(:last-child) {
  margin-bottom: 37px;
}
.material__tab-reviews__text {
  margin-bottom: 0;
}
.material__tab-reviews__rate {
  position: absolute;
  top: 22px;
  right: 39px;
  width: 89px;
  height: 19px;
  background: var(--rate-background);
  border-radius: 10px;
  padding: 2px;
}
.material__tab-reviews__rate-status {
  height: 100%;
  background: var(--rate-color);
}
.material__tab-reviews__rate:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/src/assets/images/bg/rate.svg") 100% no-repeat;
  border-radius: 4px;
}
.material__tab-reviews__person,
.material__tab-questions__person {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.material__tab-reviews__person-avatar,
.material__tab-questions__person-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}
.material__tab-reviews__person-name,
.material__tab-questions__person-name {
  font-size: 14px;
  font-weight: 500;
}
.material__tab-reviews__person-date,
.material__tab-questions__person-date {
  color: var(--date-color);
  font-size: 12px;
  font-weight: 200;
}

/* Questions */
.material__tab-questions__item {
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  padding: 17px 20px 20px 14px;
  border-radius: 7px;
  border: 1px solid #c2c2c2;
}
.material__tab-questions__item:not(:last-child) {
  margin-bottom: 37px;
}
.material__tab-questions__text {
  margin-bottom: 17px;
}
.material__tab-questions__answer {
  border-radius: 4px;
  background: var(--background-color);
  padding: 7px 186px 12px 15px;
  margin-left: 6px;
}
@media all and (max-width: 1024px) {
  .material__tab-questions__answer {
    margin-left: 0;
  }
}
.material__tab-questions__answer-title {
  font-weight: 500;
  text-transform: uppercase;
}

/* Avatar default (AvatarDefaultIcon.vue) */
.avatar-default-icon {
  background: var(--tab-border-color);
  border-radius: 100%;
  height: 28px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.avatar-default-icon span {
  font-size: 12px;
  line-height: 1em;
}
.avatar-default-icon.avatar-medium-size {
  width: 60px;
  height: 60px;
}
.avatar-default-icon.avatar-medium-size span {
  font-size: 22px;
}
.avatar-default-icon.avatar-large-size {
  height: 94px;
  width: 94px;
}
.avatar-default-icon.avatar-large-size span {
  font-size: 36px;
}

/* ============================================================
   Blog (Blog.vue + BlogPost.vue)
   ============================================================ */
.info-page-wrapp {
  padding-top: 40px;
  padding-bottom: 80px;
}
.info-page-title {
  font-size: 3rem;
  margin-bottom: 32px;
}
.posts-wrapp {
  font-size: 1.3rem;
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.posts-wrapp .post {
  width: 100%;
  display: flex;
  gap: 24px;
  flex-direction: column;
  background: var(--background-card-color);
  padding: 24px;
  border-radius: 8px;
}
.posts-wrapp .post-content {
  width: 100%;
}
.posts-wrapp .post-text a {
  color: var(--brand-color);
}
.posts-wrapp .post-text p {
  margin-bottom: 0;
}
.posts-wrapp .post-title {
  font-size: 1.5rem;
  font-weight: 600;
}
.posts-wrapp .post-title a {
  color: inherit;
  text-decoration: none;
}
.posts-wrapp .add-time {
  color: gray;
  font-size: 0.8em;
  text-align: end;
}
.posts-wrapp .img-wrapp {
  display: flex;
  justify-content: center;
}
.posts-wrapp .img-wrapp a,
.posts-wrapp .img-wrapp a img {
  width: 100%;
}
.blog-pagination {
  margin-top: 42px;
  width: 100%;
}
@media (min-width: 760px) {
  .posts-wrapp .post {
    flex-direction: row;
  }
  .posts-wrapp .img-wrapp a {
    width: fit-content !important;
  }
  .posts-wrapp .img-wrapp a img {
    max-height: 200px;
    width: auto !important;
  }
}
@media (min-width: 1400px) {
  .posts-wrapp .post {
    max-width: calc(50% - 12px);
  }
}
/* Blog post detail */
.post.info-page-wrapp {
  padding: 40px 32px 80px;
  font-size: 1.5rem;
}
.post .post-text h2,
.post .post-text h3,
.post .post-text h4,
.post .post-text h5,
.post .post-text h6 {
  font-weight: bold;
}
.post .post-text a {
  color: var(--brand-color);
  text-decoration: underline;
}
.post .post-text table {
  margin-bottom: 16px;
  border-collapse: collapse;
  width: 100%;
}
.post .post-text table th,
.post .post-text table td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
}
.post .add-time {
  margin-top: 32px;
  color: gray;
  font-size: 0.8em;
  text-align: end;
}
.post .img-wrapp {
  display: flex;
  justify-content: center;
}
.post .img-wrapp img {
  width: 100%;
  margin-bottom: 8px;
}
@media (min-width: 760px) {
  .post .img-wrapp {
    display: block;
  }
  .post .img-wrapp img {
    max-width: 350px;
    float: left;
    margin-right: 24px;
  }
}

/* ============================================================
   Authors list (List.vue + AuthorItem.vue + AuthorList.vue)
   ============================================================ */
.authors-page__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 77px;
}
@media all and (max-width: 1024px) {
  .authors-page__row {
    display: block;
    position: relative;
  }
}
.authors-page__content {
  flex-grow: 1;
  min-width: 0;
}
.author-list {
  width: 100%;
  margin-bottom: 40px;
}
.author-item {
  display: flex;
  align-items: center;
  padding: 15px 98px 15px 19px;
  border-radius: 24px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  gap: 29px;
}
.author-item:not(:last-child) {
  margin-bottom: 25px;
}
.author-item__avatar {
  width: 133px;
  height: 133px;
  border-radius: 24px;
  border: 4px solid var(--background-card-color);
  box-shadow: var(--box-shadow-user-content);
}
.author-item__avatar-link {
  width: 133px;
  flex-shrink: 0;
}
.author-item__content {
  align-self: flex-start;
  flex-grow: 1;
  font-size: 16px;
  font-weight: 300;
}
.author-item__content svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.author-item__content svg.fill-svg {
  fill: var(--dark-text-color);
}
.author-item__name {
  font-size: 24px;
  font-weight: 500;
  line-height: 26px;
  display: block;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
.author-item__info {
  display: flex;
  align-items: center;
  line-height: 20px;
  gap: 20px;
  min-width: 210px;
}
.author-item__info.followers {
  gap: 9px;
}
.author-item__title {
  font-size: 16px;
  font-weight: 300;
}
.author-item__value {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  gap: 10px;
}
.author-item__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 90px;
  align-items: center;
}
@media all and (max-width: 1500px) {
  .author-item__details {
    gap: 14px 40px;
  }
}
@media all and (max-width: 1430px) {
  .author-item {
    padding: 15px 20px;
  }
  .author-item__details {
    gap: 14px;
  }
  .author-item__info {
    min-width: 188px;
  }
}
@media all and (max-width: 1350px) {
  .author-item {
    gap: 16px;
  }
  .author-item__avatar,
  .author-item__avatar-link {
    width: 100px;
  }
  .author-item__avatar {
    height: 100px;
  }
}
@media all and (max-width: 1200px) {
  .author-item__details {
    display: block;
  }
  .author-item__info:first-child {
    margin-bottom: 10px;
  }
}
.author-item__detail {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media all and (max-width: 1200px) {
  .author-item__detail {
    display: none;
  }
}
.author-item__detail-icon {
  width: 21px;
}
.author-item__detail-text {
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  opacity: 0.8;
}
.author-item__follow-btn {
  flex-shrink: 0;
  width: auto;
  min-width: 206px;
  padding: 20px;
  font-size: 16px;
}
.author-item__follow-btn [data-follow-icon] {
  display: inline-flex;
  align-items: center;
}
@media all and (max-width: 700px) {
  /* wrap so the follow button drops to its own full-width row (port of AuthorItem.vue) */
  .author-item {
    flex-wrap: wrap;
    padding: 9px 10px 26px;
    gap: 23px;
  }
  .author-item__follow-btn {
    width: 100%;
  }
  /* declutter: hide the icons next to Рейтинг / Підписників on mobile */
  .author-item__value svg { display: none; }
}

/* ============================================================
   About / policy pages — MaterialRules.vue .img-wrapp (scoped to about text)
   ============================================================ */
.info-page-text .img-wrapp {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
}
.info-page-text .img-wrapp img {
  width: 331px;
  height: 331px;
  max-width: 100%;
}
@media (max-width: 650px) {
  .info-page-text .img-wrapp {
    flex-direction: column;
  }
}

/* ============================================================
   Author detail page (Author.vue)
   ============================================================ */
.author__block {
  margin: 112px 0 95px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  border-radius: 24px;
  padding: 23px 25px 30px;
}
.author__block-center svg:not(.fill-svg),
.author__block-info svg:not(.fill-svg) {
  stroke: var(--dark-text-color);
}
.author__block-center svg.fill-svg,
.author__block-info svg.fill-svg {
  fill: var(--dark-text-color);
}
.author__block-left {
  flex-shrink: 0;
}
.author__block-center {
  width: 533px;
  flex-shrink: 0;
}
@media all and (max-width: 1400px) {
  .author__block-center {
    width: auto;
  }
}
.author__block-right {
  padding-right: 100px;
}
@media all and (max-width: 1400px) {
  .author__block-right {
    padding-right: 0;
  }
}
.author__block-avatar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
  height: 200px;
  border-radius: 24px;
  border: 4px solid var(--background-card-color);
  box-shadow: var(--box-shadow-user-content);
  background: var(--tab-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author__block-avatar-wrap {
  width: 200px;
  height: 77px;
  position: relative;
  margin-bottom: 26px;
}
.author__block-info {
  display: flex;
  align-items: center;
  line-height: 20px;
  gap: 20px;
  margin-bottom: 17px;
}
.author__block-info.followers {
  margin-bottom: 27px;
  gap: 9px;
}
.author__block-title {
  font-size: 16px;
  font-weight: 300;
}
.author__block-value {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
  gap: 10px;
}
.author__block-follow {
  height: 54px;
  font-weight: 400;
  gap: 10px;
  width: 199px;
}
.author__block-follow [data-follow-icon] {
  display: inline-flex;
  align-items: center;
}
@media all and (max-width: 1024px) {
  .author__block-follow {
    margin-left: 18px;
  }
}
.author__block-name {
  font-size: 28px;
  font-weight: 500;
  line-height: 45px;
  margin-bottom: 14px;
}
.author__block-name__mobile {
  display: none;
}
.author__block-details {
  max-width: 360px;
  margin-bottom: 24px;
}
.author__block-detail {
  display: flex;
  align-items: center;
  gap: 6px;
}
.author__block-detail:not(:last-child) {
  margin-bottom: 10px;
}
.author__block-detail__icon {
  width: 21px;
}
.author__block-detail__text {
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  opacity: 0.8;
}
.author__block-about-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 45px;
}
.author__block-about-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}
.author__resources {
  margin-bottom: 117px;
}
.author__resources .app-title-medium {
  margin-bottom: 34px;
}
.author__resources-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
@media all and (max-width: 1290px) {
  .author__resources-filter {
    gap: 10px;
  }
}
@media all and (max-width: 1150px) {
  .author__resources-filter {
    flex-direction: column;
  }
}
.author__resources-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  background: var(--background-card-color);
  cursor: pointer;
}
.author__resources-select select {
  padding: 25px 70px 25px 40px;
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}
.author__resources-select select:focus {
  outline: none;
}
.author__resources-select .author__resources-icon {
  position: absolute;
  right: 40px;
  pointer-events: none;
  display: flex;
}
.author__resources-select .author__resources-icon svg {
  fill: var(--dark-text-color);
}
@media all and (max-width: 1480px) {
  .author__resources-select select {
    padding: 25px 46px 25px 26px;
  }
  .author__resources-select .author__resources-icon {
    right: 20px;
  }
}
@media all and (max-width: 1150px) {
  .author__resources-select {
    width: 100%;
    padding: 0 20px;
    justify-content: center;
  }
  .author__resources-select select {
    width: 100%;
  }
}
@media all and (max-width: 1024px) {
  .author__block {
    flex-direction: column;
    gap: 0;
    padding: 23px 0 45px;
  }
  .author__block-center,
  .author__block-right {
    width: 100% !important;
    border-top: 1px solid #d9d9d9;
    padding: 25px 18px;
  }
  .author__block-left {
    width: 100%;
    padding: 0 0 25px;
  }
  .author__block-avatar {
    width: 180px;
    height: 180px;
  }
  .author__block-avatar-wrap {
    width: 180px;
    height: 60px;
    margin-left: 18px;
    margin-bottom: 20px;
  }
  .author__block-info {
    padding: 0 18px;
  }
  .author__block-name {
    display: none;
  }
  .author__block-name__mobile {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    padding: 0 18px 15px;
    margin-bottom: 25px;
  }
}

/* ============================================================
   Auth pages (SignIn.vue / SignUp.vue / ResetPassword.vue)
   ============================================================ */
.auth-form__title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 30px;
}
.auth-form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
.auth-form_buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-form_buttons .app-button {
  font-size: 18px;
}
.auth-form__error {
  color: var(--red_color);
  font-size: 14px;
  margin-top: -10px;
}
.form-field {
  width: 100%;
  position: relative;
}
.form-field__input {
  width: 100%;
  border-radius: 100px;
  background: #fff;
  height: 59px;
  font-size: 16px;
  padding: 0 20px;
  border: 1px solid var(--border);
}
.form-field__input:focus {
  outline: none;
  border-color: var(--brand-color);
}
.form-field__input--password { padding-right: 56px; }
.form-field__input--error,
.form-field__input--error:focus { border-color: var(--danger-color); }
.field-error {
  color: var(--danger-color);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 6px;
  padding-left: 20px;
}
.field-error[hidden] { display: none; }
.field-error a {
  color: var(--danger-color);
  font-weight: 500;
  text-decoration: underline;
}
.password-toggle {
  position: absolute;
  bottom: 17px;
  right: 20px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  color: var(--label-color);
}
.password-toggle svg { width: 24px; height: 24px; fill: currentColor; display: block; }
@media (hover: hover) and (pointer: fine) {
  .password-toggle:hover { color: var(--brand-color); }
}
.form-field__label {
  color: var(--label-color);
  font-size: 18px;
  font-weight: 400;
}
.form-field__label-wrapper {
  margin-bottom: 10px;
  line-height: normal;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forgot-password a {
  font-size: 18px;
  font-weight: 300;
  color: var(--label-color);
  text-decoration-line: underline;
}
@media (hover: hover) and (pointer: fine) {
  .forgot-password a:hover {
    color: var(--brand-color);
  }
}
.google-button {
  border-radius: 100px;
  background: var(--tag-color-light);
  height: 59px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: var(--dark-text-color);
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
}
.google-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.google-signin-error {
  margin-top: 8px;
  color: #c92a2a;
  font-size: 14px;
  text-align: center;
}
@media all and (max-width: 470px) {
  .google-button {
    font-size: 18px;
  }
}

/* Sign in (two columns) */
.signin {
  width: 1192px;
  max-width: 100%;
  margin: 143px auto;
  display: flex;
}
.signin__col {
  width: 50%;
  padding: 0 75px;
}
.signin__left-side {
  position: relative;
}
.signin__left-side:after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: 389px;
  background: rgba(120, 120, 120, 0.83);
}
.signin__list {
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.signin__list-item {
  font-size: 16px;
  font-weight: 300;
  line-height: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.signin__list-item span:first-child {
  font-size: 40px;
  font-weight: 500;
}
.signin__info {
  font-size: 16px;
  font-weight: 200;
  line-height: 24px;
  margin-bottom: 27px;
}
@media all and (max-width: 1220px) {
  .signin {
    width: 1050px;
  }
  .signin__col {
    padding: 0 40px;
  }
}
@media all and (max-width: 1050px) {
  .signin {
    display: block;
    margin: 118px auto;
  }
  .signin__title {
    text-align: center;
    margin-bottom: 35px;
  }
  .signin__col {
    width: 100%;
    padding: 0;
  }
  .signin__left-side {
    margin-bottom: 80px;
    padding-bottom: 72px;
    border-bottom: 1px solid rgba(120, 120, 120, 0.83);
  }
  .signin__left-side:after {
    content: none;
  }
  .signin__info {
    text-align: center;
  }
}

/* Sign up (two-column grid) */
.signup {
  width: 935px;
  max-width: 100%;
  margin: 85px auto;
}
.signup .auth-form {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 43px;
}
.signup__policy {
  align-items: flex-start;
  margin-top: 10px;
  grid-column: span 2;
}
/* The policy label is wrapped in a .label div, so the generic
   `input:checked + label` rule can't reach it — scope the checked state here. */
.signup__policy input:checked + .label label:before { background: var(--brand-color); }
.signup__policy input:checked + .label label:after { border-color: var(--brand-color); opacity: 1; }
/* Error state when "Я погоджуюсь" is unchecked on submit */
.signup__policy.is-invalid {
  border-bottom: 1px solid var(--danger-color);
  padding-bottom: 8px;
}
.signup__policy.is-invalid .label,
.signup__policy.is-invalid label { color: var(--danger-color); }
.signup__policy.is-invalid label:before { border-color: var(--danger-color); }
.signup__policy .label {
  font-size: 16px;
  margin-top: 2px;
  line-height: 2em;
}
.signup__policy .label a {
  text-decoration: underline;
  color: var(--brand-color);
  font-weight: 500;
}
.signup .auth-form_buttons {
  grid-column: span 2;
}
.auth-form_buttons-row {
  margin-top: 16px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.auth-form_buttons-row a {
  text-decoration: underline;
  color: var(--brand-color);
}
@media all and (max-width: 700px) {
  .signup .auth-form {
    grid-template-columns: 1fr;
  }
  .signup__policy,
  .signup .auth-form_buttons {
    grid-column: span 1;
  }
}

/* Reset password (single column) */
.reset-password {
  width: 446px;
  max-width: 100%;
  margin: 143px auto;
}
.reset-password .auth-form_buttons {
  margin-top: 30px;
}
.message.success {
  color: var(--green_color);
  margin-top: 20px;
  text-align: center;
}

/* ============================================================
   User cabinet (User.vue layout + UserSidebar.vue)
   ============================================================ */
.app-user__wrapper {
  margin: 20px 0 40px;
  display: flex;
  gap: 30px;
  border-radius: 24px;
}
@media all and (max-width: 1024px) {
  .app-user__wrapper {
    display: block;
  }
}
.app-user__container {
  flex-grow: 1;
  padding: 21px 0;
  border-radius: 24px;
  min-width: 0;
}
.app-user__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 35px;
  margin-bottom: 10px;
}
@media all and (max-width: 1024px) {
  .app-user__title {
    text-align: center;
    font-size: 24px;
  }
}
.app-user__description {
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
  max-width: 693px;
  margin-bottom: 25px;
}
.app-user__description-link {
  color: var(--brand-color);
  text-decoration: underline;
}
.user-sidebar {
  width: 355px;
  padding: 20px 20px 30px;
  border-radius: 24px;
  background: var(--brand-color);
  flex-shrink: 0;
  color: var(--light-text-color);
}
@media all and (max-width: 1024px) {
  .user-sidebar {
    width: 100%;
    margin-bottom: 30px;
    height: fit-content;
  }
}
/* Mobile collapsible cabinet menu (port of UserSidebar hideInMobile / collapse-nav-btn) */
.collapse-nav-btn {
  display: none;
  margin-top: 15px;
  background: none;
  border: 0;
  opacity: 0.6;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  color: var(--light-text-color);
}
.collapse-nav-btn svg { width: 54px; height: auto; transform: rotate(180deg); stroke: var(--light-text-color); }
@media all and (max-width: 1024px) {
  .collapse-nav-btn { display: flex; }
  .user-sidebar.hideInMobile .user-sidebar__menu,
  .user-sidebar.hideInMobile .user-sidebar__logout,
  .user-sidebar.hideInMobile .user-sidebar__my-materials { display: none !important; }
  .user-sidebar.hideInMobile .collapse-nav-btn svg { transform: rotate(0deg); }
}
.user-sidebar__content {
  gap: 20px;
  display: flex;
  flex-direction: column;
}
.user-sidebar__head {
  padding: 7px;
  border-radius: 14px;
  background: var(--brand-card-color);
  box-shadow: var(--box-shadow-card);
  display: flex;
  align-items: center;
  gap: 7px;
}
.user-sidebar__head .photo-wrapper {
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  min-width: fit-content;
  cursor: pointer;
}
.user-sidebar__head .photo-wrapper input { display: none; }
.user-sidebar__head .photo-wrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4) url("/src/assets/images/elements/photo_camera_front.svg") center no-repeat;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .user-sidebar__head .photo-wrapper:hover:after { opacity: 1; }
}
.user-sidebar__head .user-initials {
  font-size: 36px;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--tab-border-color);
}
.user-sidebar__head .user-initials,
.user-sidebar__head img {
  border-radius: 100%;
  height: 94px;
  width: 94px;
}
.user-sidebar__head-name {
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  word-break: break-all;
}
.user-sidebar__head-role {
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  opacity: 0.6;
}
.user-sidebar__my-materials {
  border-radius: 14px;
  background: var(--my-material-button-bg);
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 24px 11px;
  margin-top: 45px;
  transition: 0.2s;
  color: var(--dark-text-color);
  text-decoration: none;
}
.user-sidebar__my-materials svg {
  fill: var(--dark-text-color);
}
@media (hover: hover) and (pointer: fine) {
  /* keep its own color — global a:hover would otherwise turn the label brand-green */
  .user-sidebar__my-materials:hover { color: var(--dark-text-color); }
}
.user-sidebar__content.seller .user-sidebar__menu {
  margin: 0 0 auto;
}
.user-sidebar__content.seller .user-sidebar__menu a {
  padding: 15px 10px 15px 46px;
}
.user-sidebar__menu ul {
  list-style: none;
  padding: 0;
}
.user-sidebar__menu a {
  color: var(--light-text-color);
  font-size: 20px;
  font-weight: 500;
  line-height: 35px;
  opacity: 0.5;
  padding: 15px 32px;
  display: block;
  position: relative;
  text-decoration: none;
}
.user-sidebar__menu a .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
}
.user-sidebar__menu a svg {
  fill: var(--light-text-color);
}
@media (hover: hover) and (pointer: fine) {
  .user-sidebar__menu a:hover {
    opacity: 1;
  }
}
.user-sidebar__menu li {
  position: relative;
}
.user-sidebar__menu li.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  bottom: -4px;
  border-radius: 14px;
  background: var(--user-menu-gradient);
  pointer-events: none;
}
.user-sidebar__menu li.active a {
  opacity: 1;
}
/* "Стати автором" — marked with a trailing gold star (on-brand --second), pushed to
   the right so it doesn't shift the label. The item otherwise behaves like a normal
   nav link (dim at rest, brightens on hover) so it doesn't read as the active item. */
.user-sidebar__menu li.is-seller-cta a {
  display: flex;
  align-items: center;
  color: #ffe27a; /* light gold tint — softer than the brand --second, dimmed at rest by opacity */
}
.seller-cta-star {
  display: inline-flex;
  margin-left: auto;
  padding-left: 8px;
}
.user-sidebar__menu li.is-seller-cta a .seller-cta-star svg {
  width: 16px;
  height: 16px;
  fill: var(--second);
}
.user-sidebar__logout {
  background: transparent;
  text-align: left;
  color: var(--light-text-color);
  opacity: 0.5;
  font-size: 20px;
  font-weight: 500;
  line-height: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  text-decoration: none;
}
.user-sidebar__logout svg {
  fill: var(--light-text-color);
}
@media (hover: hover) and (pointer: fine) {
  .user-sidebar__logout:hover {
    opacity: 1;
    color: var(--light-text-color); /* keep white — global a:hover would otherwise turn it brand-green on the green sidebar */
  }
}
/* MyMaterials title + add button (cabinet variant) */
.my-materials-title {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
@media all and (max-width: 500px) {
  .my-materials-title {
    flex-direction: column;
  }
}
.my-materials-title .new-material-button {
  margin-left: 32px;
  width: 222px;
  height: 40px;
  border-radius: 100px;
  box-shadow: var(--box-shadow-card);
  background: var(--light-text-color);
  color: var(--brand-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 25px;
  display: flex;
  align-items: center;
  padding: 0 18px 0 33px;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.my-materials-title .new-material-button-svg {
  fill: var(--brand-color);
  width: 25px;
  height: 25px;
}

/* UserInformation (questionnaire) */
.user-profile .app-user__description {
  margin-bottom: 35px;
}
.user-profile .divider {
  max-width: 839px;
  height: 1px;
  flex-shrink: 0;
  background: #d7dbda;
  margin: 14px 0;
}
.user-profile__block .app-label {
  margin-bottom: 13px;
  display: block;
}
.user-profile__checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media all and (max-width: 1250px) {
  .user-profile__checkboxes {
    display: block;
  }
}
.user-profile__block .app-checkbox {
  margin-bottom: 15px;
}
.user-profile__checkboxes-col.subjects {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media all and (max-width: 1250px) {
  .user-profile__checkboxes-col.subjects {
    display: block;
  }
}

/* ============================================================
   Seller conditions / Become-an-author / PaymentForm / Finance / PaymentMethods
   ============================================================ */
.conditions {
  font-size: 18px;
}
.conditions p {
  margin-bottom: 4px;
}
.conditions ul,
.conditions ol {
  margin-left: 32px;
  margin-bottom: 16px;
}

.form-wrapp {
  display: flex;
  justify-content: center;
}
.form-wrapp .first-step {
  position: relative;
  padding: 24px;
  border: 2px dotted;
  margin: 32px 8% 0;
}
.form-wrapp .first-step .title {
  font-weight: 500;
  left: 16px;
  margin: -18px;
  padding: 4px;
  font-size: 18px;
  position: absolute;
  top: 0;
  background: #f0f6f4;
  color: #78817d;
  text-transform: uppercase;
}
.form-accept-agreement {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-accept-agreement .app-button {
  margin-top: 32px;
}
.form-accept-agreement .app-checkbox {
  position: relative;
}

/* Become-an-author invitation sections (value intro / how / benefits / FAQ).
   Surfaced before the legal conditions + payout form so the page leads with the
   "why" (teacher-to-teacher), not the contract. */
.baa-intro {
  margin: 28px 0 8px;
  max-width: 760px;
}
.baa-intro__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark-text-color);
  margin-bottom: 12px;
}
.baa-intro__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dark-text-color);
}
.baa-section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin: 40px 0 18px;
}
.baa-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.baa-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.baa-step__num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-color);
  color: var(--light-text-color);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.baa-step__body {
  font-size: 18px;
  font-weight: 300;
  color: var(--dark-text-color);
  padding-top: 4px;
}
.baa-step__body strong {
  display: block;
  font-weight: 600;
}
.baa-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.baa-benefit {
  background: var(--background-card-color);
  border: 1px solid #e8eeec;
  border-radius: 12px;
  padding: 20px;
}
.baa-benefit__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-color);
  margin-bottom: 8px;
}
.baa-benefit p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--dark-text-color);
  margin: 0;
}
.baa-faq__item {
  border-bottom: 1px solid #e8eeec;
  padding: 14px 0;
}
.baa-faq__item summary {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.baa-faq__item summary::-webkit-details-marker { display: none; }
.baa-faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-color);
  line-height: 1;
  margin-left: 16px;
}
.baa-faq__item[open] summary::after { content: '\2212'; }
.baa-faq__item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dark-text-color);
  margin: 10px 0 0;
}
.baa-start-title { text-align: center; }
.author-info-wrapp textarea { background: var(--background-card-color); box-shadow: var(--box-shadow-input); }
.baa-about-count {
  margin-top: 6px;
  text-align: right;
  font-size: 13px;
  color: rgb(120 120 120);
}
.baa-about-count.is-full { color: var(--danger-color); font-weight: 500; }
.baa-about-hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgb(120 120 120);
}
@media all and (max-width: 768px) {
  .baa-intro__title { font-size: 24px; }
  .baa-benefits__grid { grid-template-columns: 1fr; }
}

/* Soft, dismissible seller nudge (purchase-history, and reusable elsewhere).
   Starts hidden; app.js reveals it unless localStorage marks it dismissed. */
.seller-nudge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 24px 28px;
  background: #f0f6f4;
  border: 1px solid #e8eeec;
  border-radius: 14px;
}
.seller-nudge[hidden] { display: none; }
.seller-nudge__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--light-label-color);
  cursor: pointer;
  padding: 4px;
}
.seller-nudge__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 6px;
}
.seller-nudge__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--dark-text-color);
  margin: 0;
}
.seller-nudge__cta { flex: 0 0 auto; }
@media all and (max-width: 768px) {
  .seller-nudge { flex-direction: column; align-items: flex-start; gap: 16px; }
  .seller-nudge__cta { width: 100%; }
}

/* Material page: soft empathy line under the author -> sell landing. */
.material__sell-hint {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--light-label-color);
  text-decoration: none;
  border-left: 2px solid var(--brand-color);
  padding-left: 12px;
}
@media (hover: hover) and (pointer: fine) {
  .material__sell-hint:hover { color: var(--brand-color); }
}

/* ===== SEO landing: "Заробіток для вчителів" (sell-landing.php) ===== */
.sell-hero {
  background: #f0f6f4;
  padding: 64px 0;
  text-align: center;
}
.sell-hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-text-color);
  max-width: 820px;
  margin: 0 auto 18px;
}
.sell-hero__lead {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--dark-text-color);
  max-width: 680px;
  margin: 0 auto 28px;
}
.sell-hero__cta { display: inline-flex; }
.sell-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 0 72px; /* horizontal padding comes from the outer .container */
}
.sell-section { margin-bottom: 48px; }
.sell-section:last-child { margin-bottom: 0; }
.sell-content h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark-text-color);
  margin: 0 0 18px;
}
.sell-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-color);
  margin: 24px 0 8px;
}
.sell-content p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--dark-text-color);
  margin: 0 0 14px;
}
.sell-list, .sell-steps {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: sell-step;
}
.sell-list li, .sell-steps li {
  position: relative;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark-text-color);
  padding-left: 30px;
  margin-bottom: 14px;
}
.sell-list li strong, .sell-steps li strong { font-weight: 600; }
.sell-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-color);
}
.sell-steps { counter-reset: sell-step; padding-left: 4px; }
.sell-steps li {
  counter-increment: sell-step;
  padding-left: 48px;
  min-height: 34px;
  margin-bottom: 20px;
}
.sell-steps li::before {
  content: counter(sell-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-color);
  color: var(--light-text-color);
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sell-faq__item {
  border-bottom: 1px solid #e8eeec;
  padding: 16px 0;
}
.sell-faq__item summary {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sell-faq__item summary::-webkit-details-marker { display: none; }
.sell-faq__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-color);
  line-height: 1;
  margin-left: 16px;
}
.sell-faq__item[open] summary::after { content: "\2212"; }
.sell-faq__item p { margin: 12px 0 0; }
.sell-cta-final {
  background: #f0f6f4;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.sell-cta-final__btn { display: inline-flex; margin-top: 8px; }
.sell-cta-final__blog {
  margin-top: 18px !important;
  font-size: 15px !important;
}
.sell-cta-final__blog a { color: var(--brand-color); text-decoration: underline; }
@media all and (max-width: 768px) {
  .sell-hero { padding: 44px 16px; }
  .sell-hero__title { font-size: 30px; }
  .sell-hero__lead { font-size: 18px; }
  .sell-content { padding: 40px 0 56px; }
  .sell-content h2 { font-size: 24px; }
  .sell-cta-final { padding: 28px 20px; }
}

/* ===== Contacts page (contacts.php) ===== */
.contacts-page { padding: 48px 20px 72px; }
.contacts-page__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--dark-text-color);
  margin-bottom: 28px;
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}
.contacts-block { margin-bottom: 28px; }
.contacts-block__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 14px;
}
.contacts-line {
  font-size: 17px;
  font-weight: 300;
  color: var(--dark-text-color);
  margin-bottom: 8px;
}
.contacts-line__label { font-weight: 500; margin-right: 6px; }
.contacts-line a { color: var(--brand-color); text-decoration: underline; }
.contacts-social { display: flex; gap: 14px; margin: 0; }
.contacts-social__item {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0f6f4;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.contacts-social__item svg { width: 22px; height: 22px; fill: var(--brand-color); }
@media (hover: hover) and (pointer: fine) {
  .contacts-social__item:hover { background: var(--brand-color); }
  .contacts-social__item:hover svg { fill: var(--light-text-color); }
}
.contacts-form-block {
  background: #f0f6f4;
  border-radius: 16px;
  padding: 28px;
}
.contacts-form .form-field { margin-bottom: 16px; }
.contacts-form__textarea {
  height: auto;
  min-height: 130px;
  line-height: 1.45;
  padding: 14px 20px;
  border-radius: 16px;
  resize: vertical;
}
.contacts-form__success {
  background: #e3f3ec;
  color: #0d7a53;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.45;
}
.contacts-form__error {
  background: #fdecec;
  color: var(--danger-color);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 15px;
}
.contacts-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contacts-map { width: 100%; border-radius: 16px; overflow: hidden; }
.contacts-map iframe { display: block; width: 100%; height: 450px; border: 0; }
@media all and (max-width: 900px) {
  .contacts-grid { grid-template-columns: minmax(0, 1fr); }
}
@media all and (max-width: 768px) {
  .contacts-page__title { font-size: 28px; }
  .contacts-map iframe { height: 320px; }
}

/* ===== FAQ accordion (per-type catalogue FAQ, reusable) ===== */
.faq-block { padding: 8px 0 44px; }
.faq-block__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 18px;
}
.faq-block__item {
  border-bottom: 1px solid #e8eeec;
  padding: 16px 0;
}
.faq-block__item summary {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-block__item summary::-webkit-details-marker { display: none; }
.faq-block__item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-color);
  line-height: 1;
  flex: 0 0 auto;
}
.faq-block__item[open] summary::after { content: "\2212"; }
.faq-block__item p {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark-text-color);
}
@media all and (max-width: 768px) {
  .faq-block__title { font-size: 24px; }
  .faq-block__item summary { font-size: 16px; }
}

/* ===== Seller announcement bar (under header, dismissible) ===== */
/* A floating bar aligned with the header pill: the visible tint lives on
   __inner (inside .container, same width as .app-header__container), with a small
   top gap so it sits clearly below the fixed header. */
.seller-banner { margin-top: 24px; }
.seller-banner-dismissed .seller-banner { display: none; }
.seller-banner__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eaf5f0;
  border: 1px solid #d4e9e0;
  border-radius: 12px;
  padding: 9px 24px;
}
.seller-banner__text {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-text-color);
}
.seller-banner__cta {
  font-weight: 600;
  color: var(--brand-color);
  text-decoration: underline;
  white-space: nowrap;
}
.seller-banner__close {
  margin-left: auto;
  flex: 0 0 auto;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: var(--label-color);
  padding: 0 4px;
}
@media (hover: hover) and (pointer: fine) {
  .seller-banner__close:hover { color: var(--dark-text-color); }
}
@media all and (max-width: 768px) {
  .seller-banner { display: none; } /* hidden on mobile — too cramped to look good */
}

/* ===== Blog post author byline + /blog/authors/ page ===== */
.post-author {
  font-size: 15px;
  color: var(--label-color);
  margin: -8px 0 20px;
}
.post-author a {
  color: var(--brand-color);
  font-weight: 600;
  text-decoration: underline;
}
.blog-authors-page { padding-bottom: 60px; }
.blog-authors__lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--dark-text-color);
  max-width: 720px;
  margin: 0 0 28px;
}
.blog-authors__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-author-card {
  display: flex;
  flex-direction: column;
  background: var(--background-card-color);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--box-shadow-card);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .blog-author-card:hover { border-color: var(--brand-color); transform: translateY(-2px); }
}
.blog-author-card__fio {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 8px;
}
.blog-author-card__info {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--label-color);
  margin-bottom: 14px;
}
.blog-author-card__more {
  margin-top: auto;
  color: var(--brand-color);
  font-weight: 600;
  font-size: 14px;
}
@media all and (max-width: 768px) {
  .blog-authors__list { grid-template-columns: 1fr; }
}
/* Blog author micro-profile (/blog/authors/:id/) */
.blog-author-page { padding-bottom: 60px; }
.blog-author { margin-bottom: 32px; }
.blog-author__name {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark-text-color);
  margin-bottom: 10px;
}
.blog-author__info {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--label-color);
  max-width: 760px;
}
.blog-author__posts-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-text-color);
  margin-bottom: 20px;
}
/* "Про автора" card at the end of a blog post */
.post-author-card {
  margin-top: 32px;
  background: #f0f6f4;
  border-radius: 16px;
  padding: 22px 24px;
}
.post-author-card__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--label-color);
  margin-bottom: 6px;
}
.post-author-card__name {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-text-color);
  text-decoration: none;
}
.post-author-card__info {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--label-color);
  margin: 8px 0 12px;
}
.post-author-card__link {
  font-weight: 600;
  color: var(--brand-color);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .post-author-card__name:hover { color: var(--brand-color); }
  .post-author-card__link:hover { text-decoration: underline; }
}

/* Mobile home: "become an author" path under the slider */
.home-paths { display: none; }
@media all and (max-width: 768px) {
  /* The slider's own bottom margin is the top gap to whatever follows (this
     block for guests/buyers, or the news block for authors when it's hidden),
     so it stays correct even when .home-paths isn't rendered. The block adds an
     equal bottom gap before the news section. */
  .main-slider { margin-bottom: 42px; }
  .home-paths {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 42px;
  }
}
.home-paths__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  text-decoration: none;
}
.home-paths__card--sell { background: #eaf5f0; }
.home-paths__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark-text-color);
}
.home-paths__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--label-color);
}
.home-paths__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-color);
}
.home-paths__cta svg { width: 18px; height: 18px; }

/* Admin: SEO text manager */
.admin-seo__msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 15px; }
.admin-seo__msg--ok { background: #e3f3ec; color: #0d7a53; }
.admin-seo__msg--err { background: #fdecec; color: var(--danger-color, #d23c3c); }
.admin-seo__tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-seo__tabs a {
  padding: 8px 16px; border-radius: 100px; background: var(--background-card-color);
  color: var(--dark-text-color); text-decoration: none; font-weight: 500; border: 1px solid var(--border);
}
.admin-seo__tabs a.is-active { background: var(--brand-color); color: var(--light-text-color); border-color: var(--brand-color); }
.admin-seo__table { width: 100%; border-collapse: collapse; }
.admin-seo__table th, .admin-seo__table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; font-size: 15px; }
.admin-seo__table th { font-weight: 600; color: var(--label-color); }
.admin-seo__status span { display: inline-block; min-width: 20px; text-align: center; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-right: 4px; }
.admin-seo__status .is-on { background: #e3f3ec; color: #0d7a53; }
.admin-seo__status .is-off { background: #f3f3f3; color: #b0b0b0; }
.admin-seo__back { display: inline-block; color: var(--brand-color); text-decoration: none; font-weight: 600; margin-bottom: 12px; }
.admin-seo__edit-title { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.admin-seo__key { font-size: 13px; color: var(--label-color); margin-bottom: 18px; word-break: break-all; }
.admin-seo__form { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.admin-seo__field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.admin-seo__form input.app-input, .admin-seo__form textarea.app-input { height: auto; padding: 10px 14px; line-height: 1.45; border-radius: 12px; font-weight: 400; }
.admin-seo__form textarea.app-input { resize: vertical; }
.admin-seo__form .app-button { align-self: flex-start; }
@media (max-width: 700px) {
  .admin-seo__table th:nth-child(2), .admin-seo__table td:nth-child(2) { display: none; }
}

.btn-disable {
  opacity: 0.3;
  background: var(--rate-background);
  border: none !important;
  color: #7a7a7a;
  cursor: auto;
  pointer-events: none;
}

/* PaymentForm */
.payment-wrapp {
  position: relative;
  padding: 24px;
  border: 2px dotted;
  margin: 64px 8% 0;
}
.payment-wrapp .payment-title {
  font-weight: 500;
  left: 16px;
  margin: -18px;
  padding: 4px;
  font-size: 18px;
  position: absolute;
  top: 0;
  background: #f0f6f4;
  color: #78817d;
  text-transform: uppercase;
}
.payment-wrapp .payment-form {
  background: #eaf1ef;
  padding: 8px 16px 16px;
}
.payment-wrapp .payment-data-item {
  width: 100%;
  padding: 24px;
  border-radius: 8px;
}
.payment-wrapp .payment-fild-wrapp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media all and (max-width: 1400px) {
  .payment-wrapp .payment-fild-wrapp {
    flex-direction: column;
    align-items: flex-start;
  }
}
.payment-wrapp .payment-fild-wrapp .label {
  min-width: 165px;
  font-weight: 500;
  font-size: 18px;
  margin: 4px 32px 4px 0;
  width: fit-content;
  text-align: left;
}
.payment-wrapp .input-wrapp {
  max-width: 100%;
}
.payment-wrapp .input-wrapp .app-input {
  width: 480px;
  max-width: 100%;
  height: 45px;
  background: var(--background-card-color);
  border-radius: 7px;
  box-shadow: var(--box-shadow-input);
  font-size: 18px;
  font-weight: 500;
  padding: 5px 12px;
  border: none;
}
.payment-wrapp .pf-input {
  display: flex;
  align-items: center;
  background: var(--background-card-color);
  border-radius: 7px;
  box-shadow: var(--box-shadow-input);
  width: 480px;
  max-width: 100%;
}
.payment-wrapp .pf-input .pf-prefix {
  padding-left: 12px;
  font-size: 18px;
  font-weight: 500;
}
.payment-wrapp .pf-input .app-input {
  box-shadow: none;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
/* IBAN inline validation error (port of Quasar q-field--error: red underline,
   negative "!" icon on the right, red message below). Driven by .is-error on the
   wrapper so toggling never fights the [hidden]/display rules. */
.payment-wrapp .pf-input.is-error {
  border-bottom: 2px solid #c10015; /* Quasar negative */
  border-radius: 7px 7px 0 0;
}
.payment-wrapp .pf-input .pf-error-icon { display: none; }
.payment-wrapp .pf-input.is-error .pf-error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 auto;
  border-radius: 50%;
  background: #c10015;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.payment-wrapp .pf-error { display: none; }
.payment-wrapp .pf-input.is-error ~ .pf-error {
  display: block;
  margin: 2px 0 0 2px;
  font-size: 12px;
  font-weight: 400;
  color: #c10015;
}
.payment-wrapp .attention-text {
  margin: 6px 0 0 2px; /* small gap below the field; the old negative margins were
                          tuned to Quasar's 65px field and stuck to our 45px input */
  font-size: 13px;
  font-weight: 500;
  color: rgb(140 140 140);
}

.profile-notice {
  margin: 0 0 20px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.45;
}
.profile-notice--error {
  background: var(--danger-bg);
  color: var(--danger-color);
}

/* Finance */
.finance-page .app-user__title {
  display: flex;
  flex-wrap: wrap;
}
.finance-page .balance {
  margin-left: auto;
  padding-left: 16px;
  line-height: 1em;
}
.finance-page .balance .balance-title {
  font-size: 1.2rem;
  color: #858289;
}
.finance-page .balance hr {
  margin: 2px 0;
}
.finance-page .balance .all-balance {
  font-size: 0.5em;
  display: flex;
  flex-direction: column;
  line-height: 1.5em;
}
.withdrawal-form-wrapp {
  display: flex;
  width: 100%;
  flex-direction: row;
}
@media (max-width: 1024px) {
  .withdrawal-form-wrapp {
    flex-direction: column;
  }
}
.finance-page .conditions {
  font-size: 14px !important;
}
.withdrawals-list {
  margin-top: 32px;
}
/* Author payment-data change log (port of the original Withdrawals.vue) */
.withdrawals-list .danger { color: var(--danger-color, #d23c3c); }
.withdrawals-list .log-show-btn {
  display: inline-block;
  margin-top: 2px;
  cursor: pointer;
  color: #e7a700;                       /* orange, as in the original */
  font-weight: 600;
}
/* Yellow border around a row whose payment data changed (collapsed table -> outline via cells) */
.withdrawals-list tr.warning-border td { border-top: 2px solid #e7a700; border-bottom: 2px solid #e7a700; }
.withdrawals-list tr.warning-border td:first-child { border-left: 2px solid #e7a700; }
.withdrawals-list tr.warning-border td:last-child { border-right: 2px solid #e7a700; }
/* Logs hidden until the row's "Лог змін" toggle is clicked. flex-basis:100%
   drops the log onto its own full-width line under the IBAN/ІПН/payee value
   (the .payment-data-item is a wrapping flex row), so long IBANs wrap normally
   instead of one character per line. */
.withdrawals-list .log-user-update { display: none; flex-basis: 100%; }
.withdrawals-list tr.log-open .log-user-update { display: block; }
.withdrawals-list .log-user-update ul { margin-left: 16px; list-style: disc; }
.withdrawals-list .log-user-update li { margin-top: 4px; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
/* Admin note per author (auto-saved on input) */
.withdrawal-comment-wrap { margin-top: 12px; max-width: 280px; }
.withdrawal-comment {
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.4;
  resize: vertical;
  white-space: normal;
}
.withdrawal-comment-status { display: block; margin-top: 2px; font-size: 12px; color: var(--label-color); }
.withdrawals-list-title {
  font-size: 1.5rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 16px;
}
.withdrawals-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.withdrawals-list th,
.withdrawals-list td {
  border: 1px solid grey;
  padding: 8px;
}
.withdrawals-list .no-wrap {
  white-space: nowrap;
}
.withdrawals-list .card-number {
  width: 190px;
}
.withdrawals-list .payment-data-item {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.withdrawals-list .payment-data-item .title {
  font-weight: 600;
}

/* Admin tables (NewMaterials / Withdrawals / Reports etc.) */
.new-material-list {
  margin-top: 32px;
}
.new-material-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.new-material-list th,
.new-material-list td {
  border: 1px solid grey;
  padding: 8px;
}
.material__author-name {
  color: var(--brand-color);
  text-decoration: none;
}
.material__author-name:hover {
  text-decoration: underline;
}
.select-panel {
  margin-bottom: 24px;
}
.select-panel select {
  padding: 8px 32px;
  background: white;
  border-radius: 7px;
  font-weight: 500;
  border: 1px solid var(--border);
}
.withdrawals-list .sm-text {
  font-size: 0.7em;
}
.withdrawals-list .no-wrap {
  white-space: nowrap;
}
.withdrawals-list .text-center {
  text-align: center;
}
.withdrawals-list .sm-button {
  width: fit-content;
  padding: 6px 16px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}
.withdrawals-list .update-btn-wrapp {
  display: flex;
  justify-content: center;
}

/* Admin: new blog post form (BlogPostCreate.vue) */
.new-post-wrapp .app-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.new-post-wrapp .app-field-col-1 {
  flex-grow: 1;
  width: 320px;
  max-width: 100%;
}
.new-post-wrapp .app-field-col-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.new-post-wrapp .app-input {
  width: 100%;
  min-width: unset;
  font-weight: 400;
}
.new-post-wrapp .app-input-textarea {
  width: 100%;
  height: 450px;
  resize: none;
  overflow-y: auto;
}
.new-post-wrapp .img-input-wrapp {
  width: 320px;
  height: 320px;
  position: relative;
}
.new-post-wrapp .img-input-wrapp input {
  height: 100%;
  width: 100%;
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.new-post-wrapp .img-input-wrapp .img-preview {
  height: 100%;
  width: 100%;
  background: #eaeaea;
  margin-bottom: 32px;
  overflow: hidden;
}
.new-post-wrapp .img-input-wrapp .img-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.new-post-hint {
  margin: -20px 0 18px;
  font-size: 13px;
  color: var(--label-color);
  line-height: 1.4;
}
.new-post-back { margin-top: 18px; }
.new-post-back a { color: var(--brand-color); font-weight: 600; text-decoration: none; }

/* Admin edit link on a blog post */
.post-admin-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--background-card-color);
  border: 1px solid var(--border);
  color: var(--dark-text-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.post-admin-edit:hover { background: var(--brand-color); color: var(--light-text-color); border-color: var(--brand-color); }

/* Seller dashboard (SellerDashboard.vue — cards + sales table) */
.dashboard {
  width: 100%;
}
.dashboard .card {
  border-radius: 14px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
}
.dashboard__top {
  width: 100%;
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
@media all and (max-width: 1360px) {
  .dashboard__top {
    flex-direction: column;
  }
}
.dashboard__card {
  height: 130px;
  width: 33.333%;
  display: flex;
  align-items: center;
  line-height: normal;
  font-weight: 400;
  gap: 23px;
  padding: 0 16px 0 24px;
}
@media all and (max-width: 1360px) {
  .dashboard__card {
    width: 100%;
  }
}
.dashboard__card-title {
  font-size: 16px;
  margin-bottom: 5px;
}
.dashboard__card-stats {
  display: flex;
  align-items: center;
  gap: 11px;
}
.dashboard__amount {
  font-size: 24px;
}
.dashboard__percentage {
  font-size: 12px;
  min-width: 63px;
  height: 23px;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.dashboard__percentage-positive {
  color: #02b15a;
  background: rgba(2, 177, 90, 0.15);
}
.dashboard__percentage-negative {
  color: #e41414;
  background: rgba(235, 0, 27, 0.15);
}
.dashboard__balance {
  font-size: 41px;
  margin-top: 13px;
  white-space: nowrap;
}
.dashboard__withdraw-link {
  border-radius: 50px;
  background: rgba(2, 177, 90, 0.15);
  display: inline-flex;
  height: 43px;
  padding: 0 15px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 300;
  text-align: center;
  margin-left: auto;
  text-decoration: none;
  color: inherit;
}
.dashboard__content {
  display: flex;
  gap: 30px;
}
.dashboard__content-title {
  font-size: 24px;
  font-weight: 300;
  line-height: normal;
}
.dashboard__analytics {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dashboard__sales {
  flex-grow: 1;
  padding: 13px 10px 20px 33px;
}
.dashboard__sales-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dashboard__date-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard__date-range input {
  height: 43px;
  border-radius: 7px;
  background: var(--border);
  border: none;
  font-size: 14px;
  padding: 0 12px;
}
@media all and (max-width: 768px) {
  .dashboard__sales-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dashboard__date-range { width: 100%; }
  .dashboard__date-range input { flex: 1; min-width: 0; }
}
.dashboard__sales-table {
  width: 100%;
}
.dashboard__sales-table th,
.dashboard__sales-table td {
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
}
.dashboard__sales-table th {
  padding: 9px 0;
  text-align: left;
}
.dashboard__sales-table td {
  padding: 7px 0;
}
.dashboard__sales-table .status {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  height: 31px;
  padding: 0 10px;
  border-radius: 7px;
}
.dashboard__sales-table .status-success {
  background: rgba(39, 174, 96, 0.3);
}
.dashboard__sales-table .status-failed {
  color: #e41414;
  background: rgba(235, 0, 27, 0.15);
}
.dashboard .no-wrapp {
  white-space: nowrap;
  padding-left: 7px !important;
  padding-right: 7px !important;
}
@media all and (max-width: 1360px) {
  .dashboard__content {
    display: block;
  }
}

/* Seller questions (SellerQuestions.vue) */
.user-questions__list {
  margin-bottom: 45px;
}
.user-questions__item {
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  padding: 17px 20px 20px 14px;
  border-radius: 7px;
  border: 1px solid rgba(173, 173, 173, 0.5);
  background: #dedede;
}
.user-questions__item:not(:last-child) {
  margin-bottom: 37px;
}
.user-questions__person {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.user-questions__person-avatar {
  width: 60px;
  height: 60px;
  border-radius: 100%;
}
.user-questions__person-name {
  font-size: 14px;
  font-weight: 500;
}
.user-questions__person-date {
  color: var(--date-color);
  font-size: 12px;
  font-weight: 200;
}
.user-questions__text {
  margin-bottom: 17px;
  font-size: 16px;
  line-height: 26px;
}
.user-questions__answer {
  border-radius: 4px;
  background: var(--background-color);
  padding: 7px 186px 12px 15px;
  margin-left: 6px;
  margin-bottom: 17px;
}
@media all and (max-width: 1024px) {
  .user-questions__answer {
    margin-left: 0;
  }
}
.user-questions__answer-title {
  font-weight: 500;
  text-transform: uppercase;
}
.user-questions__form textarea {
  width: 100%;
  height: 98px;
  resize: none;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  margin-bottom: 12px;
  border-radius: 7px;
  border: 1px solid #dedede;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-input);
}
.user-questions__buttons {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.user-questions__buttons .danger {
  margin-left: auto;
}
@media all and (max-width: 700px) {
  .user-questions__buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .user-questions__buttons .danger {
    margin-left: unset;
  }
}

/* Admin categories (MaterialCategories.vue) */
.category-list {
  margin: 32px 0 64px;
}
.category-list-title {
  display: flex;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.category-list-title .title-text {
  flex-grow: 1;
}
.category-list table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}
.category-list th,
.category-list td {
  border: 1px solid grey;
  padding: 8px 16px;
}
.category-list .id {
  width: 60px;
}
.icon_tr {
  width: 48px;
}
.icon_tr span {
  display: flex;
  justify-content: center;
}
.icon-preview svg {
  width: 30px;
  height: 30px;
}
.c-pointer {
  cursor: pointer;
}
.sm-button {
  width: fit-content;
  padding: 2px 10px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}
.field-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Category modal */
.cat-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.cat-modal[hidden] {
  display: none;
}
.cat-modal .app-dialog__card {
  background: var(--dialog-bg);
  border-radius: 12px;
  padding: 32px;
  width: 460px;
  max-width: 92%;
  position: relative;
}
.cat-modal .app-dialog__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  font-size: 20px;
  cursor: pointer;
}
.cat-modal .app-dialog__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cat-modal .app-dialog__form textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 7px;
  border: 1px solid var(--border);
  padding: 8px 12px;
  resize: vertical;
}
.cat-modal .app-input {
  width: 100%;
}
.cat-toggle .toggle-on {
  display: none;
}
.cat-toggle.on .toggle-on {
  display: inline-flex;
}
.cat-toggle.on .toggle-off {
  display: none;
}

/* Admin reports panel + completed state (reuses .user-questions__*) */
.panel-select {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  font-size: 1.3rem;
  margin-bottom: 37px;
}
.panel-select select {
  padding: 8px 32px;
  background: white;
  border-radius: 7px;
  font-weight: 500;
  border: none;
}
.user-questions__completed {
  background: #fb89894f !important;
}
.user-questions__buttons .app-button .fill-svg {
  fill: currentColor;
}

/* Profile (user-information) */
.user-information__list {
  margin: 28px 0 41px;
}
.user-information__item {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  gap: 32px;
}
.user-information__item:not(:last-child) {
  margin-bottom: 20px;
}
.user-information__item-label {
  width: 225px;
  text-align: right;
}
.user-information__item-value {
  padding: 5px 12px;
}
.user-information__item-value.editing {
  padding: 0;
}
.user-information__item-value input {
  min-width: 355px;
  padding: 5px 12px;
  height: 45px;
  background: var(--background-card-color);
  border-radius: 7px;
  box-shadow: var(--box-shadow-input);
  font-size: 18px;
  font-weight: 500;
  border: none;
}
.user-information .app-user__buttons {
  display: flex;
  gap: 16px;
  padding-left: 123px;
}
@media all and (max-width: 1024px) {
  .user-information__item {
    justify-content: space-between;
  }
  .user-information__item.editing {
    display: block;
  }
  .user-information__item.editing .user-information__item-label {
    width: 100%;
    color: var(--light-label-color);
  }
  .user-information__item-label {
    text-align: left;
  }
  .user-information__item-value {
    text-align: right;
  }
  .user-information__item-value.editing {
    flex-grow: 1;
  }
  .user-information__item-value input {
    width: 100%;
  }
  .user-information .app-user__buttons {
    padding-left: 0;
    justify-content: center;
  }
}
@media all and (max-width: 1100px) {
  .user-information__item-value input {
    min-width: 300px;
  }
}
@media all and (max-width: 550px) {
  .user-information .app-user__buttons {
    flex-direction: column;
    gap: 15px;
  }
}
@media all and (max-width: 400px) {
  .user-information__item {
    display: block;
  }
  .user-information__item-label {
    color: var(--light-label-color);
  }
  .user-information__item-value {
    text-align: left;
    padding: 0;
    font-size: 16px;
  }
}
.user-information__form-message {
  color: red;
  font-size: 16px;
  font-weight: 600;
}
.user-information__form-message.google {
  color: green;
}
.author-info-wrapp {
  margin-top: 48px;
}
.author-info-wrapp .author-info-item {
  padding: 12px 24px 24px;
  border-radius: 8px;
  background: #eaf1ef;
}
.author-info-wrapp span {
  font-size: 18px;
}
.author-info-wrapp textarea {
  width: 100%;
  min-height: 150px;
  resize: none;
  font-size: 18px;
  padding: 12px 18px;
  border: none;
  border-radius: 7px;
}
.author-info-wrapp .label {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
}

/* PaymentMethods */
.user-payment .row {
  display: flex;
  gap: 32px;
  margin-bottom: 52px;
}
.user-payment .col {
  width: 50%;
}
@media all and (max-width: 1024px) {
  .user-payment .col {
    width: 100%;
  }
  .user-payment .col .app-input {
    width: 100%;
    min-width: auto;
  }
}

/* ============================================================
   Cart / checkout (port of Cart.vue, ThankYou.vue) + line-view
   cart card + "Останні переглянуті" (LastViewed.vue).
   ============================================================ */

/* --- CatalogItem line-view (isLineView + isCartItem) --- */
.app-catalog__item.line-view {
  flex-direction: row;
  border-radius: 7px 14px 14px 7px;
  padding: 0;
  align-items: flex-start !important;
}
.app-catalog__item.line-view .app-catalog__item-image {
  margin-bottom: 0;
  width: 144px;
  height: 144px;
  border-radius: 7px;
}
.app-catalog__item.line-view .app-catalog__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media all and (max-width: 420px) {
  .app-catalog__item.line-view .app-catalog__item-image {
    width: 100px;
    height: 100px;
  }
}
.app-catalog__item.line-view .app-catalog__item-main-info {
  padding: 16px 50px 16px 16px;
}
.app-catalog__item.line-view .app-catalog__item-main-info .app-catalog__item-label { order: 0; }
.app-catalog__item.line-view .app-catalog__item-main-info .app-catalog__item-author { order: 1; }
.app-catalog__item.line-view .app-catalog__item-main-info .app-catalog__item-footer { order: 2; }
@media all and (max-width: 1024px) {
  .app-catalog__item.line-view .app-catalog__item-main-info { padding: 8px; }
}
.app-catalog__item.line-view .app-catalog__item-type {
  top: 8px;
  left: 8px;
  font-size: 12px;
}
.app-catalog__item.line-view .app-catalog__item-delete-from-cart {
  cursor: pointer;
  position: absolute;
  right: 13px;
  color: var(--dark-text-color);
}
.app-catalog__item.line-view .app-catalog__item-label {
  padding-right: 38px;
  min-height: 50px;
}

/* --- Cart page --- */
.cart-top {
  display: flex;
  align-items: center;
  margin-bottom: 65px;
  padding-top: 45px;
}
.cart-top h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 25px;
  margin-right: 61px;
  white-space: nowrap;
}
@media all and (max-width: 1024px) {
  .cart-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-top: 15px;
  }
  .cart-top h1 {
    font-size: 24px;
    margin-right: 0;
    margin-bottom: 20px;
  }
}
.cart-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 106px;
  margin-bottom: 207px;
}
@media all and (max-width: 1200px) { .cart-container { gap: 50px; } }
@media all and (max-width: 1100px) { .cart-container { justify-content: space-between; } }
@media all and (max-width: 1024px) { .cart-container { flex-direction: column; margin-bottom: 100px; } }
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 42px;
}
@media all and (max-width: 1024px) { .cart-items { width: 100%; gap: 25px; } }
.cart-item {
  display: flex;
  align-items: center;
  gap: 28px;
}
@media all and (max-width: 1024px) { .cart-item { display: block; } }
.cart-item .line-view {
  width: 548px;
  max-width: 100%;
}
@media all and (max-width: 1100px) { .cart-item .line-view { width: 500px; } }
@media all and (max-width: 1024px) {
  .cart-item .line-view { margin-top: 13px; width: 100%; padding: 7px 6px; }
}
@media all and (max-width: 420px) { .cart-item .line-view { align-items: center; } }
.cart-summary {
  width: 413px;
  max-width: 100%;
  flex-shrink: 0;
  background: var(--background-card-color);
  padding: 69px 55px 73px;
}
@media all and (max-width: 1100px) { .cart-summary { padding: 45px 40px 35px; width: auto; } }
@media all and (max-width: 1024px) { .cart-summary { width: 100%; } }
.cart-summary__title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 25px;
  margin-bottom: 25px;
}
@media all and (max-width: 1024px) { .cart-summary__title { font-size: 24px; margin-bottom: 35px; } }
.cart-summary__sum {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 8px;
}
.cart-summary p {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 29px;
}
.cart-summary p span {
  color: var(--brand-color);
  font-size: 24px;
  font-weight: 700;
}
.cart-summary p.total {
  padding-top: 25px;
  margin-bottom: 56px;
  border-top: 1px solid var(--border);
}
@media all and (max-width: 1024px) {
  .cart-summary p { font-size: 18px; margin-bottom: 15px; }
  .cart-summary p span { font-size: 20px; }
  .cart-summary p.total { margin-bottom: 46px; }
}
.cart-summary .app-button { width: 290px; }
.message-cart-empty {
  text-align: center;
  font-size: 32px;
  margin-top: 10vh;
  margin-bottom: 25vh;
}

/* --- Last viewed --- */
.last-viewed { margin-bottom: 132px; }

/* --- ThankYou / pay-error --- */
.thank-you-page { min-height: 560px; }
.thank-you-page .message-container {
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thank-you-page .message {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.thank-you-page .message h2 {
  margin-bottom: 48px;
  color: var(--brand-color);
  display: flex;
  align-items: center;
  gap: 12px;
}
.thank-you-page .message h2 svg { fill: var(--brand-color); flex-shrink: 0; }
.thank-you-page .message h3 { color: #a0a0a0; }
.thank-you-page .message p { font-size: 1.4rem; }
.thank-you-page a { color: var(--brand-color); text-decoration: underline; }
.thank-you-page .error h2 { color: #d00505; }
.thank-you-page .error h2 svg { fill: #d00505; }
.thank-you-page .error .payment-message { color: #d00505; font-weight: 300; }
.thank-you-page .order-id { font-weight: 400; }

/* ============================================================
   Add / edit material (port of NewMaterial.vue) + vanilla cropper.
   Quasar inputs replaced by native controls.
   ============================================================ */
.add-material {
  display: flex;
  gap: 30px;
}
@media all and (max-width: 1200px) { .add-material { display: block; } }

.add-material__form {
  flex-grow: 1;
  border-radius: 14px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  padding: 28px 38px 38px 54px;
}
@media all and (max-width: 1420px) { .add-material__form { padding: 28px 38px 38px; } }
@media all and (max-width: 1400px) { .add-material__form { padding: 28px 20px 38px; } }
@media all and (max-width: 700px) {
  .add-material__form { background: none; padding: 0; box-shadow: none; margin-bottom: 100px; }
  .add-material__form .app-button { margin-top: 40px; }
}
.add-material__form-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 30px;
}
@media all and (max-width: 1520px) { .add-material__form-group { display: block; margin-bottom: 15px; } }
.add-material__form-group-right { flex-grow: 1; }
.add-material__form .app-label {
  flex-shrink: 0;
  width: 164px;
  padding-top: 11px;
}
@media all and (max-width: 1320px) { .add-material__form .app-label { width: 100%; } }
.add-material__form small {
  font-size: 12px;
  font-weight: 300;
  line-height: normal;
  display: block;
  margin-top: 6px;
}
.add-material__input,
.add-material__textarea,
.app-select-native {
  width: 100%;
  min-width: 100%;
}
.add-material__textarea { height: 242px; resize: none; }
/* Inline field suffix ("год" / "₴"), port of Quasar q-field__suffix */
.app-input-suffix-wrap { position: relative; width: 100%; }
.app-input-suffix-wrap .app-input { width: 100%; padding-right: 52px; }
.app-input-suffix {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-text-color);
  pointer-events: none;
}
/* Disabled price field when "Безкоштовно" is checked (port of .q-field--disabled) */
.price-fild:disabled { background: #e5e5e5; cursor: not-allowed; }
.price-fild:disabled + .app-input-suffix { opacity: 0.5; }
/* Description field: counter + min-200 validation feedback (port of q-input counter/rules) */
.app-q-textarea-wrap { position: relative; }
.app-q-error-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--danger-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  display: none;
}
.app-q-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.add-material__form .app-q-bottom small { margin-top: 6px; display: block; }
.app-q-error-msg { color: var(--danger-color); visibility: hidden; }
[data-desc-group].is-invalid .app-q-error-msg { visibility: visible; }
[data-desc-group].is-invalid .app-q-counter { color: var(--danger-color); }
[data-desc-group].is-invalid .add-material__textarea { border-color: var(--danger-color); }
[data-desc-group].is-invalid .app-q-error-icon { display: block; }
.app-select-native {
  height: 60px;
  background: var(--background-card-color);
}

/* Catalogue SEO text block (port of Seo.vue) */
.seo-text-wrapp { margin-top: auto; margin-bottom: 77px; }
.seo-text { font-size: 16px; font-weight: 300; line-height: 26px; color: var(--dark-text-color); }
.seo-text p { margin-bottom: 0; }
.seo-text ul { list-style-position: inside; }
.seo-text table { border-collapse: collapse; width: 100%; }
.seo-text table th, .seo-text table td { border: 1px solid #000; padding: 8px; text-align: left; }
/* Narrow screens: a wide raw-HTML SEO table (from /seo/get-catalog-text) can't shrink
   below its min-content width and pushes the whole page sideways. Let it scroll inside
   its own block instead. (Divergence from prod, which overflows — SSR is the new prod.) */
@media all and (max-width: 600px) {
  .seo-text table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Searchable combobox (port of Quasar q-select use-input/fill-input) */
.app-combobox { position: relative; width: 100%; }
.app-combobox__control {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: text;
  width: 100%;
  min-width: 0; /* override .app-input min-width:483px so it fits on mobile */
}
.app-combobox__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--dark-text-color);
  padding: 0;
}
.app-combobox__arrow {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.2s;
  pointer-events: none;
}
.app-combobox__arrow svg { fill: var(--dark-text-color); }
.app-combobox.is-open .app-combobox__arrow { transform: rotate(180deg); }
.app-combobox__error-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--danger-color);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  display: none;
}
.app-combobox__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
  background: var(--background-card-color);
  border-radius: 7px;
  box-shadow: var(--box-shadow-card);
}
.app-combobox__option {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-text-color);
  cursor: pointer;
}
.app-combobox__option:hover,
.app-combobox__option.is-active { background: #f1f1f1; }
.app-combobox__option.is-selected { color: var(--brand-color); }
.app-combobox__option[hidden] { display: none; }
.app-combobox__empty {
  padding: 12px 20px;
  font-size: 16px;
  font-style: italic;
  color: var(--tag-color);
}
.app-combobox .app-combobox__error-msg {
  display: none;
  margin-top: 6px;
  color: var(--danger-color);
  font-size: 12px;
  font-weight: 300;
}
.app-combobox.is-open .app-combobox__control {
  box-shadow: inset 0 -2px 0 0 var(--brand-color), var(--box-shadow-input);
}
.app-combobox.is-invalid .app-combobox__control {
  box-shadow: inset 0 -2px 0 0 var(--danger-color), var(--box-shadow-input);
}
.app-combobox.is-invalid .app-combobox__error-icon { display: block; }
.app-combobox.is-invalid .app-combobox__error-msg { display: block; }

.app-mr-b-0 { margin-bottom: 0; }
@media all and (max-width: 1520px) { .app-mr-b-0 { margin-bottom: 15px; } }

.add-material__right-side {
  width: 355px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media all and (max-width: 1320px) { .add-material__right-side { width: 300px; } }
@media all and (max-width: 1200px) { .add-material__right-side { width: 100%; flex-direction: row; margin-top: 30px; } .add-material__right-side .material-preview { width: 50%; } }
@media all and (max-width: 700px) { .add-material__right-side { display: block; } .add-material__right-side .material-preview { width: 100%; } }
.add-material__right-side__title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}

/* Live preview card (CatalogItem isPreview) */
.app-catalog__item.is-preview { pointer-events: none; }

/* Class checkboxes (replaces Quasar chips multiselect) */
.class-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.class-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 300;
  user-select: none;
}
.class-check input { width: 18px; height: 18px; cursor: pointer; }

/* "Безкоштовно" toggle — green rounded checkbox (port of Quasar q-checkbox size="lg") */
.app-check-lg { display: inline-flex; cursor: pointer; }
.app-check-lg input { position: absolute; opacity: 0; width: 0; height: 0; }
.app-check-lg__box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid var(--tab-border-color);
  background: var(--background-card-color);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.app-check-lg input:checked + .app-check-lg__box {
  background: var(--brand-color);
  border-color: var(--brand-color);
}
.app-check-lg input:checked + .app-check-lg__box::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 5px;
  width: 8px;
  height: 15px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.app-check-lg input:focus-visible + .app-check-lg__box {
  outline: 2px solid var(--brand-color);
  outline-offset: 2px;
}

/* File dropzone (native) */
.file-dropzone {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 13px;
  margin-bottom: 8px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: var(--background-card-color);
}
@media all and (max-width: 420px) {
  .file-dropzone { gap: 0; flex-direction: column; width: 100%; }
}
.upload-file {
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  cursor: pointer;
  text-align: left;
}
.upload-file .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--border);
  padding: 0 15px;
  height: 39px;
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
}
.upload-file span:not(.btn) {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.45;
  word-break: break-all;
}
.hidden-input { display: none; }
.files-wrapper small { margin-bottom: 20px; }

/* Add-file / add-link buttons */
.app-button-add {
  margin-bottom: 20px;
  width: fit-content;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 12px;
}
.app-q-input-wrapper {
  position: relative;
  max-width: fit-content;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-delete-button {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--dark-text-color);
}
.app-delete-button:hover { color: var(--danger-color); }

/* Additional images grid */
.additional-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}
@media all and (max-width: 700px) { .additional-images { grid-template-columns: repeat(2, 1fr); } }
.image-preview { position: relative; }
.image-preview img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: contain;
  border-radius: 3px;
  background: #f2f2f2;
}
.image-preview button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview button svg { fill: var(--dark-text-color); width: 14px; height: 14px; }
.image-upload {
  border-radius: 3px;
  background: #cbcbcb;
  height: 100px;
  display: flex;
  cursor: pointer;
  transition: 0.2s;
}
@media (hover: hover) and (pointer: fine) { .image-upload:hover { background: var(--tab-bg-color); } }
.image-upload svg { margin: auto; fill: var(--light-text-color); }

/* Submit */
.edit-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.submit-button {
  width: 384px;
  max-width: 100%;
  height: 62px;
  gap: 20px;
  font-size: 16px;
  border-radius: 7px;
  margin-top: 30px;
}
/* Submitting state: locked button + spinner (port of waitForUpload "Очікуйте..." q-spinner) */
.submit-button:disabled { cursor: not-allowed; opacity: 0.85; }
.submit-button.is-loading svg { display: none; }
.submit-button.is-loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: submit-spin 0.7s linear infinite;
}
@keyframes submit-spin { to { transform: rotate(360deg); } }
.error-upload-message {
  color: #c10015;
  text-align: center;
  font-size: 16px;
  margin-top: 16px;
}

/* Vanilla cropper */
.cropper-container {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cropper-container__block {
  width: 500px;
  max-width: 95%;
  max-height: 95%;
  border-radius: 14px;
  background: var(--background-card-color);
  box-shadow: var(--box-shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.cropper-container .cropper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 70vh;
  overflow: hidden;
  background: #222;
  border-radius: 7px;
  cursor: grab;
  touch-action: none;
}
.cropper-container .cropper:active { cursor: grabbing; }
.cropper-container .cropper img {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.cropper-zoom { width: 100%; margin: 16px 0 4px; }
.cropper-container__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 16px;
  flex-shrink: 0;
}
.cropper-container__buttons .app-button { width: calc((100% - 20px) / 2); }
.price-fild { appearance: textfield; -moz-appearance: textfield; }
.price-fild::-webkit-outer-spin-button,
.price-fild::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ============================================================
   Material page — role controls (moderation, archive, follow),
   block-reasons modal + reasons-for-blocking notice.
   Port of MaterialModeration.vue + Material.vue admin/author blocks.
   ============================================================ */
.material__moderation { margin-bottom: 30px; }
.material__moderation .app-button { margin-bottom: 16px; }
.material__moderation hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid var(--border);
}
.material__follow {
  margin-top: 16px;
  width: 100%;
}

/* Reasons-for-blocking notice (shown to the author) */
.reasons-for-blocking-section {
  border-radius: 14px;
  margin-top: -42px;
  margin-bottom: 26px;
  padding: 16px;
  background: var(--danger-bg);
}
.reasons-for-blocking-section p { font-size: 16px; margin-top: 12px; font-weight: 500; }
.reasons-for-blocking-section h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--danger-color);
  font-size: 18px;
}
.reasons-for-blocking-section h4 svg { fill: var(--danger-color); width: 30px; height: 30px; }
.reasons-for-blocking-section ul {
  margin-left: 24px;
  list-style-type: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.reasons-for-blocking-section ul li:last-child { margin-bottom: 0; }
/* state 0 = re-moderation: orange theme instead of red */
.reasons-for-blocking-section.re-moderation { background: #ff9b0026; }
.reasons-for-blocking-section.re-moderation h4 { color: #e48c03; }
.reasons-for-blocking-section.re-moderation h4 svg { fill: #e48c03; }

/* Block-reasons modal */
.app-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.app-dialog > .app-dialog__card {
  position: relative;
  width: 800px;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 48px 40px;
}
.app-dialog__close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}
.app-dialog__close svg { width: 26px; height: 26px; }
.app-dialog__form { font-size: 16px; line-height: 1.25em; }
.reasons-for-blocking-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
}
.reasons-group { width: 100%; }
.reasons-group hr { margin: 6px 0; border: none; border-top: 1px solid var(--border); }
.reason {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 5px 0;
}
.reason input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; }
.another-reason { padding: 8px 0; width: 100%; }
.another-reason-title {
  font-weight: 500;
  text-transform: uppercase;
  color: #4f4f4f;
  margin-bottom: 8px;
}
.app-dialog__form .app-button { margin: 0 auto; }
.validation-error {
  color: var(--danger-color);
  text-align: center;
  width: 100%;
  font-size: 14px;
  margin-top: 8px;
}
.full-width { width: 100%; }

/* ============================================================
   Header "Додати матеріал" button (port of Header.vue .new-material-button)
   — white pill with green text + plus icon. The dropdown duplicate
   (.new-material-link) shows only when the pill is hidden (<=1420px).
   ============================================================ */
.app-header .new-material-button {
  width: 222px;
  height: 50px;
  border-radius: 100px;
  box-shadow: var(--box-shadow-card);
  background: var(--light-text-color);
  color: var(--brand-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 25px;
  display: flex;
  align-items: center;
  padding: 0 18px 0 33px;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 8px;
  text-decoration: none;
}
.app-header .new-material-button svg {
  fill: var(--brand-color);
  width: 25px;
  height: 25px;
}
.app-header .dropdown-content > .new-material-link { display: none; }
@media all and (max-width: 1420px) {
  .app-header .new-material-button { display: none; }
  .app-header .dropdown-content > .new-material-link { display: flex; }
  /* widen the author dropdown so "Додати матеріал" fits on one line */
  .app-header .dropdown.is-author { width: 270px; }
}

/* Download-variant card button (CatalogItem isForDownloads — purchase history) */
.is-for-downloads-container {
  margin-bottom: 32px;
}
.is-for-downloads-container .app-button {
  font-weight: 400;
  height: 55px;
  width: calc(100% - 8px);
}
@media all and (max-width: 1024px) {
  .is-for-downloads-container { margin-bottom: 16px; }
}

/* ============================================================
   Header search dropdown (port of Header.vue .app-search-dropp)
   + isForSearch line card (CatalogItem .is-extra-sm).
   ============================================================ */
.app-search-dropp {
  position: absolute;
  width: calc(100% - 57px);
  top: 55px;
  margin: 0 35px 0 22px;
  color: var(--dark-text-color);
  z-index: 200;
}
@media (max-width: 1024px) { .app-search-dropp { display: none; } }
.app-search-dropp-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;
  background: var(--background-card-color);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--box-shadow-card);
}
.app-search-dropp-container-col .items-container {
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  padding: 0 24px;
}
.app-search-dropp-container-col .items-container-title {
  font-size: 12px;
  font-weight: 300;
  line-height: 14px;
  color: rgba(0, 23, 15, 0.64);
  margin-bottom: 8px;
}
.app-search-dropp-container-col .items-container-text {
  margin-bottom: 8px;
  cursor: pointer;
}
.app-search-dropp-container-col .items-container-text a {
  color: inherit;
  text-decoration: none;
}
.catalog-sm { background: var(--background-card-color); }
.catalog-sm-items .material-container {
  display: block;
  margin-bottom: 8px;
  max-width: 409px;
  text-decoration: none;
  color: inherit;
}
.catalog-sm-items .material-container:hover .app-catalog__item-label { color: #0d7a53; }
.catalog-sm-items .found_materials { max-width: unset; }
.search-col-1 {
  flex-grow: 1;
  border-right: 1px solid rgba(0, 23, 15, 0.08);
}
.search-col-1 .items-container { margin-bottom: 24px; }

/* isForSearch small line card */
.app-catalog__item.is-extra-sm { box-shadow: none; }
.app-catalog__item.is-extra-sm .app-catalog__item-label,
.app-catalog__item.is-extra-sm .app-catalog__item-price {
  font-size: 12px !important;
  line-height: 17px;
}
.app-catalog__item.is-extra-sm .app-catalog__item-label {
  min-height: fit-content !important;
  margin-bottom: 4px;
}
.app-catalog__item.is-extra-sm .app-catalog__item-main-info {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0;
  flex-direction: column-reverse;
  margin-left: 24px;
}
.app-catalog__item.is-extra-sm .app-catalog__item-image {
  height: 82px !important;
  width: 82px;
  max-height: fit-content;
  overflow: hidden;
  border-radius: 4px;
}
.app-catalog__item.is-extra-sm .app-catalog__item-image img {
  margin-top: -9px;
  width: 82px;
  height: auto;
}

/* Catalog card like/bookmark button (port of CatalogLikeButton.vue) */
.material__like {
  position: absolute;
  top: 19px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}
.material__like svg {
  width: 21px;
  height: 21px;
  stroke: var(--brand-color) !important;
  transform: translateY(1px);
}
@media (hover: hover) and (pointer: fine) {
  .material__like:hover { background: var(--brand-color) !important; }
  .material__like:hover svg { stroke: var(--light-text-color) !important; }
}
.active__like { background: var(--brand-color) !important; }
.active__like svg { stroke: var(--light-text-color) !important; }

/* Cabinet role switch (Продавець / Учасник) — port of UserSidebar change-role */
.user-sidebar__head-role .active-role { text-decoration: underline; }
.user-sidebar__head-change-role a,
.user-sidebar__head-change-role .change-role-item {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.user-sidebar__head-change-role .change-role-item:hover { text-decoration: underline; }
