/* Multi Generator — katalog generatorów DrDamson */
body.mode-launcher { overflow: hidden; }

.module-launcher {
  grid-template-rows: auto auto auto;
  gap: 14px;
  padding: clamp(18px, 2.15vw, 34px);
  background:
    radial-gradient(circle at 80% 14%, rgba(54, 127, 123, .12), transparent 28%),
    linear-gradient(135deg, rgba(18, 16, 14, .985), rgba(38, 29, 22, .95)),
    url("./assets/showroom-dr-damson.png") center / cover;
}

.launcher-hero { max-width: 1380px; align-items: center; }
.launcher-copy { max-width: 910px; }
.launcher-copy h1 {
  margin: .16em 0 .1em;
  font-size: clamp(2rem, 3.35vw, 3.75rem);
  line-height: .98;
}
.launcher-copy p { max-width: 740px; font-size: clamp(.72rem, .9vw, .92rem); }
.launcher-benefits {
  margin-top: 9px;
  color: #c8e4e1;
  font-size: clamp(.55rem, .7vw, .66rem);
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.launcher-benefits i { margin: 0 .42em; color: var(--brass-light); font-style: normal; }

.module-choice-grid {
  max-width: 1380px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.module-choice {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 94px auto auto auto;
  gap: 7px 14px;
  padding: 12px 14px 11px;
  border: 1px solid rgba(221, 184, 126, .3);
  border-bottom: 4px solid rgba(101, 67, 39, .92);
  border-radius: 4px;
  background:
    linear-gradient(120deg, rgba(121, 79, 42, .18), transparent 42%),
    linear-gradient(145deg, rgba(70, 50, 34, .78), rgba(20, 19, 17, .98));
  color: inherit;
  text-align: left;
  text-decoration: none;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.module-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 199, .055), transparent 62%);
  transform: translateX(-36%);
  transition: transform .55s ease;
}
.module-choice:hover,
.module-choice:focus-visible {
  border-color: rgba(236, 202, 150, .68);
  background:
    linear-gradient(120deg, rgba(146, 95, 47, .27), transparent 44%),
    linear-gradient(145deg, rgba(82, 57, 37, .86), rgba(23, 22, 19, .99));
  box-shadow: inset 0 1px rgba(255, 244, 222, .13), 0 24px 48px rgba(0, 0, 0, .38);
  transform: translateY(-2px);
}
.module-choice:hover::before,
.module-choice:focus-visible::before { transform: translateX(38%); }
.module-choice:focus-visible { outline: 3px solid #9fd8d3; outline-offset: 3px; }
.module-choice-workshop { border-bottom-color: #397a76; }
.module-choice-ornament { border-bottom-color: #8c6539; }
.module-choice-topper { border-bottom-color: #947842; }

.choice-number {
  top: 20px;
  left: 21px;
  width: 32px;
  height: 32px;
  border-color: rgba(234, 204, 160, .52);
  background: rgba(15, 14, 12, .82);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}
.choice-art {
  grid-column: 1 / -1;
  min-height: 0;
  height: 94px;
  border-color: rgba(224, 187, 134, .22);
  background:
    linear-gradient(rgba(232, 209, 170, .9), rgba(174, 128, 78, .88)),
    repeating-linear-gradient(5deg, transparent 0 17px, rgba(71, 42, 22, .11) 18px 19px);
}
.choice-art-workshop { background: linear-gradient(135deg, #426a66, #182e2d); }
.choice-art-ornament { background: radial-gradient(circle at 50% 45%, #274f4c, #132b2a 72%); }
.choice-art-topper { background: linear-gradient(135deg, #33271d, #171411); }
.choice-art::after { box-shadow: inset 0 0 26px rgba(28, 18, 11, .28); }
.launcher-illustration { width: 100%; height: 100%; display: block; overflow: visible; }

.choice-copy { grid-column: 1 / -1; gap: 2px; padding-right: 42px; }
.choice-copy small { color: var(--brass-light); font-size: .49rem; letter-spacing: .18em; }
.choice-copy strong { font-size: clamp(1.12rem, 1.55vw, 1.55rem); line-height: 1.08; }
.choice-copy > span { max-width: 620px; font-size: .62rem; line-height: 1.38; }
.choice-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 18px;
}
.choice-tags i {
  padding: 3px 7px;
  border: 1px solid rgba(224, 190, 140, .22);
  border-radius: 20px;
  background: rgba(11, 13, 12, .38);
  color: #cfc1aa;
  font-size: .48rem;
  font-style: normal;
  letter-spacing: .025em;
  line-height: 1;
}
.module-choice-workshop .choice-tags i { border-color: rgba(131, 199, 193, .25); color: #b9d9d5; }
.choice-cta {
  grid-column: 1 / -1;
  min-height: 25px;
  padding-top: 6px;
  font-size: .61rem;
}
.choice-cta b { transition: transform .22s ease; }
.module-choice:hover .choice-cta b,
.module-choice:focus-visible .choice-cta b { transform: translateX(4px); }

.launcher-footer { max-width: 1380px; padding-top: 8px; }

/* Pudełko — montaż części w produkt. */
.choice-art-box .box-shadow { fill: rgba(50, 29, 16, .22); }
.choice-art-box .box-part { fill: url(#boxWood); stroke: #68401f; stroke-width: 2; stroke-linejoin: round; }
.choice-art-box .box-part:nth-child(odd) { fill: url(#boxGrain), #d4a96d; }
.choice-art-box .box-lid { fill: #e0bd84; stroke: #68401f; stroke-width: 2; opacity: .86; }
.choice-art-box .finger-line { fill: none; stroke: #472713; stroke-width: 2; }
.choice-art-box .tech-dim { fill: none; stroke: #28635f; stroke-width: 1; opacity: .72; }
.choice-art-box .tech-dim text { fill: #204946; stroke: none; font: 700 10px system-ui; letter-spacing: 2px; }

.module-choice-box:is(:hover, :focus-visible, .is-demoing) .box-floor { animation: boxFloor 3s ease both; }
.module-choice-box:is(:hover, :focus-visible, .is-demoing) .box-wall-back { animation: boxBack 3s ease both; }
.module-choice-box:is(:hover, :focus-visible, .is-demoing) .box-wall-left { animation: boxLeft 3s ease both; }
.module-choice-box:is(:hover, :focus-visible, .is-demoing) .box-wall-right { animation: boxRight 3s ease both; }
.module-choice-box:is(:hover, :focus-visible, .is-demoing) .box-lid { animation: boxLid 3s ease both; }
.module-choice-box:is(:hover, :focus-visible, .is-demoing) .finger-line { animation: revealDetail 3s ease both; }
@keyframes boxFloor { 0%,15% { transform: translateY(25px); opacity:.5 } 48%,100% { transform:none; opacity:1 } }
@keyframes boxBack { 0%,15% { transform: translateY(-28px); opacity:.58 } 54%,100% { transform:none; opacity:1 } }
@keyframes boxLeft { 0%,15% { transform: translateX(-42px); opacity:.55 } 58%,100% { transform:none; opacity:1 } }
@keyframes boxRight { 0%,15% { transform: translateX(42px); opacity:.55 } 58%,100% { transform:none; opacity:1 } }
@keyframes boxLid { 0%,55% { transform:translateY(-34px); opacity:.2 } 82%,100% { transform:none; opacity:.86 } }
@keyframes revealDetail { 0%,58% { opacity:0 } 72%,100% { opacity:1 } }

/* Warsztat — narzędzia trafiają na swoje uchwyty. */
.work-board { fill:#31524f; stroke:#8ac0bb; stroke-opacity:.42; }
.work-holes { fill:url(#pegboard); }
.tool { fill:#d7b980; stroke:#50361f; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.tool-pliers { fill:none; stroke:#d7b980; stroke-width:9; }
.tool-roll circle:first-child { fill:#b98b50; }
.tool-roll circle:nth-child(2) { fill:#203c3a; }
.tool-roll path, .work-tray, .work-rail { fill:none; stroke:#e2c58e; stroke-width:6; stroke-linejoin:round; }
.module-choice-workshop:is(:hover, :focus-visible, .is-demoing) .tool-wrench-one { animation: toolDrop 3.2s .05s ease both; }
.module-choice-workshop:is(:hover, :focus-visible, .is-demoing) .tool-wrench-two { animation: toolDrop 3.2s .22s ease both; }
.module-choice-workshop:is(:hover, :focus-visible, .is-demoing) .tool-pliers { animation: pliersDrop 3.2s .38s ease both; }
.module-choice-workshop:is(:hover, :focus-visible, .is-demoing) .tool-roll { animation: rollIn 3.2s .52s ease both; }
.module-choice-workshop:is(:hover, :focus-visible, .is-demoing) .work-tray { animation: trayIn 3.2s .65s ease both; }
@keyframes toolDrop { 0%,12% { transform:translateY(-45px); opacity:0 } 45%,100% { transform:none; opacity:1 } }
@keyframes pliersDrop { 0%,16% { transform:translateY(-48px) rotate(7deg); opacity:0 } 52%,100% { transform:none; opacity:1 } }
@keyframes rollIn { 0%,20% { transform:translateX(55px) rotate(40deg); opacity:0 } 60%,100% { transform:none; opacity:1 } }
@keyframes trayIn { 0%,25% { transform:translateY(35px); opacity:0 } 68%,100% { transform:none; opacity:1 } }

/* Bombka — kołysanie, imię i symbol Natural Weld. */
.ornament-string, .ornament-ring, .ornament-inner, .ornament-bridge { fill:none; stroke:#e4c48c; stroke-width:5; }
.ornament-inner { stroke:#7fc5bf; stroke-width:2; stroke-dasharray:4 5; }
.ornament-cap { fill:#d5ad6e; stroke:#f0d5a2; stroke-width:2; }
.ornament-name { fill:#f2dfbb; font: italic 34px Georgia, serif; }
.ornament-star { fill:none; stroke:#8bd0ca; stroke-width:3; stroke-linecap:round; }
.weld-sparks { fill:#f2ca77; stroke:#f2ca77; stroke-width:2; opacity:.88; }
.module-choice-ornament:is(:hover, :focus-visible, .is-demoing) .ornament-bauble { transform-origin:260px 35px; animation: baubleSwing 3.4s ease-in-out both; }
.module-choice-ornament:is(:hover, :focus-visible, .is-demoing) .ornament-name { animation: nameReveal 3.4s ease both; }
.module-choice-ornament:is(:hover, :focus-visible, .is-demoing) .ornament-star { animation: starJoin 3.4s ease both; }
.module-choice-ornament:is(:hover, :focus-visible, .is-demoing) .weld-sparks { animation: weldFlash 3.4s ease both; }
@keyframes baubleSwing { 0% { transform:rotate(-4deg) } 35% { transform:rotate(3deg) } 68% { transform:rotate(-1.5deg) } 100% { transform:none } }
@keyframes nameReveal { 0%,20% { opacity:0; transform:translateY(5px) } 55%,100% { opacity:1; transform:none } }
@keyframes starJoin { 0%,30% { opacity:0; transform:translateX(32px) rotate(12deg) } 70%,100% { opacity:1; transform:none } }
@keyframes weldFlash { 0%,58%,82%,100% { opacity:0 } 68%,75% { opacity:1 } }

/* Topper — litery łączą się, domyka się rama i wysuwa trzpień. */
.topper-frame, .topper-weld, .topper-stem { fill:none; stroke:#d8b579; stroke-width:8; stroke-linecap:round; stroke-linejoin:round; }
.topper-frame { stroke:#75bcb6; stroke-width:6; stroke-dasharray:520; stroke-dashoffset:0; }
.topper-letter { fill:#edd6ad; font:700 72px Georgia, serif; }
.topper-nodes { fill:#e9bd69; }
.topper-note { fill:#7fc5bf; font:700 10px system-ui; letter-spacing:2px; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-letter-one { animation: letterOne 3.2s ease both; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-letter-two { animation: letterTwo 3.2s ease both; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-letter-three { animation: letterThree 3.2s ease both; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-weld,
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-nodes { animation: weldFlash 3.2s ease both; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-frame { animation: frameDraw 3.2s ease both; }
.module-choice-topper:is(:hover, :focus-visible, .is-demoing) .topper-stem { animation: stemOut 3.2s ease both; }
@keyframes letterOne { 0%,15% { transform:translateX(-30px); opacity:.55 } 48%,100% { transform:none; opacity:1 } }
@keyframes letterTwo { 0%,15% { transform:translateY(-20px); opacity:.55 } 48%,100% { transform:none; opacity:1 } }
@keyframes letterThree { 0%,15% { transform:translateX(30px); opacity:.55 } 48%,100% { transform:none; opacity:1 } }
@keyframes frameDraw { 0%,38% { stroke-dashoffset:520; opacity:.3 } 78%,100% { stroke-dashoffset:0; opacity:1 } }
@keyframes stemOut { 0%,62% { transform:translateY(-50px); opacity:0 } 88%,100% { transform:none; opacity:1 } }

@media (min-width: 1700px) and (min-height: 980px) {
  .module-launcher { gap: 18px; padding: 34px 5vw; }
  .choice-art { height: 132px; }
  .module-choice { grid-template-rows: 132px auto auto auto; padding: 15px 17px 13px; gap: 9px 16px; }
  .choice-copy strong { font-size: 1.7rem; }
}

@media (max-width: 900px) {
  body.mode-launcher { overflow: hidden; }
  .module-launcher {
    grid-template-rows: auto auto auto;
    gap: 18px;
    padding: 22px 14px 26px;
  }
  .launcher-copy h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .module-choice-grid { grid-template-columns: 1fr; gap: 14px; }
  .module-choice { min-height: 0; grid-template-rows: 150px auto auto auto; padding: 13px 16px 12px; gap: 9px; }
  .choice-art { height: 150px; }
  .choice-copy strong { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .choice-copy > span { font-size: .68rem; }
  .choice-tags i { font-size: .52rem; padding: 4px 8px; }
  .choice-cta { min-height: 32px; font-size: .68rem; }
}

@media (max-width: 600px) {
  .module-launcher { inset: 88px 8px 8px; gap: 17px; }
  .launcher-copy { padding-right: 4px; }
  .launcher-copy h1 { font-size: 2.14rem; line-height: 1.02; }
  .launcher-copy p { font-size: .72rem; line-height: 1.55; }
  .launcher-benefits { display:flex; flex-wrap:wrap; gap:4px 7px; max-width:330px; font-size:.52rem; line-height:1.4; }
  .launcher-benefits i { margin:0; }
  .module-choice { grid-template-rows: 142px auto auto auto; }
  .choice-art { height: 142px; }
  .choice-copy { padding-right: 0; }
  .choice-tags { gap: 5px; }
  .launcher-footer { line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .module-choice,
  .module-choice::before,
  .module-choice *,
  .module-choice:hover *,
  .module-choice:focus-visible * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .box-part, .box-lid, .finger-line, .tool, .work-tray, .ornament-bauble,
  .ornament-name, .ornament-star, .topper-letter, .topper-frame, .topper-stem { transform:none !important; opacity:1 !important; }
  .topper-frame { stroke-dashoffset:0 !important; }
  .weld-sparks, .topper-nodes { opacity:.76 !important; }
}

/* Katalog generatorów 1.5 — dwupoziomowe menu oparte o generator-registry.js. */
.module-launcher > .module-choice-grid,
.module-launcher > .launcher-footer { display: none !important; }

.module-launcher {
  min-height: calc(100svh - 96px);
  grid-template-rows: minmax(130px, .7fr) minmax(300px, 1fr);
  gap: clamp(18px, 2.4vh, 30px);
  background-image:
    linear-gradient(180deg, rgba(12, 10, 9, .18) 0%, rgba(13, 11, 10, .38) 42%, rgba(12, 10, 9, .87) 100%),
    linear-gradient(90deg, rgba(13, 11, 10, .45), transparent 42%, rgba(13, 11, 10, .18)),
    url("./assets/drdamson-generator-menu-bg.png?v=20260824-foxi");
  background-position: center, center, center 44%;
  background-repeat: no-repeat;
  background-size: cover;
}

@supports (background-image: image-set(url("./assets/drdamson-generator-menu-bg.webp?v=20260824-foxi") type("image/webp"))) {
  .module-launcher {
    background-image:
      linear-gradient(180deg, rgba(12, 10, 9, .18) 0%, rgba(13, 11, 10, .38) 42%, rgba(12, 10, 9, .87) 100%),
      linear-gradient(90deg, rgba(13, 11, 10, .45), transparent 42%, rgba(13, 11, 10, .18)),
      image-set(url("./assets/drdamson-generator-menu-bg.webp?v=20260824-foxi") type("image/webp"), url("./assets/drdamson-generator-menu-bg.png?v=20260824-foxi") type("image/png"));
  }
}

body:not(.mode-launcher) .showroom-backdrop { display: none; }
body.mode-launcher .showroom-dock { display: none; }

[data-coming-soon] {
  display: none !important;
}
body.mode-box,
body.mode-ornament { background: #141616; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.category-catalog {
  width: min(1500px, 100%);
  min-height: 0;
  align-self: end;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 0 auto;
}

.category-catalog[hidden],
.generator-picker[hidden],
.seasonal-filters[hidden],
.generator-empty[hidden] { display: none !important; }

.category-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 15px);
}

.category-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(104px, 1fr) auto auto;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(232, 202, 158, .36);
  border-bottom: 4px solid #94673c;
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(52, 40, 30, .82), rgba(18, 17, 15, .95));
  color: var(--cream);
  text-align: left;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 244, 222, .08);
  backdrop-filter: blur(14px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.category-card-teal { border-bottom-color: #4f9c96; }
.category-card-green { border-bottom-color: #668e77; }
.category-card-cyan { border-bottom-color: #4b9fa6; }
.category-card:hover,
.category-card:focus-visible,
.category-card.is-demoing {
  border-color: rgba(239, 210, 167, .7);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 244, 222, .14);
  transform: translateY(-3px);
}
.category-card:focus-visible { outline: 3px solid #9fd8d3; outline-offset: 3px; }

.category-card-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 205, 162, .22);
  border-radius: 5px;
  background: #181513;
}
.category-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 13, 11, .48));
  pointer-events: none;
}
.category-card-media img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  display: block;
  object-fit: cover;
  filter: saturate(.78) contrast(1.03) brightness(.84);
  transition: transform .45s ease, filter .3s ease;
}
.category-card:hover .category-card-media img,
.category-card:focus-visible .category-card-media img,
.category-card.is-demoing .category-card-media img { transform: scale(1.035); filter: saturate(.92) brightness(.95); }

.category-card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 212, 174, .54);
  border-radius: 4px;
  background: rgba(15, 14, 12, .85);
  color: #f0d8b3;
  font-size: .64rem;
  font-weight: 800;
}

.category-card-copy { min-width: 0; display: grid; gap: 3px; }
.category-card-copy small,
.generator-card-copy small {
  color: var(--brass-light);
  font-size: .54rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.category-card-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 1.6vw, 1.65rem);
  font-weight: 500;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.category-card-copy > span { color: #d4c7b4; font-size: .63rem; line-height: 1.38; }
.category-card-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(230, 198, 151, .2);
  color: #f1d9b2;
  font-size: .58rem;
}
.category-card-footer b { font-weight: 750; }
.category-card-footer i { display: inline-flex; gap: 8px; font-style: normal; }
.category-card-footer i span { transition: transform .22s ease; }
.category-card:hover .category-card-footer i span,
.category-card:focus-visible .category-card-footer i span { transform: translateX(4px); }

.catalog-meta {
  min-height: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #d3c5b0;
  font-size: .57rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.module-launcher.is-picking {
  grid-template-rows: minmax(0, 1fr);
  background-position: center, center, center 48%;
}
.module-launcher.is-picking .launcher-hero { display: none; }
.generator-picker {
  width: min(1420px, 100%);
  min-height: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 14px;
  margin: 0 auto;
  overflow: auto;
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(230, 198, 151, .3);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(34, 29, 24, .91), rgba(15, 15, 14, .97));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48);
  backdrop-filter: blur(18px);
}

.picker-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(230, 198, 151, .2);
}
.picker-header h2 { margin: 5px 0 4px; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 500; line-height: 1; }
.picker-header p { max-width: 730px; margin: 0; color: #d0c1ad; font-size: .76rem; line-height: 1.5; }
.back-to-categories { flex: 0 0 auto; }
.catalog-breadcrumbs { display: flex; align-items: center; gap: 8px; color: #cdbb9f; font-size: .61rem; }
.catalog-breadcrumbs button { padding: 0; border: 0; background: transparent; color: #9fd8d3; }
.catalog-breadcrumbs button:hover { border: 0; background: transparent; color: #c1efea; transform: none; }
.catalog-breadcrumbs strong { color: #e6d6bd; font-weight: 650; }

.generator-search { position: relative; display: block; }
.generator-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 120px 0 16px;
  border: 1px solid rgba(226, 194, 147, .31);
  border-radius: 6px;
  background: rgba(10, 13, 13, .74);
}
.generator-search > span:last-child {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #a9cfc9;
  font-size: .62rem;
  transform: translateY(-50%);
}

.seasonal-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.season-filter { padding: .48rem .68rem; border-radius: 999px; font-size: .61rem; }
.season-filter[aria-pressed="true"] { border-color: #83c8c1; background: rgba(51, 111, 106, .56); color: #d8f1ee; }

.generator-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
}
.generator-card {
  position: relative;
  min-width: 0;
  min-height: 142px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 8px 13px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(226, 194, 147, .27);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(58, 43, 31, .74), rgba(19, 18, 16, .96));
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.generator-card:hover,
.generator-card:focus-visible { border-color: rgba(231, 202, 158, .68); background: linear-gradient(145deg, rgba(75, 53, 35, .82), rgba(21, 20, 18, .98)); transform: translateY(-2px); }
.generator-card-media { grid-row: 1 / 3; min-height: 120px; overflow: hidden; border-radius: 4px; background: #111; }
.generator-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.62) brightness(.66); transition: transform .3s ease, filter .3s ease; }
.generator-card:hover .generator-card-media img,
.generator-card:focus-visible .generator-card-media img { transform: scale(1.035); filter: saturate(.85) brightness(.82); }
.generator-card-copy { min-width: 0; display: grid; align-content: start; gap: 3px; }
.generator-card-copy strong { font-family: Georgia, serif; font-size: 1.08rem; font-weight: 500; line-height: 1.08; overflow-wrap: anywhere; }
.generator-card-copy > span { color: #cfc1ae; font-size: .61rem; line-height: 1.4; }
.generator-card-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 7px; border-top: 1px solid rgba(229, 198, 151, .18); color: #edcf9e; font-size: .59rem; }
.generator-card-cta b { transition: transform .2s ease; }
.generator-card:hover .generator-card-cta b,
.generator-card:focus-visible .generator-card-cta b { transform: translateX(4px); }
.new-badge { position: absolute; top: 8px; right: 8px; padding: 4px 7px; border-radius: 999px; background: #9ed8d1; color: #10201f; font-size: .5rem; font-weight: 850; text-transform: uppercase; }
.generator-empty { margin: 24px 0; color: #d0c1ae; text-align: center; }

@media (max-width: 1180px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .category-card-media { grid-row: 1 / 3; }
  .category-card-copy { align-content: center; }
  .generator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body.mode-launcher { overflow: hidden; }
  .module-launcher {
    min-height: calc(100svh - 96px);
    max-height: calc(100svh - 96px);
    grid-template-rows: auto auto;
    padding: 22px 14px 26px;
    background-image:
      linear-gradient(180deg, rgba(10, 9, 8, .26), rgba(11, 10, 9, .64) 48%, rgba(10, 9, 8, .94)),
      url("./assets/drdamson-generator-menu-bg.png?v=20260824-foxi");
    background-position: center, 8% 72%;
    background-size: cover, auto 118%;
  }
  @supports (background-image: image-set(url("./assets/drdamson-generator-menu-bg.webp?v=20260824-foxi") type("image/webp"))) {
    .module-launcher {
      background-image:
        linear-gradient(180deg, rgba(10, 9, 8, .26), rgba(11, 10, 9, .64) 48%, rgba(10, 9, 8, .94)),
        image-set(url("./assets/drdamson-generator-menu-bg.webp?v=20260824-foxi") type("image/webp"), url("./assets/drdamson-generator-menu-bg.png?v=20260824-foxi") type("image/png"));
    }
  }
  .category-catalog { min-height: auto; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 168px; grid-template-columns: 130px minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .category-card-media { grid-row: 1 / 3; }
  .category-card-media img { min-height: 146px; }
  .category-card-copy strong { font-size: clamp(1.25rem, 5.4vw, 1.6rem); }
  .catalog-meta { padding-bottom: 4px; }
  .module-launcher.is-picking { grid-template-rows: minmax(0, 1fr); }
  .generator-picker { padding: 18px 14px; }
  .picker-header { align-items: start; }
  .generator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .module-launcher { inset: 88px 8px 8px; gap: 16px; padding: 18px 12px 22px; }
  .launcher-copy h1 { max-width: 330px; font-size: 2.08rem; }
  .launcher-copy p { max-width: 330px; }
  .category-card { grid-template-columns: 108px minmax(0, 1fr); padding: 9px; }
  .category-card-number { top: 17px; left: 17px; min-width: 31px; min-height: 31px; }
  .category-card-copy > span { font-size: .6rem; }
  .category-card-footer { font-size: .55rem; }
  .catalog-meta { font-size: .5rem; }
  .picker-header { display: grid; gap: 12px; }
  .back-to-categories { justify-self: start; order: -1; }
  .picker-header h2 { font-size: 1.8rem; overflow-wrap: anywhere; }
  .picker-header p { font-size: .68rem; }
  .seasonal-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .season-filter { flex: 0 0 auto; }
  .generator-card { grid-template-columns: 92px minmax(0, 1fr); }
  .generator-card-media { min-height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-card *,
  .generator-card,
  .generator-card * { animation: none !important; transition-duration: .01ms !important; }
}
