body {
  width: 100%;
  height: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: #444;
}

legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

label {
  font-size: 12px;
  font-weight: normal;
}

/* Chrome border line */
button:focus {
  outline: none !important;
}

/* container */
#container {
  width: 100%;
  min-height: 100%;
  position: absolute;
  margin-bottom: 300px;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 400px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 320px;
  margin-left: -160px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item > a, #top .list-inline-item .dropdown > a, #top .list-inline-item .dropdown > span {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}

/* logo */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}

#logo img {
  max-width: 200px;
}

@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
/* search */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}

#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}

/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}

.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}

.nav-tabs {
  margin-bottom: 15px;
}

.form-check .form-check-input {
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */
footer {
  border: 1px solid #000000;
  position: absolute;
  bottom: -1px;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}

footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}
.breadcrumb i {
  font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}

.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}
.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star + .fa-star {
  color: #E69500;
}

/* product list */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/* LEGALIZ - dark background test */

body {
  background: #08090d;
}

#container {
  background: #08090d;
}

/* LEGALIZ - header test */

#top {
  background: #08090d;
  border-bottom: 1px solid #1a2733;
}

#top .list-inline-item > a,
#top .list-inline-item .dropdown > a,
#top .list-inline-item .dropdown > span {
  color: #b7c0cc;
}

header {
  background: #0b0e14;
  border-bottom: 1px solid #18232d;
}

/* LEGALIZ - neon search */

#search .form-control-lg {
  height: 48px;
  background: #11151d;
  color: #ffffff;
  border: 1px solid #18bfff;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 0 10px rgba(24, 191, 255, 0.15);
}

#search .form-control-lg::placeholder {
  color: #8d96a6;
}

#search .form-control-lg:focus {
  border-color: #20f5c4;
  box-shadow:
    0 0 8px rgba(32, 245, 196, 0.35),
    0 0 20px rgba(24, 191, 255, 0.12);
}

#search .btn-lg {
  height: 48px;
  background: #11151d;
  color: #20f5c4;
  border: 1px solid #18bfff;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  text-shadow: 0 0 8px rgba(32, 245, 196, 0.55);
}

#search .btn-lg:hover {
  background: #161c25;
  color: #ff2bd6;
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.25);
}

/* LEGALIZ - search */
#search input {
  background: #11151d !important;
  color: #ffffff !important;
  border: 1px solid #18bfff !important;
}

#search input::placeholder {
  color: #8d96a6 !important;
}

#search button {
  background: #11151d !important;
  color: #20f5c4 !important;
  border-color: #18bfff !important;
}

#search input:focus {
  border-color: #20f5c4 !important;
  box-shadow: 0 0 12px rgba(32, 245, 196, 0.3) !important;
}

/* LEGALIZ - NEON MENU */

#menu {
  background: #0d1118 !important;
  background-image: linear-gradient(
    90deg,
    rgba(255, 43, 214, 0.10),
    rgba(24, 191, 255, 0.12),
    rgba(32, 245, 196, 0.10)
  ) !important;
  border: 1px solid rgba(24, 191, 255, 0.45) !important;
  border-radius: 10px !important;
  box-shadow:
    0 0 12px rgba(24, 191, 255, 0.12),
    0 0 22px rgba(255, 43, 214, 0.08);
}

#menu .navbar-nav > li > a {
  color: #ffffff !important;
  text-shadow: none !important;
  transition: all 0.2s ease;
}

#menu .navbar-nav > li > a:hover {
  color: #20f5c4 !important;
  background: rgba(32, 245, 196, 0.08) !important;
  text-shadow: 0 0 8px rgba(32, 245, 196, 0.7);
}

#menu .dropdown-menu {
  background: #0d1118 !important;
  border: 1px solid rgba(24, 191, 255, 0.4) !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(24, 191, 255, 0.12);
}

#menu .dropdown-item {
  color: #ffffff !important;
  background: transparent !important;
}

#menu .dropdown-item:hover {
  color: #ff2bd6 !important;
  background: rgba(255, 43, 214, 0.08) !important;
}

#category {
  color: #ffffff !important;
}

/* LEGALIZ - readable text on dark theme */

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

.product-thumb h4,
.product-thumb .description,
.price {
  color: #ffffff;
}

.breadcrumb {
  background: #11151d;
  border-color: rgba(24, 191, 255, 0.25);
}

.breadcrumb > li.breadcrumb-item {
  text-shadow: none;
}

.breadcrumb a {
  color: #20f5c4;
}

#content {
  color: #ffffff;
}

/* LEGALIZ - PRODUCT CARDS */

