@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

@font-face {
  font-family: "Street Soul Cyrillic";
  src: url("../fonts/STREETSOULCYRILLIC_REGULAR.woff2") format("woff2"), url("../fonts/STREETSOULCYRILLIC_REGULAR.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: "AR One Sans", sans-serif;
  line-height: 1.6;
  background-color: #F3F5F2;
  color: #2D2D2D;
  padding: 24px 0;
}

a {
  color: #2D2D2D;
  text-decoration: none;
}

a:hover {
  color: #444;
}

.mobile-cart-button {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: white;
    border: 1px solid #E0E0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .mobile-cart-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }

  .mobile-cart-button__icon {
    width: 24px;
    height: 24px;
  }

  .mobile-cart-button__count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #2D2D2D;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
  }
}

h2 {
  font-size: 48px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 320px) {
  h2 {
    font-size: 46px;
  }
}

section {
  margin-top: 80px;
}

@media (max-width: 320px) {
  section {
    margin-top: 24px;
  }
}

/* Age verification modal */
.age-verification-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.age-verification-modal__content {
  background-color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.age-verification-modal__title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #2D2D2D;
  font-family: "Bebas Neue", sans-serif;
}

.age-verification-modal__text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #2D2D2D;
}

.age-verification-modal__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.age-verification-modal__button {
  padding: 12px 24px;
  border: 2px solid #2D2D2D;
  border-radius: 8px;
  background-color: white;
  color: #2D2D2D;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-verification-modal__button--yes {
  background-color: #2D2D2D;
  color: white;
}

.age-verification-modal__button--yes:hover {
  background-color: #444;
  border-color: #444;
}

.age-verification-modal__button--no:hover {
  background-color: #f0f0f0;
}

.age-verification-modal.show {
  display: flex;
}

.page {
  display: grid;
  grid-template-areas: "header" "main" "footer";
  min-height: 100vh;
}

.header {
  grid-area: header;
}

.main {
  grid-area: main;
}

.footer {
  grid-area: footer;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
}

@media (max-width: 1193px) and (min-width: 769px) {
  .container {
    padding: 0 32px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 426px) {
  .container {
    margin: 0 0;
  }
}

.cart-page {
  text-align: center;
}

@media (max-width: 768px) {
  .cart-page {
    padding: 0 16px;
  }
}

@media (max-width: 425px) {
  .cart-page {
    padding: 0;
  }
}


.cart-empty__title {
  font-size: 32px;
}

.cart-empty__shop-btn {
  display: block;
  text-align: center;
  margin-top: 16px;
}

.cart-container {
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 32px;
  text-align: left;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .cart-container {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .cart-container {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
  }
}

.cart-header,
.cart-item {
  display: grid;
  grid-template-columns: 3fr 1.5fr 1.5fr 1fr 40px;
  align-items: center;
  justify-items: start;
  gap: 20px;
  padding: 16px 0;
}

@media (max-width: 768px) {

  .cart-header,
  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }
}

.cart-header {
  padding-bottom: 16px;
  margin-bottom: 16px;
  font-weight: 300;
  color: #a0a0a0;
}

@media (max-width: 768px) {
  .cart-header {
    display: none;
  }
}

.cart-item:not(:last-child) {
  border-bottom: 1px solid #F0F0F0;
}

@media (max-width: 768px) {
  .cart-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    position: relative;
  }
}

