.shop-page {
  background: var(--ct-bg);
}

.shop-catalog {
  overflow: clip;
}

.shop-catalog .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-hero {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  overflow: hidden;
  color: var(--ct-on-dark);
  background:
    radial-gradient(circle at 18% 20%, rgb(var(--ct-rgb-primary) / 0.17), transparent 28%),
    linear-gradient(125deg, #07111b 0%, #0d1b28 52%, #102a27 100%);
}

.shop-hero::before,
.shop-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.shop-hero::before {
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to left, #000, transparent 72%);
}

.shop-hero::after {
  width: 420px;
  height: 420px;
  left: -130px;
  bottom: -260px;
  border: 1px solid rgb(var(--ct-rgb-primary) / 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgb(var(--ct-rgb-primary) / 0.035);
}

.shop-hero__inner {
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: center;
  gap: 70px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.shop-hero__copy {
  max-width: 690px;
}

.shop-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.79rem;
}

.shop-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.shop-breadcrumbs a:hover {
  color: var(--ct-primary);
}

.shop-breadcrumbs i {
  font-size: 0.58rem;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ct-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-hero h1 {
  margin: 8px 0 5px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.shop-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: rgb(255 255 255 / 0.71);
  font-size: 0.96rem;
  line-height: 2;
}

.shop-search {
  width: min(100%, 650px);
  min-height: 54px;
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 0.17);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 20px 44px rgb(0 0 0 / 0.2);
  backdrop-filter: blur(13px);
}

.shop-search__field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px;
}

.shop-search__field i {
  color: var(--ct-primary);
}

.shop-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.shop-search input::placeholder {
  color: rgb(255 255 255 / 0.53);
}

.shop-search button,
.shop-price-filter button {
  border: 0;
  border-radius: 8px;
  color: var(--ct-primary-ink);
  background: var(--ct-primary);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.shop-search button {
  height: 42px;
}

.shop-search button:hover,
.shop-price-filter button:hover {
  background: var(--ct-primary-hover);
  transform: translateY(-1px);
}

.shop-hero__visual {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  justify-self: center;
}

.shop-hero__visual > i {
  position: relative;
  z-index: 2;
  color: var(--ct-primary);
  font-size: 7.3rem;
  filter: drop-shadow(0 20px 30px rgb(0 0 0 / 0.3));
  transform: rotate(-5deg);
}

.shop-hero__ring {
  position: absolute;
  inset: 20px;
  border: 1px solid rgb(var(--ct-rgb-primary) / 0.35);
  border-radius: 50%;
  box-shadow:
    inset 0 0 65px rgb(var(--ct-rgb-primary) / 0.07),
    0 0 0 25px rgb(255 255 255 / 0.025);
}

.shop-hero__chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 8px;
  color: #fff;
  background: rgb(9 18 27 / 0.78);
  box-shadow: 0 12px 24px rgb(0 0 0 / 0.22);
  font-size: 0.72rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.shop-hero__chip--top {
  top: 28px;
  right: -4px;
}

.shop-hero__chip--bottom {
  bottom: 24px;
  left: -8px;
}

.shop-section {
  padding: 54px 0 76px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.shop-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.shop-filter-panel {
  overflow: hidden;
  border: 1px solid var(--ct-border);
  border-radius: 11px;
  background: var(--ct-surface);
  box-shadow: var(--ct-shadow-xs);
}

.shop-filter-panel summary {
  min-height: 55px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ct-ink);
  border-bottom: 1px solid transparent;
  cursor: pointer;
  list-style: none;
  font-size: 0.87rem;
  font-weight: 800;
}

.shop-filter-panel summary::-webkit-details-marker {
  display: none;
}

.shop-filter-panel[open] summary {
  border-bottom-color: var(--ct-border-soft);
}

.shop-filter-panel summary span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.shop-filter-panel summary span i {
  color: var(--ct-primary-strong);
}

.shop-filter-panel summary > i {
  color: var(--ct-muted);
  font-size: 0.68rem;
  transition: transform 0.18s ease;
}

.shop-filter-panel[open] summary > i {
  transform: rotate(180deg);
}

.shop-filter-panel__body {
  padding: 12px;
}

.shop-category-list {
  display: grid;
  gap: 4px;
}

.shop-category-list > a {
  min-height: 42px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-radius: 8px;
  color: var(--ct-ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.shop-category-list > a span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.shop-category-list > a span i {
  width: 18px;
  color: var(--ct-muted);
  text-align: center;
  font-size: 0.68rem;
}

.shop-category-list > a > i {
  color: var(--ct-subtle);
  font-size: 0.58rem;
}

.shop-category-list > a:hover,
.shop-category-list > a.is-active {
  color: var(--ct-primary-strong);
  background: var(--ct-primary-soft);
}

.shop-category-list > a.is-active {
  font-weight: 800;
}

.shop-category-list > a.is-active span i {
  color: var(--ct-primary-strong);
}

.shop-sidebar__empty,
.shop-subcategories > p {
  margin: 6px 4px;
  color: var(--ct-muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.shop-subcategories {
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--ct-border-soft);
}

.shop-subcategories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 4px 9px;
  color: var(--ct-ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.shop-subcategories__head a {
  color: var(--ct-primary-strong);
  text-decoration: none;
  font-size: 0.68rem;
}

.shop-subcategories nav {
  display: grid;
  gap: 5px;
}

.shop-subcategories nav a {
  min-height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--ct-border-soft);
  border-radius: 7px;
  color: var(--ct-muted);
  background: var(--ct-surface-soft);
  text-decoration: none;
  font-size: 0.73rem;
}

.shop-subcategories nav a:hover {
  color: var(--ct-primary-strong);
  border-color: var(--ct-primary-border);
}

.shop-subcategories nav i {
  font-size: 0.62rem;
}

.shop-price-filter {
  display: grid;
  gap: 12px;
}

.shop-price-filter label {
  display: grid;
  gap: 6px;
  color: var(--ct-muted);
  font-size: 0.73rem;
}

.shop-price-input {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  background: var(--ct-surface-soft);
}

.shop-price-input:focus-within {
  border-color: var(--ct-primary-strong);
  box-shadow: 0 0 0 3px rgb(var(--ct-rgb-primary) / 0.1);
}

.shop-price-input input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ct-ink);
  background: transparent;
  box-shadow: none;
  direction: ltr;
  text-align: right;
  font-size: 0.82rem;
}

.shop-price-input small {
  flex: 0 0 auto;
  color: var(--ct-subtle);
  font-size: 0.67rem;
}

.shop-price-filter button {
  min-height: 42px;
  margin-top: 2px;
  font-size: 0.78rem;
}

.shop-clear-filters {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ct-danger-border);
  border-radius: 9px;
  color: var(--ct-danger);
  background: var(--ct-danger-soft);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 750;
}

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

.shop-results__head {
  min-height: 80px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ct-border);
  padding-bottom: 16px;
}

.shop-results__kicker {
  color: var(--ct-primary-strong);
  font-size: 0.71rem;
  font-weight: 850;
}

.shop-results__head h2 {
  margin: 3px 0 2px;
  color: var(--ct-ink);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.35;
}

.shop-results__head p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 0.8rem;
}