.product-thumb {
  background: #11151d;
  border: 1px solid rgba(24, 191, 255, 0.28);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 12px rgba(24, 191, 255, 0.06),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.product-thumb:hover {
  border-color: rgba(255, 43, 214, 0.55);
  box-shadow:
    0 0 14px rgba(255, 43, 214, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

.product-thumb .image {
  background: #0b0e14;
  padding: 12px;
}

.product-thumb .image img {
  max-width: 100%;
  transition: transform 0.25s ease;
}

.product-thumb:hover .image img {
  transform: scale(1.03);
}

.product-thumb .description {
  color: #ffffff;
}

.product-thumb .description h4 {
  color: #ffffff;
}

.product-thumb .description h4 a {
  color: #ffffff;
  text-decoration: none;
}

.product-thumb .description h4 a:hover {
  color: #20f5c4;
  text-shadow: 0 0 8px rgba(32, 245, 196, 0.45);
}

.product-thumb .button {
  background: #0b0e14;
}

.product-thumb .button button {
  background: #0b0e14;
  color: #b7c0cc;
  border-color: rgba(24, 191, 255, 0.18);
}

.product-thumb .button button:hover {
  background: rgba(24, 191, 255, 0.08);
  color: #20f5c4;
}

.price {
  color: #20f5c4;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(32, 245, 196, 0.25);
}

.price-new {
  color: #ff2bd6;
}

.price-old {
  color: #777f8c;
}

/* LEGALIZ - LEFT CATEGORY BOX */

#column-left .list-group-item,
#column-left .list-group-item.active {
  background: #11151d !important;
  color: #ffffff !important;
  border: 1px solid rgba(24, 191, 255, 0.35) !important;
  border-radius: 10px;
}

#column-left .list-group-item:hover {
  background: rgba(255, 43, 214, 0.10) !important;
  color: #20f5c4 !important;
  border-color: rgba(255, 43, 214, 0.5) !important;
}

#column-left .list-group-item a {
  color: #ffffff !important;
}

#column-left .list-group-item a:hover {
  color: #20f5c4 !important;
}
/* LEGALIZ — transparent product image */
.product-image,
.product-image .img-thumbnail,
.product-image img,
.img-thumbnail {
  background: transparent !important;
}

.product-image .img-thumbnail {
  border: 0 !important;
  box-shadow: none !important;
}
/* LEGALIZ — прибираємо білий блок навколо фото товару */
#product-product .thumbnail,
#product-product .thumbnails,
#product-product .image,
#product-product .image a {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* LEGALIZ — прибираємо рамку навколо головного фото */
#content .image,
#content .image a,
#content .image img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
#legaliz-main-product-image {
  max-width: 100% !important;
  max-height: 600px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* LEGALIZ — неонові картки смаків */

.legaliz-flavors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.legaliz-flavor {
  position: relative;
  margin: 0 !important;
}

.legaliz-flavor .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.legaliz-flavor .form-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  padding: 12px;
  background: #0d1118;
  border: 1px solid rgba(24, 191, 255, 0.35);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.legaliz-flavor .form-check-label:hover {
  border-color: #20f5c4;
  box-shadow:
    0 0 12px rgba(32, 245, 196, 0.25),
    0 0 24px rgba(24, 191, 255, 0.12);
  transform: translateY(-2px);
}

.legaliz-flavor .legaliz-flavor-image {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-bottom: 8px;
  background: transparent;
}

.legaliz-flavor-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.legaliz-flavor .form-check-input:checked + .form-check-label {
  border-color: #ff2bd6;
  box-shadow:
    0 0 10px rgba(255, 43, 214, 0.45),
    0 0 24px rgba(32, 245, 196, 0.18);
  background: rgba(255, 43, 214, 0.06);
}

.legaliz-flavor .form-check-input:checked + .form-check-label .legaliz-flavor-name {
  color: #20f5c4;
  text-shadow: 0 0 7px rgba(32, 245, 196, 0.5);
}

@media (max-width: 575px) {
  .legaliz-flavors {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .legaliz-flavor .form-check-label {
    min-height: 135px;
    padding: 8px;
  }

  .legaliz-flavor .legaliz-flavor-image {
    width: 75px;
    height: 75px;
  }
}
/* LEGALIZ — неонова кнопка КУПИТИ */

#button-cart {
  background: linear-gradient(90deg, #18bfff, #20f5c4) !important;
  color: #08090d !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow:
    0 0 10px rgba(24, 191, 255, 0.35),
    0 0 22px rgba(32, 245, 196, 0.18);
  transition: all 0.25s ease !important;
}

#button-cart:hover {
  background: linear-gradient(90deg, #ff2bd6, #20f5c4) !important;
  color: #ffffff !important;
  box-shadow:
    0 0 14px rgba(255, 43, 214, 0.5),
    0 0 28px rgba(32, 245, 196, 0.25);
  transform: translateY(-2px);
}

#button-cart:active {
  transform: translateY(0);
}
/* LEGALIZ — неонове поле кількості */
#form-product .input-group input[type="text"],
#form-product .input-group input[type="number"] {
  background: #11151d !important;
  color: #ffffff !important;
  border: 1px solid rgba(24, 191, 255, 0.45) !important;
  box-shadow: inset 0 0 8px rgba(24, 191, 255, 0.08);
}

