/* ============================================================
   Nexon Public Shop
   /shop
   /shop/category/{slug}
   /shop/product/{slug}
   ============================================================ */

.shop-page,
.shop-product-page {
  position: relative;
  display: block;
  overflow: hidden;
}

/* HERO */

.shop-hero,
.shop-product-hero {
  position: relative;
  padding: 34px 0 18px;
}

.shop-hero__shell,
.shop-product-hero__shell {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 46px;
  border-radius: 34px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.22), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.90);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.050);
}

.shop-hero__grid,
.shop-product-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}

.shop-hero__orb,
.shop-product-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.42;
  pointer-events: none;
}

.shop-hero__orb--one,
.shop-product-hero__orb--one {
  top: -90px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: rgba(34, 197, 94, 0.36);
}

.shop-hero__orb--two,
.shop-product-hero__orb--two {
  left: -70px;
  bottom: -70px;
  width: 270px;
  height: 270px;
  background: rgba(59, 130, 246, 0.30);
}

.shop-hero__content,
.shop-product-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
}

.shop-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(255, 255, 255, 0.055);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shop-hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.78);
}

.shop-hero__title,
.shop-product-hero__title {
  margin: 26px 0 0;
  color: #ffffff;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 950;
  line-height: 0.93;
  letter-spacing: -0.08em;
}

.shop-hero__title span {
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, #ffffff 0%, #86efac 34%, #60a5fa 72%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-hero__text,
.shop-product-hero__text {
  max-width: 840px;
  margin: 20px 0 0;
  color: rgba(219, 234, 254, 0.76);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 750;
}

.shop-hero__subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 750;
}

.shop-hero__subnav a {
  color: #86efac;
  text-decoration: none;
}

.shop-hero__subnav a:hover {
  color: #bbf7d0;
  text-decoration: underline;
}

.shop-hero__subnav-dot {
  color: rgba(148, 163, 184, 0.55);
  user-select: none;
}

.shop-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin-top: 26px;
}

.shop-stat {
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(147, 197, 253, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.045);
}

.shop-stat__label {
  display: block;
  color: rgba(203, 213, 225, 0.68);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shop-stat__value {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -0.045em;
  word-break: break-word;
}

.shop-stat__value--balance {
  color: #86efac;
  text-shadow: 0 0 22px rgba(34, 197, 94, 0.20);
}

.shop-stat--balance {
  border-color: rgba(34, 197, 94, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.045);
}

.shop-hero__actions,
.shop-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* SECTIONS */

.shop-section,
.shop-product-section {
  padding: 18px 0 48px;
}

.shop-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.shop-section-head__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.88);
}

.shop-section-head__title {
  margin: 0;
}

.shop-section-head__lead {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
  color: rgba(203, 213, 225, 0.72);
}

.shop-section-head__meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(219, 234, 254, 0.72);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

/* FEATURED */

.shop-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
  box-shadow:
    0 24px 75px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  text-decoration: none;
  color: inherit;
  outline: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.shop-featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 239, 172, 0.28);
  box-shadow:
    0 30px 88px rgba(0, 0, 0, 0.36),
    0 0 40px rgba(34, 197, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.shop-featured-card:focus-visible {
  border-color: rgba(134, 239, 172, 0.45);
  box-shadow:
    0 24px 75px rgba(0, 0, 0, 0.30),
    0 0 0 3px rgba(34, 197, 94, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.shop-featured-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.18), transparent 44%),
    rgba(15, 23, 42, 0.92);
}

.shop-featured-card__media img,
.shop-product-card__media img,
.shop-product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-featured-card__placeholder,
.shop-product-card__placeholder,
.shop-product-cover__placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  height: 100%;
  min-height: inherit;
  color: rgba(219, 234, 254, 0.72);
  text-align: center;
}

.shop-featured-card__placeholder span,
.shop-product-card__placeholder span,
.shop-product-cover__placeholder span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 28px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #86efac;
  font-size: 34px;
  font-weight: 950;
}

.shop-featured-card__placeholder strong,
.shop-product-cover__placeholder strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.shop-featured-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.shop-featured-card__meta,
.shop-product-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(203, 213, 225, 0.68);
  font-size: 13px;
  font-weight: 850;
}

