input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 56px;
  background: transparent !important;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    backdrop-filter 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 17, 0.62) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-category-links {
  display: none;
}

@media (min-width: 768px) {
  .header-category-links {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 24px;
    margin-left: 28px;
    min-width: 0;
  }

  .header-category-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
  }

  .header-category-links a:hover {
    color: #8403fc;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: 52px;
    background: transparent !important;
  }

  .site-header.is-scrolled {
    background: rgba(5, 7, 17, 0.68) !important;
  }
}

@keyframes fade-in {
  from {
      background-color: rgba(0, 0, 0, 0);
  }
  to {
      background-color: rgba(0, 0, 0, 0.8);
  }
}

@keyframes fade-out {
  from {
      background-color: rgba(0, 0, 0, 0.8);
  }
  to {
      background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes slide-in {
  from {
      transform: translateX(500px);
  }
  to {
      transform: translateX(0px);
  }
}

@keyframes slide-out {
  from {
      transform: translateX(0px);
  }
  to {
      transform: translateX(500px);
  }
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

#cart-drawer[data-state="open"] > div {
  animation: slide-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] > div {
  animation: slide-out 0.4s forwards;
}

.dialog[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

.dialog[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

.dialog[data-state="open"] > div {
  animation: dialog-in 0.2s forwards;
}

.dialog[data-state="closed"] > div {
  animation: dialog-out 0.2s forwards;
}

@keyframes dialog-in {
  from {
      opacity: 0;
      scale: 50%;
  }
  to {
      opacity: 1;
      scale: 100%;
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      scale: 100%;
  }
  to {
      opacity: 0;
      scale: 50%;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.home-hero-section {
  margin-top: calc(var(--site-header-height, 120px) * -1);
  padding-top: var(--site-header-height, 120px);
  background-color: #050711;
  isolation: isolate;
}

.home-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #050711;
  background-image: var(--background-image);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.home-hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(5, 7, 17, 0.72) 0%,
      rgba(5, 7, 17, 0.48) 34%,
      rgba(5, 7, 17, 0.84) 74%,
      #050711 100%
    ),
    linear-gradient(
      to right,
      rgba(5, 7, 17, 0.9) 0%,
      rgba(5, 7, 17, 0.34) 26%,
      rgba(5, 7, 17, 0.34) 74%,
      rgba(5, 7, 17, 0.9) 100%
    ),
    radial-gradient(
      ellipse at center top,
      rgba(5, 7, 17, 0.08) 0%,
      rgba(5, 7, 17, 0.28) 45%,
      rgba(5, 7, 17, 0.7) 100%
    );
  pointer-events: none;
}

.home-page-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  background-color: #050711;
}

.home-page-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #050711;
  background-image: var(--background-image);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.home-page-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(5, 7, 17, 0.72) 0%,
      rgba(5, 7, 17, 0.48) 34%,
      rgba(5, 7, 17, 0.84) 74%,
      #050711 100%
    ),
    linear-gradient(
      to right,
      rgba(5, 7, 17, 0.9) 0%,
      rgba(5, 7, 17, 0.34) 26%,
      rgba(5, 7, 17, 0.34) 74%,
      rgba(5, 7, 17, 0.9) 100%
    ),
    radial-gradient(
      ellipse at center top,
      rgba(5, 7, 17, 0.08) 0%,
      rgba(5, 7, 17, 0.28) 45%,
      rgba(5, 7, 17, 0.7) 100%
    );
  pointer-events: none;
}

.home-page-background > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .home-hero-background {
    background-position: center top;
  }

  .home-hero-background::before {
    background-image:
      linear-gradient(
        to bottom,
        rgba(5, 7, 17, 0.82) 0%,
        rgba(5, 7, 17, 0.6) 34%,
        rgba(5, 7, 17, 0.9) 76%,
        #050711 100%
      ),
      linear-gradient(
        to right,
        rgba(5, 7, 17, 0.92) 0%,
        rgba(5, 7, 17, 0.42) 24%,
        rgba(5, 7, 17, 0.42) 76%,
        rgba(5, 7, 17, 0.92) 100%
      );
  }
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}