.shop-category-breadcrumb {
  max-width: 48%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ct-muted);
  font-size: 0.72rem;
}

.shop-category-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.shop-category-breadcrumb a:hover,
.shop-category-breadcrumb span {
  color: var(--ct-primary-strong);
}

.shop-category-breadcrumb i {
  font-size: 0.52rem;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ct-border);
  border-radius: 11px;
  background: var(--ct-surface);
  box-shadow: var(--ct-shadow-xs);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.shop-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--ct-primary-border);
  box-shadow: var(--ct-shadow-md);
}

.shop-product-card__media {
  position: relative;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--ct-border-soft);
  background:
    radial-gradient(circle at 50% 42%, rgb(var(--ct-rgb-primary) / 0.1), transparent 42%),
    var(--ct-surface-soft);
}

a.shop-product-card__media {
  color: inherit;
  text-decoration: none;
}

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

.shop-product-card:hover .shop-product-card__media img {
  transform: scale(1.045);
}

.shop-product-card__fallback {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ct-primary-border);
  border-radius: 50%;
  color: var(--ct-primary-strong);
  background: var(--ct-primary-soft);
  font-size: 2.2rem;
}

.shop-product-card__discount,
.shop-product-card__stock {
  position: absolute;
  top: 11px;
  min-height: 27px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  font-size: 0.67rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.shop-product-card__discount {
  right: 11px;
  color: #fff;
  background: rgb(180 35 24 / 0.92);
}

.shop-product-card__stock {
  left: 11px;
}

.shop-product-card__stock.is-available {
  color: var(--ct-success);
  border: 1px solid var(--ct-success-border);
  background: color-mix(in srgb, var(--ct-success-soft) 91%, transparent);
}

.shop-product-card__stock.is-unavailable {
  color: var(--ct-danger);
  border: 1px solid var(--ct-danger-border);
  background: color-mix(in srgb, var(--ct-danger-soft) 91%, transparent);
}

.shop-product-card__body {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.shop-product-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-product-card__meta span {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--ct-muted);
  background: var(--ct-surface-soft);
  font-size: 0.64rem;
}

.shop-product-card h3 {
  margin: 11px 0 5px;
  color: var(--ct-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.shop-product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.shop-product-card h3 a:hover {
  color: var(--ct-primary-strong);
}

.shop-product-card__body > p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 0.75rem;
  line-height: 1.9;
}

.shop-product-card__footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ct-border-soft);
}