.cart-item__product {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .cart-item__product {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .cart-item__product {
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .cart-item__color,
  .cart-item__quantity,
  .cart-item__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .cart-item__color::before,
  .cart-item__quantity::before,
  .cart-item__total::before {
    content: attr(data-label);
    font-weight: 500;
    color: #a0a0a0;
    font-size: 14px;
  }
}

.cart-item__image {
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (max-width: 768px) {
  .cart-item__image {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .cart-item__image {
    width: 80px;
    height: 80px;
  }
}

.cart-item__title {
  font-size: 18px;
  font-weight: 400;
  font-family: "AR One Sans", sans-serif;
}

@media (max-width: 768px) {
  .cart-item__title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cart-item__title {
    font-size: 16px;
  }
}

.cart-item__total {
  font-family: "Laila", serif;
  font-weight: 600;
}

@media (max-width: 768px) {
  .cart-item__total {
    font-size: 18px;
    font-weight: 600;
  }
}

@media (max-width: 768px) {

  .cart-item__color,
  .cart-item__quantity,
  .cart-item__total {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }

  .cart-item__color::before,
  .cart-item__quantity::before,
  .cart-item__total::before {
    content: attr(data-label);
    font-weight: 500;
    color: #a0a0a0;
    font-size: 14px;
  }
}

.cart-item__remove {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E0E0E0;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

@media (max-width: 768px) {
  .cart-item__remove {
    position: absolute;
    top: 26px;
    right: 0;
    width: 32px;
    height: 32px;
  }
}

.cart-item__remove img {
  display: none;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .cart-item__remove img {
    width: 12px;
    height: 12px;
  }
}

.cart-item__remove:hover {
  background-color: #F5F5F5;
  border-color: #ccc;
}

.cart-item__remove.delete-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background-color: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

@media (max-width: 426px) {
  .cart-item__remove.delete-btn {
    position: absolute;
    top: 48px;
    right: 0;
  }
}

.cart-item__remove.delete-btn:hover {
  background-color: #ffdddd;
  transform: scale(1.05);
}

.cart-item__remove.delete-btn:hover>span {
  background-color: #d00;
}

.cart-item__remove.delete-btn>span {
  position: absolute;
  width: 14px;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.cart-item__remove.delete-btn>span:first-child {
  transform: rotate(45deg);
}

.cart-item__remove.delete-btn>span:last-child {
  transform: rotate(-45deg);
}

.cart-item__details {
  display: contents;
}

@media (max-width: 768px) {
  .cart-item__details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cart-item__details {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.cart-actions {
  margin: 0 auto;
  margin-top: 24px;
  text-align: center;
}

.color-switcher-cart {
  position: relative;
}

.color-switcher-cart__selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #2d2d2d;
  border-radius: 50px;
  cursor: pointer;
  background-color: #fff;
  width: 120px;
  text-align: left;
  transition: border-color 0.3s ease;
}

@media (max-width: 768px) {
  .color-switcher-cart__selected {
    width: 100px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .color-switcher-cart__selected {
    width: 90px;
    padding: 6px 10px;
    font-size: 14px;
  }
}

.color-switcher-cart__selected:hover {
  border-color: #B0B0B0;
}

.color-switcher-cart__selected__selected-text {
  font-size: 14px;
}

.color-switcher-cart__options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 120px;
  background-color: #fff;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  list-style: none;
  padding: 0;
  margin-top: 8px;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .color-switcher-cart__options {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .color-switcher-cart__options {
    width: 90px;
  }
}

.color-switcher-cart__option {
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .color-switcher-cart__option {
    padding: 6px 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .color-switcher-cart__option {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.color-switcher-cart__option:hover {
  background-color: #f0f0f0;
}

.color-switcher-cart.is-open .color-switcher-cart__options {
  display: block;
}

.color-switcher-cart .color-switcher-cart__arrow {
  transition: transform 0.3s ease;
}

.color-switcher-cart.is-open .color-switcher-cart__arrow {
  transform: rotate(180deg);
}

.cart-summary {
  border-top: 1px solid #F0F0F0;
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 20px;
}

@media (max-width: 768px) {
  .cart-summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .cart-summary {
    padding-top: 16px;
    margin-top: 16px;
    gap: 12px;
  }
}

.cart-summary__line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: auto;
  margin-bottom: 0;
  gap: 10px;
  border: 1px solid #2D2D2D;
  border-radius: 50px;
  padding: 4px 12px;
}

.cart-summary__line:last-child {
  margin-bottom: 0;
}

.cart-summary__line--total {
  font-weight: 600;
}

@media (max-width: 768px) {
  .cart-summary__line--total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #000000;
  }
}

@media (max-width: 768px) {
  .cart-summary__line {
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .cart-summary__line--total {
    margin-top: 16px;
    border-top: 1px solid #000000;
  }
}

.cart-summary__label {
  font-weight: 500;
  font-size: 16px;
  color: #616161;
}

.cart-summary__line--total .cart-summary__label {
  font-size: 18px;
}

@media (max-width: 768px) {
  .cart-summary__label {
    font-size: 16px;
  }

  .cart-summary__line--total .cart-summary__label {
    font-size: 18px;
  }
}

.cart-summary__value {
  font-family: "Laila", serif;
  font-weight: 600;
  font-size: 18px;
}

.cart-summary__line--total .cart-summary__value {
  font-size: 18px;
}

@media (max-width: 768px) {
  .cart-summary__value {
    font-size: 18px;
  }

  .cart-summary__line--total .cart-summary__value {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .cart-summary__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .cart-summary__price {
    font-family: "Laila", serif;
    font-weight: 600;
    font-size: 24px;
  }
}

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .quantity-stepper {
    justify-content: space-between;
    width: 100%;
  }
}

.quantity-stepper__value {
  min-width: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .quantity-stepper__value {
    font-size: 14px;
  }
}

.quantity-stepper__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #2d2d2d;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .quantity-stepper__btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

.quantity-stepper__btn:hover {
  background-color: #f0f0f0;
}

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .product-page {
    gap: 20px;
    margin-top: 20px;
  }
}

.product-page__image-container {
  position: relative;
  width: 580px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .product-page__image-container {
    width: 100%;
    height: 300px;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .product-page__image-container {
    height: 250px;
    max-width: 300px;
  }
}

.product-page__image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/product-page__image-container-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

.product-page__image {
  width: 64%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
}

.product-page__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .product-page__gallery {
    order: 1;
  }
}

.product-page__thumbnails {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .product-page__thumbnails {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .product-page__thumbnails {
    gap: 8px;
  }
}

.product-page__thumbnail {
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  background-color: #f8f8f8;
}

@media (max-width: 768px) {
  .product-page__thumbnail {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .product-page__thumbnail {
    width: 60px;
    height: 60px;
  }
}

.product-page__thumbnail:hover {
  border-color: #999;
}

.product-page__thumbnail.active {
  border-color: #2D2D2D;
}

.product-page__details {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .product-page__details {
    order: 2;
  }
}

.product-page__manufacturer {
  font-family: "AR One Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .product-page__manufacturer {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .product-page__manufacturer {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.product-page__title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-page__title {
    font-size: 32px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .product-page__title {
    font-size: 44px;
    margin-bottom: 16px;
    margin-top: 22px;
  }
}

.product-page__price-section {
  margin-bottom: 24px;
}

.product-page__price-label {
  margin-bottom: 8px;
  font-weight: 500;
}

.product-page__price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: "Laila", sans-serif;
}

.product-page__price {
  font-size: 18px;
  font-weight: 500;
  color: #2D2D2D;
}

.product-page__tax-note {
  font-size: 14px;
  color: #C8C8C8;
}

.product-page__description {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-page__description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .product-page__description {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 16px;
  }
}

.product-page__options-group {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .product-page__options-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .product-page__options-group {
    gap: 12px;
    margin-bottom: 16px;
  }
}

.product-page__actions {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .product-page__actions {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .product-page__actions {
    gap: 12px;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  justify-self: start;
}

.logo__crown {
  width: 43px;
}

@media (max-width: 767px) {
  .logo__crown {
    width: 36px;
  }
}

.logo__x {
  width: 14px;
  margin: 0 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.logo__text {
  font-family: "Street Soul Cyrillic", sans-serif;
  font-size: 36px;
  color: #1E1E1E;
}

.logo__text span {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.logo:hover .logo__x {
  opacity: 1;
}

.logo:hover .logo__text span {
  opacity: 1;
}

.logo:hover .logo__text span:nth-child(1) {
  transition-delay: 0.1s;
}

.logo:hover .logo__text span:nth-child(2) {
  transition-delay: 0.2s;
}

.logo:hover .logo__text span:nth-child(3) {
  transition-delay: 0.3s;
}

.logo:hover .logo__text span:nth-child(4) {
  transition-delay: 0.4s;
}

.logo:hover .logo__text span:nth-child(5) {
  transition-delay: 0.5s;
}

.logo:hover .logo__text span:nth-child(6) {
  transition-delay: 0.6s;
}

.logo:hover .logo__text span:nth-child(7) {
  transition-delay: 0.7s;
}

.header {
  position: sticky;
  margin: 0 auto;
  top: 24px;
  padding: 10px 40px;
  border-radius: 60px;
  border: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 50%, rgba(250, 252, 250, 0.3) 50%), linear-gradient(to bottom, white, transparent);
  background-clip: padding-box, border-box;
  background-origin: border-box;
  backdrop-filter: blur(2px);
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.header__burger {
  display: none;
  position: relative;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}

.header__burger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #2d2d2d;
  transition: all 0.3s ease;
}

.header__burger span:nth-child(1) {
  top: 0;
}

.header__burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__burger span:nth-child(3) {
  bottom: 0;
}

@media (max-width: 767px) {
  .header {
    width: 100%;
    border-radius: 0;
    top: 16px;
    padding: 10px 24px;
    border-radius: 50px;
  }

  .header__inner {
    grid-template-columns: 1fr 1fr;
  }

  .logo__text {
    display: none;
  }

  .nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 395px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .nav.nav--open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 300px;
  }

  .nav__link {
    font-size: 24px;
    color: #2d2d2d;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #2d2d2d;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .nav__close:hover {
    background-color: rgba(45, 45, 45, 0.1);
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    list-style: none;
    max-width: 300px;
  }

  .nav__link {
    font-size: 24px;
    color: #2d2d2d;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #2d2d2d;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .nav__close:hover {
    background-color: rgba(45, 45, 45, 0.1);
  }

  .cart {
    display: none;
  }

  .cart--mobile {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .cart--mobile .cart__link {
    color: #2d2d2d;
  }

  .cart--mobile .cart__icon {
    width: 24px;
    height: 24px;
  }

  .cart--mobile .cart__count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #2d2d2d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
  }

  .header__burger {
    display: block;
    z-index: 1002;
    position: relative;
  }

  .header__burger span {
    transform-origin: center;
    border-radius: 1px;
  }

  .header__burger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .header__burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .header__burger.is-active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

.nav__close {
  display: none;
}

@media (max-width: 768px) {
  .nav {
    width: calc(100vw - 30px);
  }
}

@media (max-width: 320px) {
  .header {
    padding: 14px 20px;
  }

  .logo {
    max-height: 60px;
  }

  .logo__crown {
    width: 36px;
  }

  .logo__x {
    display: none;
  }

  .logo__text {
    display: none;
  }
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  gap: 40px;
  padding: 0;
}

.nav__link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  font-weight: 100;
}

.nav__link::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #2D2D2D;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.cart {
  justify-self: end;
}

.cart__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.cart__icon {
  width: 21px;
  margin-right: 5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", sans-serif;
}

.price {
  font-family: "Laila", sans-serif;
}

.hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-block__title {
  max-width: 1090px;
  margin: 0 auto;
  font-size: 88px;
  line-height: 1.2;
  font-family: "Bebas Neue", sans-serif;
}

@media (max-width: 1193px) and (min-width: 769px) {
  .hero-block__title {
    padding: 0 32px;
  }
}

.hero-block__title-highlight {
  font-family: "Street Soul Cyrillic", sans-serif;
  font-size: 94px;
  letter-spacing: 4px;
  margin: 0 30px 0 10px;
}

.hero-block__image {
  margin-top: 48px;
  width: 32px;
}

.hero-block__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  max-width: 100%;
}

.hero-block__button {
  position: relative;
  background: none;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #2D2D2D;
  font-size: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-block__button:hover {
  background-color: #464646;
  color: #fff;
}

.hero-block__button:active {
  background-color: #242424;
  color: #fff;
}

.hero-block__button--active {
  background-color: #242424;
  color: #fff;
}

.hero-block__button-image {
  position: absolute;
  bottom: 5px;
  right: 14px;
  max-width: 40px;
  z-index: 1;
}

.hero-block__button-span {
  margin-right: 40px;
}

@media (max-width: 767px) {
  .hero-block {
    margin-top: 24px;
  }

  .hero-block__title {
    font-size: 46px;
  }

  .hero-block__title-highlight {
    font-size: 54px;
    margin: 0 10px 0 10px;
  }

  .hero-block__image {
    margin-top: 40px;
  }

  .hero-block__buttons {
    margin-top: 40px;
  }
}

@media (max-width: 320px) {
  .hero-block__title {
    line-height: 50px;
  }

  .hero-block__button {
    padding: 6px 12px;
  }

  .hero-block__button:first-child {
    margin-left: 15px;
  }

  .hero-block__button:last-child {
    margin-right: 15px;
  }

  .hero-block__button-image {
    max-width: 36px;
    right: 8px;
  }

  .hero-block__button-span {
    font-size: 16px;
    margin-right: 36px;
  }

  .hero-block__buttons {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-top: 16px;
  }

  .hero-block__buttons::-webkit-scrollbar {
    display: none;
  }
}

.category-preview {
  text-align: center;
  position: relative;
}

.category-preview__title {
  font-family: "Bebas Neue", sans-serif;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  margin: 0 auto;
}

.category-preview__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-30%);
  width: 20px;
  height: 60px;
  background-image: url("../img/h2-before.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.category-preview__title::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 100%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-image: url("../img/h2-after.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.category-preview__show-more {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  color: #2D2D2D;
  border: 1px solid #2D2D2D;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.category-preview__show-more:hover {
  background-color: #464646;
  color: #fff;
  border-color: #464646;
}

.category-preview__show-more:active {
  background-color: #242424;
  color: #fff;
}

.category-preview__nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #2d2d2d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.category-preview__nav-button:hover {
  background-color: #464646;
  border-color: #464646;
}

.category-preview__nav-button:hover::before {
  border-color: #fff;
}

.category-preview__nav-button:active {
  background-color: #242424;
}

.category-preview__nav-button--prev {
  left: -24px;
}

.category-preview__nav-button--prev::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  transform: rotate(45deg);
  margin-left: 4px;
}

.category-preview__nav-button--next {
  right: -24px;
}

.category-preview__nav-button--next::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #2d2d2d;
  border-bottom: 2px solid #2d2d2d;
  transform: rotate(-45deg);
  margin-right: 4px;
}

@media (max-width: 767px) {
  .category-preview__nav-button {
    display: none;
  }
}

@media (max-width: 426px) {
  .category-preview__nav-button {
    display: none;
  }
}

.category-preview .product-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  margin-top: 40px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-preview .product-grid::-webkit-scrollbar {
  display: none;
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "AR One Sans", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn--primary {
  background-color: #242424;
  color: white;
}

.btn--primary:hover {
  background-color: #444;
}

.btn--secondary {
  background-color: transparent;
  color: #242424;
  border-color: #242424;
}

.btn--secondary:hover {
  background-color: #f8f8f8;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #2D2D2D;
  border-radius: 50px;
  padding: 4px;
  height: 48px;
}

@media (max-width: 768px) {
  .quantity-stepper {
    height: auto;
  }
}

.quantity-stepper__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
  .quantity-stepper__btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 425px) {
  .quantity-stepper__btn {
    width: 24px;
    height: 24px;
  }
}

.quantity-stepper__btn:hover {
  background-color: #f8f8f8;
}

.quantity-stepper__value {
  font-size: 15px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

@media (max-width: 320px) {
  .quantity-stepper__value {
    font-size: 12px;
  }
}

.quantity-selector__label {
  margin-bottom: 16px;
  font-weight: 500;
}

.color-switcher__label {
  margin-bottom: 16px;
  font-weight: 500;
}

.color-switcher__colors {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid #2D2D2D;
  border-radius: 50px;
  padding: 4px;
  height: 48px;
}

.color-switcher__highlighter {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: white;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.color-switcher__option {
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 50px;
  position: relative;
  z-index: 2;
  color: #2D2D2D;
  transition: color 0.3s ease;
}

.color-switcher__option.active {
  background-color: #fff !important;
  color: #2D2D2D !important;
}

.color-switcher--widget .color-switcher__option:hover {
  background-color: #f2f2f2 !important;
}

.color-switcher--widget .color-switcher__option.active {
  background-color: #e8e8e8 !important;
}

.product-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  width: 280px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9e9e9;
  padding: 24px;
  text-align: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

.product-card:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #2D2D2D;
}

.product-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  z-index: 2;
}

.product-card__image {
  width: 100%;
  height: 200px;
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.product-card__title {
  font-weight: 500;
  font-family: "AR One Sans";
  font-size: 18px;
  position: relative;
  display: inline-block;
}

.product-card__title::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #2D2D2D;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.product-card__link:hover .product-card__title::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2D2D2D;
  margin-bottom: 6px;
}

.product-card__button {
  margin-top: auto;
  width: 100%;
  padding: 10px;
  border: 1px solid #2D2D2D;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.3);
  color: #2D2D2D;
}

.product-card__button:hover {
  background-color: #464646;
  color: #fff;
  border-color: #464646;
}

.product-card__button:active {
  background-color: #242424;
  color: #fff;
}

.product-specs {
  margin-top: 80px;
  padding: 0 70px;
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-gap: 48px;
  column-gap: 48px;
}

@media (max-width: 768px) {
  .product-specs {
    margin-top: 40px;
    padding: 0 16px;
    -moz-column-count: 1;
    column-count: 1;
    -moz-column-gap: 0;
    column-gap: 0;
  }
}

@media (max-width: 480px) {
  .product-specs {
    margin-top: 30px;
  }
}

.product-specs__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 18px;
  border-bottom: 1px solid #E7E7E7;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .product-specs__item {
    font-size: 16px;
    padding: 8px 0;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .product-specs__item {
    font-size: 16px;
    padding: 6px 0;
    margin-bottom: 10px;
  }
}

.product-specs__item-title {
  font-weight: 500;
}

.product-description {
  margin-top: 50px;
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-gap: 48px;
  column-gap: 48px;
}

@media (max-width: 768px) {
  .product-description {
    margin-top: 30px;
    -moz-column-count: 1;
    column-count: 1;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .product-description {
    margin-top: 20px;
  }
}

.product-description p {
  font-size: 18px;
  line-height: 26px;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
}

@media (max-width: 768px) {
  .product-description p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .product-description p {
    font-size: 16px;
    line-height: 22px;
  }
}

.product-description p:not(:last-child) {
  margin-bottom: 1em;
}

.purchase-widget {
  margin: 80px auto 0;
  padding: 24px;
  max-width: 852px;
  width: 100%;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  background-color: #fff;
}

@media (max-width: 768px) {
  .purchase-widget {
    margin: 40px auto 0;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-left: 16px;
    margin-right: 16px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 480px) {
  .purchase-widget {
    margin: 30px auto 0;
    padding: 16px;
    gap: 16px;
    margin-left: 16px;
    margin-right: 16px;
  }
}

.purchase-widget__options-group {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .purchase-widget__options-group {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    flex-shrink: 1;
  }
}

@media (max-width: 480px) {
  .purchase-widget__options-group {
    gap: 12px;
  }
}

.purchase-widget__purchase-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

@media (max-width: 768px) {
  .purchase-widget__purchase-details {
    gap: 12px;
  }
}

.purchase-widget__price-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .purchase-widget__price-section {
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .purchase-widget__price-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.purchase-widget__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

@media (max-width: 768px) {
  .purchase-widget__actions {
    flex-direction: column;
    gap: 12px;
  }
}

.purchase-widget__actions .btn {
  flex-grow: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .purchase-widget__actions .btn {
    white-space: normal;
  }
}

.catalog-layout {
  display: flex;
  gap: 40px;
}

@media (max-width: 768px) {
  .catalog-layout {
    flex-direction: column;
    gap: 24px;
  }
}

.category-sidebar {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-sidebar__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px 0;
  color: #2D2D2D;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .category-sidebar {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "AR One Sans", sans-serif;
  font-size: 16px;
  color: #2D2D2D;
}

.category-btn__text {
  font-weight: 400;
}

.category-btn:hover {
  border-color: #2D2D2D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-btn.active {
  background: #2D2D2D;
  color: #fff;
  border-color: #2D2D2D;
}

@media (max-width: 768px) {
  .category-btn {
    width: 100%;
  }
}

.footer {
  background-color: #2D2D2D;
  color: #fff;
  padding: 34px;
  margin-top: 100px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.footer__bg-image {
  position: absolute;
  right: -5px;
  bottom: 10%;
  max-height: 172px;
  width: auto;
  z-index: 0;
  opacity: 0.05;
}

.footer__container {
  max-width: 1200px;
  display: flex;
  gap: 140px;
  position: relative;
  z-index: 1;
}

.footer__col:first-child {
  flex-shrink: 0;
  -moz-column-gap: 15px;
  column-gap: 15px;
}

.footer__col:nth-child(2) {
  flex: 1;
}

.footer__col:last-child {
  flex: 1;
}

.footer__col:last-child .footer__nav-link {
  font-size: 14px;
}

.footer__col:last-child .footer__nav-item:not(:last-child) {
  margin-bottom: 8px;
}

.footer .logo--footer {
  height: 48px;
  color: white;
  font-family: "Street Soul Cyrillic", sans-serif;
  font-size: 40px;
  font-weight: 200;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.footer__social-link {
  color: #fff;
  text-decoration: none;
}

.footer__social-link svg {
  display: block;
}

.footer__social-link svg path,
.footer__social-link svg rect {
  transition: all 0.3s ease-in-out;
}

.footer__social-link:hover svg path,
.footer__social-link:hover svg rect {
  fill: #50996A;
  stroke: #50996A;
}

.footer__social-icon--x {
  height: 13px;
  filter: brightness(0) invert(1) opacity(0.5);
  cursor: default;
}

.footer__copy {
  margin-top: 0px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__copy-desktop {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.footer__nav--categories {
  max-height: 98px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px 10px;
}

@media (max-width: 1024px) {
  .footer__nav--categories {
    max-height: 147px;
  }
}

.footer__nav-item--categories {
  max-width: 120px;
}

.footer__nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer .footer__nav-link {
  color: #fff;
}

.footer .footer__nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer .logo .logo__x {
  opacity: 1;
}

.footer .logo .logo__text span {
  opacity: 1;
}

.footer .logo:hover .logo__x {
  opacity: 1;
}

.footer .logo:hover .logo__text span {
  opacity: 1;
  transition-delay: 0s;
}

.footer .logo__text {
  color: #2D2D2D;
}

.footer__copy {
  display: none;
  font-size: 12px;
  color: #6D6D6D;
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .footer {
    padding: 24px 15px;
    margin-top: 60px;
  }

  .footer__container {
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
  }

  .footer__col {
    flex: none;
    width: 100%;
  }

  .footer__col:first-child .logo--footer {
    height: auto;
  }

  .footer__col:first-child .logo--footer .logo__crown {
    width: 36px;
  }

  .footer__col:first-child .logo--footer .logo__text {
    font-size: 28px;
  }

  .footer__col:first-child .footer__socials {
    margin-top: 16px;
  }

  .footer__copy {
    display: block;
    order: 99;
    text-align: center;
    margin-top: 0px;
  }

  .footer__copy-desktop {
    display: none;
  }

  .footer__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .footer__nav--categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
    max-height: none;
  }

  .footer__nav-item--categories {
    max-width: none;
  }

  .footer__nav-link {
    font-size: 14px;
  }
}

.footer__nav .menu-item a {
  color: #fff !important;
}

.footer__nav .menu-item a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer__nav .menu-item.menu-item-type-post_type a {
  color: #fff !important;
  font-size: 14px;

}

.footer__nav .menu-item.menu-item-type-post_type a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.faq {
  margin-top: 60px;
}

.faq__title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 0 24px;
  max-width: 86%;
  margin: 0 auto;
}

.faq-item:not(:last-child) {
  margin-bottom: 24px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question__text {
  font-size: 18px;
  font-weight: 500;
  font-family: "AR One Sans";
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-answer {
  line-height: 1.6;
  font-family: "AR One Sans";
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

.faq-question[aria-expanded=true] .faq-icon {
  transform: rotate(45deg);
}

.faq-question[aria-expanded=true] .faq-icon__text {
  font-size: 16px;
}

@media (max-width: 320px) {
  .faq-item {
    max-width: 100%;
  }

  .faq-question__text {
    font-size: 16px;
    font-weight: 500;
    font-family: "AR One Sans";
  }
}

.catalog {
  display: block;
}

.catalog__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .catalog__categories {
    margin-top: 40px;
    gap: 12px;
    padding: 0 16px;
  }
}

.catalog__category-button {
  position: relative;
  background: none;
  border: 1px solid #242424;
  border-radius: 8px;
  color: #2D2D2D;
  font-size: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 768px) {
  .catalog__category-button {
    font-size: 16px;
    padding: 8px 16px;
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .catalog__category-button {
    flex: 1 1 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 10px 16px;
  }
}

.catalog__category-button:hover {
  background-color: #464646;
  color: #fff;
}

.catalog__category-button:active {
  background-color: #242424;
  color: #fff;
}

.catalog__category-button--active {
  background-color: #242424;
  color: #fff;
}

.catalog__category-image {
  position: absolute;
  bottom: 5px;
  right: 14px;
  max-width: 40px;
  z-index: 1;
}

@media (max-width: 768px) {
  .catalog__category-image {
    max-width: 30px;
    right: 10px;
    bottom: 3px;
  }
}

@media (max-width: 480px) {
  .catalog__category-image {
    max-width: 25px;
    right: 8px;
  }
}

.catalog__category-span {
  margin-right: 40px;
}

@media (max-width: 768px) {
  .catalog__category-span {
    margin-right: 30px;
  }
}

@media (max-width: 480px) {
  .catalog__category-span {
    margin-right: 25px;
  }
}

.catalog .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .catalog .product-grid {
    gap: 1rem;
    margin-top: 30px;
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .catalog .product-grid {
    gap: 1rem;
    margin-top: 20px;
  }
}

.catalog .product-grid>.product-card {
  flex: 1 1 calc(25% - 2rem);
}

@media (max-width: 1024px) {
  .catalog .product-grid>.product-card {
    flex: 1 1 calc(33.333% - 2rem);
  }
}

@media (max-width: 768px) {
  .catalog .product-grid>.product-card {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 480px) {
  .catalog .product-grid>.product-card {
    flex: 1 1 100%;
  }
}

.catalog-page {
  padding: 40px 0;
  margin-top: 0;
}

.catalog-page__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 767px) {
  .catalog-page__container {
    padding: 0 15px;
  }
}

.catalog-page__title {
  font-size: 48px;
  margin-bottom: 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .catalog-page__title {
    font-size: 36px;
    margin-bottom: 24px;
  }
}

.catalog-page .catalog {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}

@media (max-width: 1024px) {
  .catalog-page .catalog {
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .catalog-page .catalog {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.catalog-page .catalog__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 767px) {
  .catalog-page .catalog__sidebar {
    gap: 24px;
  }
}

.catalog-page .catalog__filter {
  padding: 16px 0;
}

.catalog-page .catalog__filter:not(:last-child) {
  margin-bottom: 20px;
}

.catalog-page .catalog__filter-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: "Bebas Neue", sans-serif;
}

.catalog-page .catalog__categories-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-page .catalog__category-button {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #242424;
  border-radius: 8px;
  color: #2D2D2D;
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-page .catalog__category-button:hover {
  background-color: #464646;
  color: #fff;
}

.catalog-page .catalog__category-button:active {
  background-color: #242424;
  color: #fff;
}

.catalog-page .catalog__category-button--active {
  background-color: #242424;
  color: #fff;
}

.catalog-page .catalog__category-image {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
  object-fit: contain;
  flex-shrink: 0;
}

.catalog-page .catalog__category-span {
  flex: 1;
  text-align: left;
}

.catalog-page .catalog__content {
  min-width: 0;
}

.catalog-page .catalog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 767px) {
  .catalog-page .catalog__header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.catalog-page .catalog__results-count {
  font-size: 16px;
  color: #666;
}

.catalog-page .catalog__sort-select {
  padding: 8px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.catalog-page .catalog__sort-select:focus {
  border-color: #2d2d2d;
}

.catalog-page .catalog__no-products {
  text-align: center;
  padding: 80px 20px;
}

.catalog-page .catalog__no-products h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.catalog-page .catalog__no-products p {
  color: #666;
}

.catalog-page .catalog__pagination {
  margin-top: 48px;
}

.catalog-page .catalog__pagination-list {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.catalog-page .catalog__pagination-item a,
.catalog-page .catalog__pagination-item span {
  display: block;
  padding: 8px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  color: #2d2d2d;
  text-decoration: none;
  transition: all 0.3s ease;
}

.catalog-page .catalog__pagination-item a:hover,
.catalog-page .catalog__pagination-item span:hover {
  background-color: #464646;
  color: #fff;
  border-color: #464646;
}

.catalog-page .catalog__pagination-item a.current,
.catalog-page .catalog__pagination-item span.current {
  background-color: #242424;
  color: #fff;
  border-color: #242424;
}

.catalog-page .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  -moz-column-gap: 24px;
  column-gap: 24px;
  row-gap: 24px;
  flex: 1;
}

@media (max-width: 1024px) {
  .catalog-page .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .catalog-page .product-grid {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 16px;
  }
}

@media (max-width: 480px) {
  .catalog-page .product-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-page .product-card {
  width: auto;
}