.detail-dash {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, hsl(var(--foreground) / 0) 0%);
  background-position: center bottom;
  background-size: 16px;
  background-repeat: repeat-x;
  width: 100%;
  height: 1px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
}

@media (min-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
  }
}

@media (min-width: 1280px) {
  .category-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

.category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.category-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #0b0e18;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

.category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.category-card:hover .category-card__image {
  transform: translateY(-2px);
  border-color: rgba(132, 3, 252, 0.35);
  filter: brightness(1.06);
}

.category-card:hover .category-card__image img {
  transform: scale(1.025);
}

.category-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
}

.category-page__background {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: 430px;
  background-image:
    linear-gradient(
      to bottom,
      rgba(5, 7, 17, 0.34) 0%,
      rgba(5, 7, 17, 0.58) 42%,
      rgba(5, 7, 17, 0.88) 76%,
      #050711 100%
    ),
    linear-gradient(
      to right,
      rgba(5, 7, 17, 0.88) 0%,
      rgba(5, 7, 17, 0.36) 28%,
      rgba(5, 7, 17, 0.36) 72%,
      rgba(5, 7, 17, 0.88) 100%
    ),
    var(--category-banner);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.82;
  pointer-events: none;
}

.category-page__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center top,
      rgba(132, 3, 252, 0.08) 0%,
      rgba(5, 7, 17, 0.08) 36%,
      rgba(5, 7, 17, 0.74) 100%
    );
  pointer-events: none;
}

@media (max-width: 640px) {
  .category-page__background {
    height: 340px;
    background-image:
      linear-gradient(
        to bottom,
        rgba(5, 7, 17, 0.46) 0%,
        rgba(5, 7, 17, 0.68) 48%,
        rgba(5, 7, 17, 0.92) 82%,
        #050711 100%
      ),
      linear-gradient(
        to right,
        rgba(5, 7, 17, 0.9) 0%,
        rgba(5, 7, 17, 0.42) 50%,
        rgba(5, 7, 17, 0.9) 100%
      ),
      var(--category-banner);
  }
}

.category-page__header {
  margin-bottom: 28px;
}