.shop-featured-card__meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(219, 234, 254, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-featured-card__title {
  margin: 18px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 950;
  color: #ffffff;
}

.shop-featured-card:hover .shop-featured-card__title {
  color: #ecfdf5;
}

.shop-category-block__title a,
.shop-child-category__head a {
  color: #ffffff;
  text-decoration: none;
}

.shop-category-block__title a:hover,
.shop-child-category__head a:hover {
  color: #86efac;
}

.shop-featured-card__text {
  margin: 18px 0 24px;
  color: rgba(219, 234, 254, 0.76);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}

.shop-featured-card__bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.shop-featured-card__cta {
  pointer-events: none;
}

.shop-featured-card__price {
  color: #86efac;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

/* CATALOG */

.shop-platforms {
  display: grid;
  gap: 22px;
}

.shop-platform {
  padding: 26px;
  border-radius: 32px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
  box-shadow:
    0 20px 65px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.shop-platform--bukkit {
  border-color: rgba(34, 197, 94, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.10), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
}

.shop-platform--forge {
  border-color: rgba(168, 85, 247, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.12), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.10), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
}

.shop-platform__head,
.shop-category-block__head,
.shop-child-category__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.shop-platform__label {
  color: #86efac;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-platform__title {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.shop-platform__badge,
.shop-category-block__icon,
.shop-section-head__meta {
  flex-shrink: 0;
}

.shop-platform__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(219, 234, 254, 0.72);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.shop-platform__empty {
  margin-top: 18px;
  color: rgba(219, 234, 254, 0.70);
  font-weight: 700;
}

.shop-category-blocks {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.shop-category-block {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.shop-category-block__head {
  margin-bottom: 18px;
}

.shop-category-block__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  border: 1px solid rgba(34, 197, 94, 0.20);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.20), rgba(37, 99, 235, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #bbf7d0;
  font-size: 22px;
  font-weight: 950;
}

.shop-category-block__title {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.shop-category-block__text {
  margin: 9px 0 0;
  color: rgba(219, 234, 254, 0.70);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.shop-child-category {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(147, 197, 253, 0.10);
}

.shop-child-category__head {
  margin-bottom: 14px;
}

.shop-child-category__head h5 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.shop-child-category__head span {
  color: rgba(219, 234, 254, 0.62);
  font-size: 13px;
  font-weight: 850;
}

/* PRODUCT CARDS */

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

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

.shop-product-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.78);
  box-shadow:
    0 14px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.040);
  text-decoration: none;
  color: inherit;
  outline: none;
  display: block;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.28);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(34, 197, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.shop-product-card:focus-visible {
  border-color: rgba(134, 239, 172, 0.38);
  box-shadow:
    0 14px 45px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(34, 197, 94, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.040);
}

.shop-product-card:hover .shop-product-card__title {
  color: #ecfdf5;
}

.shop-product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.18), transparent 42%),
    rgba(15, 23, 42, 0.88);
}

.shop-product-card__tag {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 28px);
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: none;
  backdrop-filter: blur(14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-product-card__body {
  padding: 20px;
}

.shop-product-card__category {
  color: rgba(203, 213, 225, 0.62);
  font-size: 13px;
  font-weight: 850;
}

.shop-product-card__title {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.shop-product-card__text {
  margin: 13px 0 0;
  color: rgba(219, 234, 254, 0.72);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.shop-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.shop-product-card__price {
  color: #86efac;
  font-size: 20px;
  font-weight: 950;
  white-space: nowrap;
}

/* LINKS */

.shop-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(37, 99, 235, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #dcfce7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.shop-link:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 239, 172, 0.42);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(37, 99, 235, 0.12)),
    rgba(255, 255, 255, 0.06);
}

.shop-link--small {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 13px;
}

/* CATEGORY LAYOUT */

.shop-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.32fr) minmax(0, 0.68fr);
  gap: 22px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 24px;
}

.shop-sidebar-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
  box-shadow:
    0 20px 65px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.shop-sidebar-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.10);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-sidebar-card__badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.70);
}

