.category-page {
  background: var(--paper);
}

.category-header {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(14px);
}

.category-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  color: var(--white);
  background: var(--ink);
}

.category-hero-media,
.category-hero-shade,
.category-hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-hero-media {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.05);
  transform: scale(1.02);
}

.category-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 13, 25, 0.96) 0%, rgba(5, 13, 25, 0.78) 48%, rgba(5, 13, 25, 0.21) 100%),
    linear-gradient(180deg, rgba(5, 13, 25, 0.62) 0%, transparent 40%, rgba(5, 13, 25, 0.72) 100%);
}

.category-hero-grid {
  z-index: 2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.category-hero-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: calc(var(--header-height) + 72px) 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumbs {
  margin-bottom: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.breadcrumbs a {
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.category-hero h1 {
  margin: 0;
  font-size: clamp(68px, 9vw, 126px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.category-hero-description {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.9;
}

.category-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-hero-index {
  position: absolute;
  right: 0;
  bottom: 38px;
  color: rgba(255, 255, 255, 0.35);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.category-main {
  overflow: hidden;
}

.category-section {
  padding: 110px 0;
}

.category-shell {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.category-heading {
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 64px;
}

.category-heading h2,
.category-contact h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.category-heading > p {
  max-width: 520px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 40px rgba(15, 32, 52, 0.05);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 116, 245, 0.24);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--ink-2);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.03), rgba(4, 12, 24, 0.36));
}

.product-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.product-media-number {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.product-media-line {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 2px;
  background: var(--cyan);
}

.product-body {
  min-height: 150px;
  padding: 25px 28px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 17px;
}

.product-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(18, 116, 245, 0.08);
}

.product-icon svg {
  width: 20px;
  height: 20px;
}

.product-body h3 {
  margin: 1px 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.catalog-more {
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.brand-item {
  position: relative;
  min-width: 0;
  min-height: 182px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  color: var(--white);
  background: #0c1c2d;
  box-shadow: 0 8px 28px rgba(15, 32, 52, 0.045);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.brand-item::before {
  display: none;
}

.brand-item::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  opacity: 0.72;
}

.brand-item:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 217, 232, 0.4);
  background-color: #10263d;
  box-shadow: 0 16px 42px rgba(15, 32, 52, 0.1);
}

.brand-number {
  position: relative;
  z-index: 2;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-name {
  position: relative;
  z-index: 2;
  overflow-wrap: anywhere;
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.46);
}

.brand-logo {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  width: min(58%, 132px);
  height: 64px;
  object-fit: contain;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 3px 14px rgba(0, 0, 0, 0.38));
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.brand-logo.is-loaded {
  opacity: 0.96;
}

.brand-item:hover .brand-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.045);
}

.brand-item:has(.brand-logo) .brand-name {
  font-size: clamp(15px, 1.4vw, 19px);
}

.brand-item:not(:has(.brand-logo)):not(:has(.brand-monogram)) .brand-name {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  width: 78%;
  font-size: clamp(20px, 2vw, 28px);
  text-align: center;
  transform: translate(-50%, -50%);
}

.brand-monogram {
  position: absolute;
  z-index: 2;
  top: 44%;
  left: 50%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(7, 17, 31, 0.28);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.045),
    0 8px 22px rgba(0, 0, 0, 0.24);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.brand-item:hover .brand-monogram {
  transform: translate(-50%, -50%) scale(1.045);
}

.brand-item:has(.brand-logo.is-loaded) .brand-monogram {
  opacity: 0;
  visibility: hidden;
}

.brand-item:has(.brand-monogram) .brand-name {
  font-size: clamp(15px, 1.4vw, 19px);
}

.brand-text-only .brand-logo,
.brand-text-only .brand-monogram {
  display: none;
}

.brand-text-only .brand-item {
  min-height: 150px;
  border-color: rgba(7, 17, 31, 0.12);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(15, 32, 52, 0.045);
}

.brand-text-only .brand-name {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: clamp(19px, 1.8vw, 25px);
  text-shadow: none;
}

.brand-text-only .brand-number {
  color: var(--blue);
}

.brand-text-only .brand-item:hover {
  border-color: rgba(18, 116, 245, 0.28);
  background: #fbfcfd;
}

.brand-item .brand-number {
  color: var(--cyan);
}

.brand-bg-phone-a {
  --brand-bg: url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-phone-b {
  --brand-bg: url("https://images.unsplash.com/photo-1592750475338-74b7b21085ab?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-phone-c {
  --brand-bg: url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-audio-a {
  --brand-bg: url("https://images.unsplash.com/photo-1505740420928-5e560c06d30e?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-audio-b {
  --brand-bg: url("https://images.unsplash.com/photo-1589003077984-894e133dabab?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-watch {
  --brand-bg: url("https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-kitchen {
  --brand-bg: url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-cookware {
  --brand-bg: url("https://images.unsplash.com/photo-1584990347449-a2d4c2e9f4c3?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-coffee {
  --brand-bg: url("https://images.unsplash.com/photo-1517668808822-9ebb02f2a0e6?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-blender {
  --brand-bg: url("https://images.unsplash.com/photo-1570222094114-d054a817e56b?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-clean {
  --brand-bg: url("https://images.unsplash.com/photo-1558317374-067fb5f30001?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-air {
  --brand-bg: url("https://images.unsplash.com/photo-1586023492125-27b2c045efd7?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-smart-home {
  --brand-bg: url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-education {
  --brand-bg: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-beauty {
  --brand-bg: url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-beauty-b {
  --brand-bg: url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-beauty-c {
  --brand-bg: url("https://images.unsplash.com/photo-1556228578-8c89e6adf883?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-tableware {
  --brand-bg: url("https://images.unsplash.com/photo-1603199506016-b9a594b593c0?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-tea {
  --brand-bg: url("https://images.unsplash.com/photo-1544787219-7f47ccb76574?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-food {
  --brand-bg: url("https://images.unsplash.com/photo-1549465220-1a8b9238cd48?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-gift {
  --brand-bg: url("https://images.unsplash.com/photo-1513885535751-8b9238bd345a?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-home {
  --brand-bg: url("https://images.unsplash.com/photo-1603006905003-be475563bc59?auto=format&fit=crop&w=900&q=80");
}

.brand-bg-flower {
  --brand-bg: url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=900&q=80");
}

.brand-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.brand-photo-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.brand-photo {
  position: relative;
  min-height: 290px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}

.brand-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 13, 25, 0.78) 100%);
}

.brand-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.brand-photo:hover img {
  transform: scale(1.045);
}

.brand-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.catalog-more > strong {
  font-size: 14px;
  white-space: nowrap;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4d6071;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.other-categories {
  padding: 0 0 112px;
}

.other-categories-header {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.other-categories-header h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.other-categories-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.other-category {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.other-category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 13, 25, 0.9) 100%);
}

.other-category img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.other-category:hover img {
  transform: scale(1.05);
}

.other-category-copy {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.other-category-copy small {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.other-category-copy strong {
  font-size: 20px;
}

.other-category-copy svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.55);
}

.category-contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 116, 245, 0.12), transparent 42%),
    var(--ink);
}

.category-contact::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -250px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(66, 217, 232, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(66, 217, 232, 0.02),
    0 0 0 160px rgba(66, 217, 232, 0.012);
}

.category-contact-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 80px;
}

.category-contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.9;
}

.category-contact-details {
  display: grid;
  gap: 18px;
}

.category-contact-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.category-contact-row span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.category-contact-row strong,
.category-contact-row a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.category-contact-row a:hover {
  color: var(--cyan);
}

.category-contact-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-footer .footer-inner {
  min-height: 132px;
}

.category-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.category-footer-links a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  transition: color 180ms ease;
}

.category-footer-links a:hover {
  color: var(--cyan);
}

.brand-item-link {
  cursor: pointer;
}

/* Every linked tile/button uses the fluorescent green. */
.brand-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--neon);
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.32);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.brand-item-link:hover .brand-tag {
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.55);
}

.brand-text-only .brand-item-link {
  border-color: rgba(31, 91, 0, 0.42);
  background: var(--neon);
  box-shadow: 0 10px 28px rgba(57, 255, 20, 0.26);
}

.brand-text-only .brand-item-link:hover {
  border-color: rgba(31, 91, 0, 0.6);
  background: var(--neon-deep);
  box-shadow: 0 16px 36px rgba(57, 255, 20, 0.4);
}

.brand-text-only .brand-item-link .brand-number {
  color: #1f5b00;
}

@media (max-width: 980px) {
  .category-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 820px) {
  .category-hero {
    min-height: 650px;
  }

  .category-hero-inner,
  .category-shell,
  .category-contact-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .category-hero-inner {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 68px;
  }

  .breadcrumbs {
    margin-bottom: 80px;
  }

  .category-hero-description {
    font-size: 14px;
  }

  .category-section {
    padding: 84px 0;
  }

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

  .catalog-more {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .brand-photo-strip {
    grid-template-columns: 1fr;
  }

  .brand-photo {
    min-height: 230px;
  }

  .other-categories {
    padding-bottom: 84px;
  }

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

  .other-category {
    min-height: 230px;
  }

  .category-contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .category-footer .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .category-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .category-hero {
    min-height: 620px;
  }

  .category-hero h1 {
    font-size: clamp(58px, 19vw, 80px);
  }

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

  .category-hero-actions .button {
    width: 100%;
  }

  .category-hero-index {
    right: 0;
    bottom: 24px;
  }

  .category-section {
    padding: 72px 0;
  }

  .category-heading h2,
  .category-contact h2 {
    font-size: 34px;
  }

  .product-media {
    height: 236px;
  }

  .product-body {
    min-height: 0;
    padding: 21px 20px 24px;
    gap: 13px;
  }

  .product-icon {
    width: 38px;
    height: 38px;
  }

  .product-body h3 {
    font-size: 20px;
  }

  .catalog-more {
    padding: 22px 20px;
  }

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

  .brand-item {
    min-height: 154px;
    padding: 18px;
  }

  .other-categories-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .category-contact-inner {
    padding: 76px 0;
  }

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

  .category-contact-actions .button {
    width: 100%;
  }
}