.category-page__title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.category-page__back {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(11, 14, 24, 0.74);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.category-page__back:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.category-page__title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.category-page__description {
  margin-top: 10px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.6;
}

.category-shop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.category-filters--desktop {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-filter-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0b0e18;
  padding: 18px;
}

.category-filter-panel__title {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-filter-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-filter-subnav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 2px 0 8px 12px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.category-filter-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.category-filter-link:hover {
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.86);
}

.category-filter-link.is-active {
  border-color: rgba(132, 3, 252, 0.34);
  background: rgba(132, 3, 252, 0.18);
  color: #fff;
}

.category-filter-link--sub {
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.category-search-field {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: border-color 0.18s ease;
}

.category-search-field:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
}

.category-search-field input,
.category-filter-input,
.category-sort-select {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  box-shadow: none;
}

.category-search-field input:focus,
.category-search-field input:focus-visible,
.category-list-search input:focus,
.category-list-search input:focus-visible,
.category-filter-input:focus,
.category-filter-input:focus-visible,
.category-sort-select:focus,
.category-sort-select:focus-visible {
  outline: none;
  box-shadow: none;
}

.category-search-field input {
  height: 100%;
  padding: 0;
}

.category-search-field input::placeholder,
.category-filter-input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.category-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.category-filter-input,
.category-sort-select {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 12px;
  transition: border-color 0.18s ease;
}

.category-sort-select {
  min-width: 178px;
  background: #0b0e18;
  cursor: pointer;
}

.category-sort-select--full {
  min-width: 0;
}

.category-filter-input:focus,
.category-sort-select:focus {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.category-filter-apply,
.category-filter-clear {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.category-filter-apply {
  width: 100%;
  margin-top: 12px;
  background: #8403fc;
  color: #fff;
}

.category-filter-apply:hover {
  background: #7a08e9;
}

.category-filter-clear {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
}

.category-filter-clear:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.82);
}

.category-results {
  min-width: 0;
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.category-results__count {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 600;
}

.category-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-mobile-filter-button {
  display: none;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #0b0e18;
  padding: 0 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.category-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-active-filters[hidden] {
  display: none;
}

.category-list-search {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0b0e18;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.5);
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

.category-list-search:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: #0d101b;
  box-shadow: none;
}

.category-list-search input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.category-list-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.category-filter-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-product-item[hidden] {
  display: none !important;
}

.category-product-item[data-featured-product="true"] .product-card::before {
  content: "★";
  position: absolute;
  top: 50px;
  right: 10px;
  left: auto;
  z-index: 6;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 11, 21, 0.68);
  color: rgba(255, 255, 255, 0.76);
  padding: 0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.category-product-item[data-featured-product="true"] .product-card::after {
  content: "★";
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 7;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  line-height: 1;
}

.category-product-item[data-featured-product="true"] .product-card::after {
  content: none;
}

.category-product-item[data-featured-product="true"] .product-card::before,
.category-product-item[data-featured-product="true"] .product-card::after {
  content: none;
}

.category-product-item[data-featured-product="true"] .product-card__image::before {
  content: none;
}

.category-product-item[data-featured-product="true"] .product-card__image::after {
  content: none;
}

.product-card__featured {
  position: absolute;
  top: 48px;
  right: 10px;
  z-index: 5;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 11, 21, 0.68);
  color: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.product-card__featured::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 0;
  right: calc(100% + 8px);
  width: max-content;
  max-width: 180px;
  pointer-events: none;
  transform: translateY(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(12, 15, 26, 0.96);
  color: #fff;
  opacity: 0;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.product-card__featured:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.category-no-results {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.category-no-results[hidden] {
  display: none;
}

.category-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  pointer-events: none;
}

.category-filter-drawer[data-state="open"] {
  display: block;
  pointer-events: auto;
}

.category-filter-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.category-filter-drawer__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  max-height: 85vh;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #050711;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.46);
}

.category-filter-drawer__header,
.category-filter-drawer__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.category-filter-drawer__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.category-filter-drawer__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 14px;
}

.category-filter-drawer__close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.category-filter-drawer__close:hover {
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.86);
}

.category-filter-drawer__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050711;
}

.category-filter-drawer__footer .category-filter-clear,
.category-filter-drawer__footer .category-filter-apply {
  margin-top: 0;
}

@media (min-width: 1500px) {
  .category-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .category-shop {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
  }

  .category-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .category-shop {
    display: block;
  }

  .category-filters--desktop {
    display: none;
  }

  .category-toolbar {
    align-items: stretch;
  }

  .category-toolbar__actions {
    width: 100%;
  }

  .category-mobile-filter-button {
    display: inline-flex;
    flex: 1;
  }

  .category-sort-select {
    flex: 1;
    min-width: 0;
  }

  .category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .category-toolbar {
    flex-direction: column;
  }

  .category-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 319px) {
  .category-product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0b0e18;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 3, 252, 0.45);
  background: #101321;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.product-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #070a13;
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__delivery {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(8, 11, 21, 0.72);
  color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}