.shop-sidebar-card__title {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.shop-side-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.shop-side-nav a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(219, 234, 254, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.shop-side-nav a:hover,
.shop-side-nav a.is-active {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.30);
  background: rgba(34, 197, 94, 0.10);
  color: #ffffff;
}

.shop-side-nav a:focus-visible {
  outline: none;
  border-color: rgba(134, 239, 172, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.shop-side-nav a span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 38px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.20), rgba(37, 99, 235, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: #bbf7d0;
  font-size: 13px;
  font-weight: 950;
}

/* PRODUCT PAGE */

.shop-product-hero__title {
  max-width: 1050px;
  font-size: clamp(42px, 5vw, 72px);
}

.shop-product-layout {
  display: grid;
  gap: 22px;
}

.shop-product-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 420px;
  max-height: 620px;
  border-radius: 32px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.18), transparent 42%),
    rgba(15, 23, 42, 0.88);
  box-shadow:
    0 24px 75px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.shop-product-cover img {
  min-height: 0;
  width: min(52%, 280px);
  height: min(52%, 280px);
  object-fit: contain;
  padding: 8px;
  image-rendering: pixelated;
}

.shop-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.38fr);
  gap: 18px;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
  box-shadow:
    0 20px 65px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.shop-product-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.shop-product-info {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.08), transparent 50%),
    rgba(255, 255, 255, 0.035);
}

.shop-product-info span {
  display: block;
  color: rgba(203, 213, 225, 0.62);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-product-info strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  word-break: break-word;
}

.shop-product-description {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.030);
}

.shop-product-description h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.shop-product-description__text {
  color: rgba(226, 232, 240, 0.92);
  font-size: 17px;
  line-height: 1.95;
  font-weight: 650;
  word-break: break-word;
}

.shop-product-description__text p {
  margin: 0 0 18px;
}

.shop-product-description__text p:last-child {
  margin-bottom: 0;
}

.shop-buy-card {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.shop-buy-card__label {
  color: rgba(203, 213, 225, 0.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-buy-card__price {
  margin-top: 10px;
  color: #86efac;
  font-size: 38px;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.shop-buy-card__text {
  margin: 18px 0 0;
  color: rgba(219, 234, 254, 0.72);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.shop-buy-card__actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

/* EMPTY */

.shop-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  min-height: 300px;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
}

.shop-empty__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
  color: #86efac;
  font-size: 30px;
  font-weight: 950;
}

.shop-empty__title {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.shop-empty__text {
  max-width: 620px;
  margin: 0;
  color: rgba(219, 234, 254, 0.70);
  line-height: 1.7;
}

/* CHECKOUT COMPAT */

.shop-checkout-page {
  padding: 34px 0 60px;
}

.shop-hero-card,
.shop-checkout__left,
.shop-checkout__right,
.shop-empty-state {
  border-radius: 28px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
}

.shop-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.35fr);
  gap: 18px;
  margin-top: 22px;
}

.checkout-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  background: rgba(255, 255, 255, 0.035);
}

.checkout-row__title {
  color: #ffffff;
  font-weight: 950;
}

.checkout-row__price,
.shop-checkout-total {
  color: #86efac;
  font-weight: 950;
}

.shop-checkout-total {
  margin-top: 12px;
  font-size: 32px;
}

.shop-checkout-form {
  margin-top: 18px;
}

.checkout-textarea {
  resize: vertical;
  min-height: 130px;
}

/* RESPONSIVE */

@media (max-width: 1280px) {
  .shop-products-grid,
  .shop-products-grid--category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-featured-card,
  .shop-layout,
  .shop-product-detail,
  .shop-checkout {
    grid-template-columns: 1fr;
  }

  .shop-featured-card__media {
    min-height: 330px;
  }

  .shop-sidebar,
  .shop-buy-card {
    position: static;
  }

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

@media (max-width: 900px) {
  .shop-hero,
  .shop-product-hero {
    padding-top: 20px;
  }

  .shop-hero__shell,
  .shop-product-hero__shell,
  .shop-featured-card__body,
  .shop-platform,
  .shop-product-detail,
  .shop-product-description {
    padding: 22px;
    border-radius: 26px;
  }

  .shop-hero__stats,
  .shop-products-grid,
  .shop-products-grid--category,
  .shop-product-meta-grid {
    grid-template-columns: 1fr;
  }

  .shop-hero__title,
  .shop-product-hero__title {
    font-size: 42px;
    letter-spacing: -0.06em;
  }

  .shop-hero__text,
  .shop-product-hero__text {
    font-size: 16px;
  }

  .shop-section-head,
  .shop-platform__head,
  .shop-category-block__head,
  .shop-child-category__head,
  .shop-product-card__bottom,
  .shop-featured-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-section-head__meta {
    white-space: normal;
  }

  .shop-product-card__media {
    height: 190px;
  }

  .shop-product-cover,
  .shop-product-cover__placeholder {
    min-height: 240px;
    border-radius: 24px;
  }

  .shop-product-cover img {
    width: min(58%, 220px);
    height: min(58%, 220px);
  }

  .shop-buy-card__actions .btn,
  .shop-hero__actions,
  .shop-hero__actions .btn,
  .shop-product-hero__actions,
  .shop-product-hero__actions .btn,
  .shop-featured-card__bottom .shop-featured-card__cta {
    width: 100%;
  }
}

/* ============================================================
   Category catalog cards fix
   ============================================================ */

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

.shop-catalog-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.020)),
    rgba(8, 13, 29, 0.82);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.shop-catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.30);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(34, 197, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.shop-catalog-card__media {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(34, 197, 94, 0.18), transparent 42%),
    rgba(15, 23, 42, 0.88);
}