.shop-product-card__price {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.shop-product-card__price small {
  color: var(--ct-subtle);
  font-size: 0.65rem;
}

.shop-product-card__price del {
  color: var(--ct-subtle);
  font-size: 0.69rem;
}

.shop-product-card__price strong {
  color: var(--ct-ink);
  font-size: 0.93rem;
}

.shop-product-card__availability {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 8px;
  color: var(--ct-primary-strong);
  background: var(--ct-primary-soft);
}

.shop-empty-state {
  grid-column: 1 / -1;
  min-height: 340px;
  padding: 45px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--ct-border);
  border-radius: 12px;
  background: var(--ct-surface);
}

.shop-empty-state > span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ct-primary-strong);
  background: var(--ct-primary-soft);
  font-size: 1.8rem;
}

.shop-empty-state h3 {
  margin: 17px 0 4px;
  color: var(--ct-ink);
}

.shop-empty-state p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 0.83rem;
}

.shop-empty-state a {
  margin-top: 17px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ct-primary-ink);
  background: var(--ct-primary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
}

.shop-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.shop-pagination a,
.shop-pagination span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  color: var(--ct-ink-soft);
  background: var(--ct-surface);
  text-decoration: none;
  font-size: 0.77rem;
}

.shop-pagination a:hover,
.shop-pagination span {
  color: var(--ct-primary-ink);
  border-color: var(--ct-primary);
  background: var(--ct-primary);
}

@media (max-width: 1080px) {
  .shop-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }

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

@media (max-width: 820px) {
  .shop-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 45px;
    padding-bottom: 48px;
  }

  .shop-hero__visual {
    display: none;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .shop-clear-filters {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shop-hero h1 {
    font-size: 2.25rem;
  }

  .shop-hero__copy > p {
    font-size: 0.88rem;
  }

  .shop-search {
    grid-template-columns: 1fr;
    padding: 7px;
  }

  .shop-search button {
    width: 100%;
  }

  .shop-section {
    padding-top: 34px;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .shop-clear-filters {
    grid-column: auto;
  }

  .shop-results__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-category-breadcrumb {
    max-width: 100%;
    justify-content: flex-start;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
  }

  .shop-product-card__media {
    aspect-ratio: 1.55 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-card,
  .shop-product-card__media img,
  .shop-search button,
  .shop-price-filter button,
  .shop-filter-panel summary > i {
    transition: none !important;
  }
}