.product-card__delivery::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 0;
  right: calc(100% + 8px);
  width: max-content;
  max-width: 180px;
  pointer-events: none;
  transform: translateY(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(12, 15, 26, 0.96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  color: #fff;
  opacity: 0;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.product-card__delivery:hover,
.product-card:hover .product-card__delivery {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(15, 18, 31, 0.84);
  color: #fff;
}

.product-card__delivery--manual {
  color: rgba(255, 255, 255, 0.72);
}

.product-card__delivery--manual:hover,
.product-card:hover .product-card__delivery--manual {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(15, 18, 31, 0.84);
  color: #fff;
}

.product-card__delivery:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card__soldout {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.92);
  padding: 6px 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.product-card__title {
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__price-block {
  display: flex;
  margin-top: auto;
  padding-top: 14px;
  flex-direction: column;
  gap: 4px;
}

.product-card__compare-row {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.product-card__compare {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: line-through;
}

.product-card__discount {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--primary) / 0.35);
  border-radius: 999px;
  background: hsl(var(--primary) / 0.18);
  padding: 3px 7px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.product-card__price {
  color: #4ade80;
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.05;
}

.product-card__pix {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  line-height: 1.3;
}

.best-sellers-section {
  overflow: hidden;
}

.best-sellers-slider {
  padding: 2px 1px 8px;
}

.best-sellers-slide {
  height: auto;
  min-width: 0;
}

.best-sellers-slide .product-card {
  height: 100%;
}

.product-card--best-seller {
  background: linear-gradient(180deg, rgba(16, 19, 33, 0.96) 0%, #0b0e18 100%);
}

.product-card--best-seller:hover {
  transform: translateY(-2px);
  border-color: rgba(132, 3, 252, 0.34);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.product-card--best-seller .product-card__image {
  border-radius: 13px;
}

.product-card--best-seller:hover .product-card__image img {
  transform: scale(1.025);
}

.home-category-showcase {
  overflow: visible;
}

.home-category-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-category-showcase__header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-category-showcase__more {
  flex: 0 0 auto;
  height: 36px;
  white-space: nowrap;
}

.home-category-products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-top: 16px;
}

.home-category-products > .product-card {
  width: 100%;
  min-width: 0;
}

.support-info-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.support-info-card > :not(.support-info-card__bg-icon) {
  position: relative;
  z-index: 1;
}

.support-info-card__icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: hsl(var(--primary));
  stroke-width: 2;
}

.support-info-card__bg-icon {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 0;
  width: 72px;
  height: 72px;
  color: rgba(255, 255, 255, 0.075);
  opacity: 1;
  pointer-events: none;
  stroke-width: 1.7;
}

.support-info-card__bg-icon--large {
  right: 18px;
  top: 16px;
  width: 98px;
  height: 98px;
  opacity: 1;
}

.terms-content {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

.terms-content :is(h1, h2, h3, h4) {
  margin: 1.5em 0 0.55em;
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
}

.terms-content :is(h1, h2):first-child {
  margin-top: 0;
}

.terms-content p {
  margin: 0.85em 0;
}

.terms-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-content :is(ul, ol) {
  margin: 0.85em 0;
  padding-left: 1.25rem;
}

.terms-content li + li {
  margin-top: 0.35rem;
}

@media (min-width: 768px) {
  .home-category-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
  }
}

@media (min-width: 1024px) {
  .home-category-products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-category-showcase {
    overflow: hidden;
  }

  .home-category-showcase__header {
    align-items: flex-end;
    margin-bottom: 12px;
  }

  .home-category-showcase__header h3 {
    font-size: 1.25rem;
  }

  .home-category-showcase__more {
    height: 34px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.82rem;
  }

  .home-category-products {
    display: flex !important;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 1px 10px;
    scroll-padding-left: 1px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-category-products::-webkit-scrollbar {
    display: none;
  }

  .home-category-products > .product-card {
    flex: 0 0 calc((100% - 12px) / 2);
    scroll-snap-align: start;
  }
}

.cheap-products-section,
.customer-feedback-section {
  overflow: hidden;
}

.cheap-products-section {
  padding-bottom: 8px;
}

.cheap-products-header,
.customer-feedback-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cheap-products-header h2,
.customer-feedback-section__header h2 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.cheap-products-header h2 {
  font-size: 1.5rem;
}

.customer-feedback-section__header h2 {
  font-size: clamp(2rem, 3vw, 2.45rem);
}

.cheap-products-header p {
  margin-top: 8px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cheap-products-controls,
.customer-feedback-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.cheap-products-loading {
  display: flex;
  min-height: 264px;
  align-items: center;
  justify-content: center;
}

.cheap-products-grid,
.customer-feedback-grid {
  padding: 2px 1px 8px;
}

.cheap-products-page,
.customer-feedback-card {
  height: auto;
  min-width: 0;
}

.cheap-products-page {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cheap-product-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  height: 100%;
  min-height: 126px;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0b0e18;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.cheap-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.08);
  background: #0e111d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.cheap-product-card__image {
  display: block;
  width: 104px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #070a13;
}

.cheap-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.cheap-product-card:hover .cheap-product-card__image img {
  transform: scale(1.035);
}

.cheap-product-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding-right: 4px;
}

.cheap-product-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cheap-product-card__price {
  margin-top: 10px;
  color: #4ade80;
  font-size: 1.33rem;
  font-weight: 900;
  line-height: 1;
}

.cheap-product-card__delivery {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cheap-product-card__delivery svg {
  flex: 0 0 auto;
  color: #8403fc;
}

.customer-feedback-section {
  padding-top: 22px;
  padding-bottom: 18px;
}

.customer-feedback-card {
  position: relative;
  display: flex;
  min-height: 138px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0b0e18;
  padding: 18px 18px 16px;
  color: #fff;
}

.customer-feedback-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-feedback-card__avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.84);
}

.customer-feedback-card strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
}

.customer-feedback-card__stars {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-top: 7px;
  color: #8403fc;
}

.customer-feedback-card__stars svg {
  width: 11px;
  height: 11px;
}

.customer-feedback-card__stars svg {
  fill: currentColor;
}

.customer-feedback-card blockquote {
  position: relative;
  z-index: 1;
  margin: 32px 0 0;
  max-width: calc(100% - 44px);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.customer-feedback-card__like {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 64px !important;
  height: 64px !important;
  color: rgba(255, 255, 255, 0.075);
  stroke-width: 1.45;
}

.customer-feedback-section__note {
  margin-top: 14px;
  color: rgba(180, 190, 215, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cheap-products-header,
  .customer-feedback-section__header {
    align-items: flex-start;
  }

  .cheap-products-header h2,
  .customer-feedback-section__header h2 {
    font-size: 1.26rem;
  }

  .cheap-products-page {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cheap-products-header p {
    font-size: 0.84rem;
  }

  .cheap-product-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 108px;
    border-radius: 12px;
    padding: 9px;
  }

  .cheap-product-card__image {
    width: 88px;
    border-radius: 9px;
  }

  .cheap-product-card__title {
    font-size: 0.84rem;
  }

  .cheap-product-card__price {
    font-size: 1.14rem;
  }

  .cheap-product-card__delivery {
    font-size: 0.7rem;
  }

  .customer-feedback-card {
    min-height: 166px;
    border-radius: 14px;
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .product-card {
    gap: 10px;
    border-radius: 14px;
    padding: 8px;
  }

  .product-card__image {
    border-radius: 12px;
  }

  .product-card__delivery {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  .product-card__delivery::after,
  .product-card__featured::after {
    content: none;
    display: none;
  }

  .product-card__title {
    min-height: 36px;
    font-size: 0.88rem;
  }

  .product-card__pix {
    font-size: 0.75rem;
  }

  .product-card__price {
    font-size: 1.22rem;
  }
}

/* Sidebar categories */

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 0.25rem;
}

.cat-dropdown {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

.cat-dropdown:not(.hidden) {
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

#mobile-categories-dropdown:not(.hidden) {
  animation: slideInMobile 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInMobile {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-subcategories:not(.hidden) {
  animation: slideInSub 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInSub {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Sidebar categories */