#form-product .input-group input:focus {
  background: #11151d !important;
  color: #ffffff !important;
  border-color: #20f5c4 !important;
  box-shadow:
    0 0 10px rgba(32, 245, 196, 0.25),
    inset 0 0 8px rgba(24, 191, 255, 0.08) !important;
}

#form-product .input-group-text {
  background: #11151d !important;
  color: #ffffff !important;
  border-color: rgba(24, 191, 255, 0.45) !important;
}
/* LEGALIZ — покращене неонове підсвічування смаків */

.legaliz-flavor .form-check-label {
  position: relative;
  overflow: hidden;
}

.legaliz-flavor .form-check-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-shadow:
    inset 0 0 18px rgba(24, 191, 255, 0.10),
    inset 0 0 35px rgba(255, 43, 214, 0.06);
}

.legaliz-flavor .form-check-label:hover::before {
  opacity: 1;
}

.legaliz-flavor .form-check-label:hover {
  border-color: #20f5c4 !important;
  box-shadow:
    0 0 12px rgba(32, 245, 196, 0.30),
    0 0 28px rgba(24, 191, 255, 0.15);
}

.legaliz-flavor .form-check-input:checked + .form-check-label {
  border-color: #ff2bd6 !important;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 43, 214, 0.10),
      rgba(13, 17, 24, 0.98) 70%
    ) !important;
  box-shadow:
    0 0 10px rgba(255, 43, 214, 0.55),
    0 0 24px rgba(255, 43, 214, 0.28),
    inset 0 0 18px rgba(255, 43, 214, 0.08);
}

.legaliz-flavor .form-check-input:checked + .form-check-label::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ff2bd6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(255, 43, 214, 0.7);
}

.legaliz-flavor .legaliz-flavor-name {
  transition: all 0.25s ease;
}

.legaliz-flavor .form-check-input:checked + .form-check-label .legaliz-flavor-name {
  color: #20f5c4 !important;
  text-shadow:
    0 0 6px rgba(32, 245, 196, 0.7),
    0 0 14px rgba(32, 245, 196, 0.35);
}
/* LEGALIZ — категорії на головній */

.legaliz-home-categories {
  margin: 35px 0 45px;
}

.legaliz-home-categories-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 25px;
  text-shadow:
    0 0 8px rgba(24, 191, 255, 0.6),
    0 0 18px rgba(255, 43, 214, 0.25);
}

.legaliz-home-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.legaliz-home-category {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 260px;
  padding: 15px;
  overflow: hidden;
  text-decoration: none !important;
  background:
    radial-gradient(
      circle at center,
      rgba(24, 191, 255, 0.07),
      rgba(13, 17, 24, 0.98) 70%
    );
  border: 1px solid rgba(24, 191, 255, 0.35);
  border-radius: 14px;
  box-shadow:
    0 0 10px rgba(24, 191, 255, 0.08),
    inset 0 0 20px rgba(255, 43, 214, 0.03);
  transition: all 0.25s ease;
}

.legaliz-home-category:hover {
  transform: translateY(-5px);
  border-color: #20f5c4;
  box-shadow:
    0 0 14px rgba(32, 245, 196, 0.35),
    0 0 30px rgba(24, 191, 255, 0.16),
    inset 0 0 25px rgba(255, 43, 214, 0.06);
}

.legaliz-home-category-image {
  width: 100%;
  height: 205px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legaliz-home-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

.legaliz-home-category:hover .legaliz-home-category-image img {
  transform: scale(1.04);
}

.legaliz-home-category-name {
  display: block;
  width: 100%;
  min-height: 38px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin-top: 8px;
  text-shadow: 0 0 6px rgba(24, 191, 255, 0.25);
  transition: all 0.25s ease;
}

.legaliz-home-category:hover .legaliz-home-category-name {
  color: #20f5c4;
  text-shadow:
    0 0 7px rgba(32, 245, 196, 0.7),
    0 0 15px rgba(32, 245, 196, 0.25);
}


/* Планшет */

@media (max-width: 991px) {
  .legaliz-home-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Телефон */

@media (max-width: 767px) {
  .legaliz-home-categories {
    margin: 25px 0 35px;
  }

  .legaliz-home-categories-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .legaliz-home-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .legaliz-home-category {
    min-height: 210px;
    padding: 10px;
    border-radius: 12px;
  }

  .legaliz-home-category-image {
    height: 160px;
  }

  .legaliz-home-category-name {
    font-size: 13px;
    min-height: 34px;
  }
}