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

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

a {
  color: hsl(250, 84%, 54%);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --fw3-color-primary-hsl: 250, 84%, 54%;
  --fw3-color-bg-hsl: 0, 0%, 100%;
  --fw3-color-contrast-high-hsl: 230, 7%, 23%;
  --fw3-color-contrast-higher-hsl: 230, 13%, 9%;
  --fw3-color-error-hsl: 342, 89%, 48%;
  --fw3-color-contrast-medium-hsl: 225, 4%, 47%;
  --fw3-color-bg-dark-hsl: 240, 4%, 95%;
  --fw3-color-white-hsl: 0, 0%, 100%;
  --fw3-color-primary-darker-hsl: 250, 84%, 38%;
  --fw3-color-primary-light-hsl: 250, 84%, 60%;
  --fw3-color-contrast-lower-hsl: 240, 4%, 85%;
  --fw3-color-contrast-low-hsl: 240, 4%, 65%;

  /* spacing */
  --fw3-space-3xs: 0.25rem;
  --fw3-space-2xs: 0.375rem;
  --fw3-space-xs: 0.5rem;
  --fw3-space-sm: 0.75rem;
  --fw3-space-md: 1.25rem;

  /* typography */
  --fw3-text-sm: 0.833rem;
  --fw3-text-xs: 0.694rem;
  --fw3-text-md: 1.2rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --fw3-space-3xs: 0.375rem;
    --fw3-space-2xs: 0.5625rem;
    --fw3-space-xs: 0.75rem;
    --fw3-space-sm: 1.125rem;
    --fw3-space-md: 2rem;

    /* typography */
    --fw3-text-sm: 1rem;
    --fw3-text-xs: 0.8rem;
    --fw3-text-md: 1.5625rem;
  }
}

/* buttons */
.fw3-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  white-space: nowrap;
  text-decoration: none;
  background: hsl(var(--fw3-color-bg-dark-hsl));
  color: hsl(var(--fw3-color-contrast-higher-hsl));
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.2s ease;
  will-change: transform;
  padding: var(--fw3-space-2xs) var(--fw3-space-sm);
  border-radius: 0.25em;
}

.fw3-btn:focus-visible {
  box-shadow: 0px 0px 0px 2px hsl(var(--fw3-color-bg-hsl)), 0px 0px 0px 4px hsla(var(--fw3-color-contrast-higher-hsl), 0.15);
  outline: none;
}

.fw3-btn:active {
  transform: translateY(2px);
}

.fw3-btn--primary {
  background: hsl(var(--fw3-color-primary-hsl));
  color: hsl(var(--fw3-color-white-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--fw3-color-white-hsl), 0.15), 0px 1px 3px hsla(var(--fw3-color-primary-darker-hsl), 0.25), 0px 2px 6px hsla(var(--fw3-color-primary-darker-hsl), 0.1), 0px 6px 10px -2px hsla(var(--fw3-color-primary-darker-hsl), 0.25);
}

.fw3-btn--primary:hover {
  background: hsl(var(--fw3-color-primary-light-hsl));
  box-shadow: inset 0px 1px 0px hsla(var(--fw3-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--fw3-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--fw3-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--fw3-color-primary-darker-hsl), 0.25);
}

.fw3-btn--primary:focus {
  box-shadow: inset 0px 1px 0px hsla(var(--fw3-color-white-hsl), 0.15), 0px 1px 2px hsla(var(--fw3-color-primary-darker-hsl), 0.25), 0px 1px 4px hsla(var(--fw3-color-primary-darker-hsl), 0.1), 0px 3px 6px -2px hsla(var(--fw3-color-primary-darker-hsl), 0.25), 0px 0px 0px 2px hsl(var(--fw3-color-bg-hsl)), 0px 0px 0px 4px hsl(var(--fw3-color-primary-hsl));
}