.shop-catalog-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-catalog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  image-rendering: pixelated;
}

.shop-featured-card__media img,
.shop-product-card__media img {
  object-fit: contain;
  padding: 22px;
  image-rendering: pixelated;
}

.shop-featured-card__media img {
  width: min(68%, 320px);
  height: min(68%, 320px);
}

.shop-product-card__media img,
.shop-catalog-card__media img {
  width: min(60%, 160px);
  height: min(60%, 160px);
}

.shop-catalog-card__placeholder {
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.shop-catalog-card__placeholder span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  border: 1px solid rgba(147, 197, 253, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #86efac;
  font-size: 34px;
  font-weight: 950;
}

.shop-catalog-card__tag {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.shop-catalog-card__body {
  padding: 22px;
}

.shop-catalog-card__category {
  color: rgba(203, 213, 225, 0.62);
  font-size: 13px;
  font-weight: 850;
}

.shop-catalog-card__title {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.shop-catalog-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.shop-catalog-card__title a:hover {
  color: #86efac;
}

.shop-catalog-card__text {
  margin: 14px 0 0;
  color: rgba(219, 234, 254, 0.72);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.shop-catalog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.shop-catalog-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(219, 234, 254, 0.76);
  font-size: 12px;
  font-weight: 850;
}

.shop-catalog-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.shop-catalog-card__price {
  color: #86efac;
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .shop-catalog-grid {
    grid-template-columns: 1fr;
  }

  .shop-catalog-card__media {
    height: 190px;
  }

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

/* ============================================================
   Shop Checkout
   ============================================================ */

.shop-hero--checkout .shop-hero__shell {
  min-height: 430px;
}

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

.shop-checkout-list,
.shop-checkout-summary {
  padding: 24px;
  border-radius: 30px;
}

.shop-checkout-card-head {
  margin-bottom: 18px;
}

.checkout-list {
  display: grid;
  gap: 14px;
}

.shop-checkout-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.shop-checkout-item__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.20), rgba(34, 197, 94, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.shop-checkout-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-checkout-item__media span {
  color: #bfdbfe;
  font-size: 20px;
  font-weight: 950;
}

.shop-checkout-item__category {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-checkout-item h3 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.shop-checkout-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shop-checkout-item__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  background: rgba(255, 255, 255, 0.040);
  color: rgba(219, 234, 254, 0.76);
  font-size: 12px;
  font-weight: 850;
}

.shop-checkout-item__price {
  color: #86efac;
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

.shop-checkout-summary {
  position: sticky;
  top: 24px;
}

.shop-checkout-total {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.shop-checkout-total span {
  display: block;
  color: rgba(203, 213, 225, 0.64);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shop-checkout-total strong {
  display: block;
  margin-top: 10px;
  color: #86efac;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.055em;
}

.shop-checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.shop-checkout-submit {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1100px) {
  .shop-checkout-layout {
    grid-template-columns: 1fr;
  }

  .shop-checkout-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 700px) {
  .shop-checkout-item {
    grid-template-columns: 1fr;
  }

  .shop-checkout-item__price {
    white-space: normal;
  }
}