/* form elements */
.fw3-form-control {
  font-size: 1em;
  padding: var(--fw3-space-2xs) var(--fw3-space-xs);
  background: hsl(var(--fw3-color-bg-dark-hsl));
  line-height: 1.2;
  box-shadow: inset 0px 0px 0px 1px hsl(var(--fw3-color-contrast-lower-hsl));
  transition: all 0.2s ease;
  border-radius: 0.25em;
}

.fw3-form-control::placeholder {
  opacity: 1;
  color: hsl(var(--fw3-color-contrast-low-hsl));
}

.fw3-form-control:focus, .fw3-form-control:focus-within {
  background: hsl(var(--fw3-color-bg-hsl));
  box-shadow: inset 0px 0px 0px 1px hsla(var(--fw3-color-contrast-lower-hsl), 0), 0px 0px 0px 2px hsl(var(--fw3-color-primary-hsl)), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  outline: none;
}

.fw3-form-control.fw3-form-control--error {
  box-shadow: inset 0px 0px 0px 1px hsla(var(--fw3-color-contrast-lower-hsl), 0), 0px 0px 0px 2px hsl(var(--fw3-color-error-hsl));
}

.fw3-form-control.fw3-form-control--error:focus, .fw3-form-control.fw3-form-control--error:focus-within {
  box-shadow: inset 0px 0px 0px 1px hsla(var(--fw3-color-contrast-lower-hsl), 0), 0px 0px 0px 2px hsl(var(--fw3-color-error-hsl)), 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.fw3-form-legend {
  color: hsl(var(--fw3-color-contrast-higher-hsl));
  line-height: 1.2;
  font-size: var(--fw3-text-md);
  margin-bottom: var(--fw3-space-sm);
}

.fw3-form-label {
  display: inline-block;
  font-size: var(--fw3-text-sm);
}

/* component */


/* utility classes */
.fw3-gap-md {
  gap: var(--fw3-space-md);
}

.fw3-flex-wrap {
  flex-wrap: wrap;
}

.fw3-flex {
  display: flex;
}

.fw3-margin-bottom-md {
  margin-bottom: var(--fw3-space-md);
}

.fw3-gap-3xs {
  gap: var(--fw3-space-3xs);
}

.fw3-flex-column {
  flex-direction: column;
}

.fw3-margin-top-2xs {
  margin-top: var(--fw3-space-2xs);
}

.fw3-color-contrast-medium {
  --fw3-color-o: 1;
  color: hsla(var(--fw3-color-contrast-medium-hsl), var(--fw3-color-o, 1));
}

.fw3-text-xs {
  font-size: var(--fw3-text-xs);
}

.fw3-width-100\% {
  width: 100%;
}

.fw3-margin-bottom-2xs {
  margin-bottom: var(--fw3-space-2xs);
}

.fw3-color-contrast-higher {
  --fw3-color-o: 1;
  color: hsla(var(--fw3-color-contrast-higher-hsl), var(--fw3-color-o, 1));
}

.fw3-text-sm {
  font-size: var(--fw3-text-sm);
}

.fw3-radius-md {
  border-radius: 0.25em;
}

.fw3-padding-xs {
  padding: var(--fw3-space-xs);
}

.fw3-bg-error {
  --fw3-bg-o: 1;
  background-color: hsla(var(--fw3-color-error-hsl), var(--fw3-bg-o, 1));
}

.fw3-gap-sm {
  gap: var(--fw3-space-sm);
}

.fw3-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.fw3-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

.fw3-bg-opacity-20\% {
  --fw3-bg-o: 0.2;
}

@media(min-width: 64rem){
  .fw3-col-6\@md {
    grid-column-end: span 6;
  }
}

#clear-filters {
  background-color: #808080;
  color: #ffffff;
}


.card-product .product-image {
  height: 100%;
}

/* Исправление смещения изображений внутри карточек товаров */
.card-product {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-product a {
  flex-grow: 1;
}

/* Исправление отступов у пагинации */
.pagination {
  margin-top: 20px;
}

.text-muted {
    color: #6c757d; /* или любой другой серый цвет, который вы предпочитаете */
}


