* {
  box-sizing: border-box;
}

:root {
  --bg: #0f0f10;
  --card: #1a1a1c;
  --card-2: #141416;
  --card-3: #202024;
  --border: #333337;
  --text: #f5f5f5;
  --muted: #b8b8bd;
  --muted-2: #8f8f96;
  --accent: #f5c542;
  --danger: #ff7a7a;
  --good: #7ee787;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(52px, 7vw, 76px);
  line-height: 0.95;
  margin: 0 0 22px;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 900px;
  color: #d6d6da;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  margin: 0;
}

@media (min-width: 800px) {
  .subtitle {
    white-space: nowrap;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.35);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hint {
  color: var(--muted);
  margin: 0 0 20px;
}

.search-wrap {
  position: relative;
}

input {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 17px 18px;
  font-size: 18px;
  outline: none;
}

.suggestions {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #242428;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.suggestions.show {
  display: block;
}

.suggestion {
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid #34343a;
}

.suggestion:last-child {
  border-bottom: 0;
}

.suggestion:hover {
  background: #303036;
}

.section-block {
  margin-top: 24px;
}

.section-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin: 0 0 12px;
}

.chip-grid,
.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-list.empty {
  color: var(--muted);
}

.chip,
.selected-chip,
.tag-chip {
  border: 1px solid #3c3c42;
  background: var(--card-2);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
}

.chip:hover,
.selected-chip:hover,
.tag-chip:hover {
  border-color: var(--accent);
}

.chip.active,
.tag-chip.active {
  background: rgba(245, 197, 66, 0.14);
  border-color: var(--accent);
  color: var(--accent);
}

.selected-chip {
  background: rgba(245, 197, 66, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

#findButton {
  margin-top: 28px;
  background: var(--accent);
  color: #111;
  border: 0;
  border-radius: 14px;
  padding: 15px 24px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

#findButton:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.results {
  margin-top: 34px;
}

.result-section {
  margin-top: 34px;
}

.result-section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.result-section-title h2 {
  margin: 0;
}

.count {
  color: var(--muted-2);
  font-size: 14px;
}

.recipe {
  border: 1px solid #35353a;
  border-radius: 18px;
  padding: 22px;
  margin-top: 16px;
  background: #141416;
}

.recipe-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.recipe h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.meta {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  text-transform: capitalize;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.good {
  background: rgba(126, 231, 135, 0.12);
  color: var(--good);
  border: 1px solid rgba(126, 231, 135, 0.28);
}

.badge.missing {
  background: rgba(245, 197, 66, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 197, 66, 0.28);
}

.recipe-summary {
  color: #d8d8dc;
  line-height: 1.5;
  margin: 16px 0 0;
}

.recipe-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.info-pill {
  background: var(--card-3);
  border: 1px solid #39393f;
  color: #d7d7dc;
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 14px;
}

.missing-list {
  margin: 18px 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.22);
  color: var(--accent);
  font-weight: 800;
}

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 20px;
}

.recipe-subtitle {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 12px;
}

.ingredient-list,
.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ingredient-item {
  border: 1px solid #33333a;
  border-radius: 14px;
  padding: 13px;
  margin-bottom: 10px;
  background: #101012;
}

.ingredient-item.have {
  border-color: rgba(126, 231, 135, 0.3);
}

.ingredient-item.need {
  border-color: rgba(245, 197, 66, 0.34);
}

.ingredient-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.amount {
  color: var(--accent);
  font-weight: 900;
  min-width: 72px;
}

.ingredient-name {
  font-weight: 800;
}

.note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin: 7px 0 0 82px;
}

.step-list {
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-bottom: 13px;
  line-height: 1.45;
}

.step-list li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(245, 197, 66, 0.14);
  color: var(--accent);
  font-weight: 900;
}

.small-note {
  color: var(--muted);
}

@media (max-width: 760px) {
  .page {
    padding-top: 34px;
  }

  .card {
    padding: 22px;
  }

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

  .recipe-top {
    flex-direction: column;
  }

  .note {
    margin-left: 0;
  }

  .ingredient-line {
    flex-direction: column;
    gap: 3px;
  }

  .amount {
    min-width: auto;
  }

  .chip,
  .selected-chip,
  .tag-chip {
    font-size: 14px;
  }
}


.site-footer {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #2d2d32;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}


.link-button {
  display: none;
  margin-top: 12px;
  padding: 0;
  background: transparent;
  color: var(--accent);
  border: 0;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .link-button {
    display: inline-block;
  }

  .section-block {
    margin-top: 20px;
  }

  .chip-grid {
    gap: 8px;
  }

  .chip,
  .selected-chip,
  .tag-chip {
    padding: 9px 12px;
  }
}


.origin-chip {
  display: inline-block;
  margin: 0 0 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.34);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.gear-section {
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #141416;
}

.gear-header {
  max-width: 760px;
  margin-bottom: 22px;
}

.gear-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.gear-header p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

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

.gear-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 205px;
  padding: 18px;
  border-radius: 18px;
  background: #101012;
  border: 1px solid #34343a;
}

.gear-card.featured {
  grid-column: 1 / -1;
  background: rgba(245, 197, 66, 0.08);
  border-color: rgba(245, 197, 66, 0.24);
}

.gear-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 8px;
}

.gear-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.gear-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.gear-card a {
  align-self: flex-start;
  color: #111;
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.gear-card a:hover {
  filter: brightness(1.08);
}

.affiliate-disclosure {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .gear-section {
    padding: 22px;
  }

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

  .gear-card {
    min-height: auto;
  }

  .gear-card.featured {
    grid-column: auto;
  }
}


.popular-groups {
  display: grid;
  gap: 18px;
}

.popular-group {
  padding: 14px;
  border: 1px solid #2f2f35;
  border-radius: 16px;
  background: #151517;
}

.popular-group-title {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.popular-group .chip-grid {
  gap: 9px;
}

@media (max-width: 640px) {
  .popular-groups {
    gap: 12px;
  }

  .popular-group {
    padding: 12px;
  }

  .popular-group-title {
    margin-bottom: 8px;
  }
}


.shopping-list {
  margin-top: 30px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(245, 197, 66, 0.08);
  border: 1px solid rgba(245, 197, 66, 0.22);
}

.shopping-list h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.shopping-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.shopping-item {
  border: 1px solid rgba(245, 197, 66, 0.22);
  background: rgba(15, 15, 16, 0.55);
  border-radius: 14px;
  padding: 14px;
}

.shopping-item strong {
  color: var(--accent);
}

.shopping-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .shopping-items {
    grid-template-columns: 1fr;
  }
}


.movie-chip {
  background: rgba(126, 166, 255, 0.12);
  border-color: rgba(126, 166, 255, 0.34);
  color: #9fb8ff;
}


/* Clean gear/footer repair */
.gear-section {
  margin-top: 42px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #141416;
}

.gear-header {
  max-width: 760px;
  margin-bottom: 22px;
}

.gear-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.gear-header p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

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

.gear-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 205px;
  padding: 18px;
  border-radius: 18px;
  background: #101012;
  border: 1px solid #34343a;
}

.gear-card.featured {
  grid-column: 1 / -1;
  background: rgba(245, 197, 66, 0.08);
  border-color: rgba(245, 197, 66, 0.24);
}

.gear-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 8px;
}

.gear-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.gear-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.gear-card a {
  align-self: flex-start;
  color: #111;
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.gear-card a:hover {
  filter: brightness(1.08);
}

.affiliate-disclosure {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #2d2d32;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .gear-section {
    padding: 22px;
  }

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

  .gear-card {
    min-height: auto;
  }

  .gear-card.featured {
    grid-column: auto;
  }
}


.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-label-row .section-label {
  margin-bottom: 0;
}

.section-label-row .link-button {
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .section-label-row {
    align-items: baseline;
  }

  .section-label-row .link-button {
    font-size: 14px;
  }
}


.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action-row #findButton,
.action-row .secondary-button {
  margin-top: 0;
}

.secondary-button {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(245, 197, 66, 0.45);
  border-radius: 14px;
  padding: 15px 20px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.secondary-button:hover {
  transform: translateY(-1px);
  background: rgba(245, 197, 66, 0.1);
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .action-row {
    flex-direction: column;
  }

  .action-row #findButton,
  .action-row .secondary-button {
    width: 100%;
  }
}


.style-grid {
  gap: 9px;
}

.tag-chip {
  text-transform: none;
}

@media (max-width: 640px) {
  .style-grid {
    max-height: none;
  }
}


.mocktail-chip {
  background: rgba(126, 231, 135, 0.12);
  border-color: rgba(126, 231, 135, 0.34);
  color: #7ee787;
}


@media (max-width: 640px) {
  
}


@media (max-width: 640px) {
  
}


.library-counter {
  margin: 0.35rem 0 1rem;
}

.site-stats {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .library-counter {
    margin: 0.25rem 0 0.85rem;
  }

  .site-stats {
    font-size: 0.76rem;
  }
}


.debug-panel {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.debug-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.debug-header h2 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.25rem;
}

.debug-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.debug-note code {
  color: rgba(255, 255, 255, 0.82);
}

.debug-status {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.debug-good {
  background: rgba(126, 231, 135, 0.12);
  color: #7ee787;
  border: 1px solid rgba(126, 231, 135, 0.25);
}

.debug-bad {
  background: rgba(255, 107, 107, 0.12);
  color: #ff8a8a;
  border: 1px solid rgba(255, 107, 107, 0.25);
}

.debug-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.debug-metric {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.debug-metric strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.debug-metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.debug-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.debug-card {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.debug-card.wide {
  grid-column: 1 / -1;
}

.debug-card h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.debug-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.84rem;
}

.debug-list.compact li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.debug-list strong {
  color: rgba(255, 255, 255, 0.82);
}

.debug-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.84rem;
}

@media (max-width: 700px) {
  .debug-header {
    display: block;
  }

  .debug-status {
    display: inline-block;
    margin-top: 0.75rem;
  }

  .debug-metrics,
  .debug-grid {
    grid-template-columns: 1fr;
  }

  .debug-card.wide {
    grid-column: auto;
  }
}


.feedback-section {
  margin: 1.25rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.feedback-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.feedback-section a {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.feedback-section a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .feedback-section {
    display: block;
  }

  .feedback-section a {
    display: inline-block;
    margin-top: 0.45rem;
  }
}


.suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.suggestion-type {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


.library-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.share-site-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  padding: 0.38rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.share-site-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 640px) {
  .library-counter {
    align-items: flex-start;
  }

  .share-site-button {
    padding: 0.34rem 0.58rem;
    font-size: 0.74rem;
  }
}


.clear-all-button {
  display: none;
  width: fit-content;
  margin: 0.5rem 0 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.clear-all-button:hover {
  color: var(--gold);
  text-decoration: underline;
}


.recipe-actions-inline {
  justify-content: flex-start;
  margin: 0.45rem 0 0.8rem;
}

.recipe-share-button {
  border: 1px solid rgba(217, 178, 98, 0.38);
  background: rgba(217, 178, 98, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.recipe-share-button:hover {
  border-color: rgba(217, 178, 98, 0.75);
  background: rgba(217, 178, 98, 0.13);
}


.recipe-direct-share-button {
  display: inline-flex;
  width: fit-content;
  margin: 0.45rem 0 0.55rem;
  border: 1px solid rgba(217, 178, 98, 0.38);
  background: rgba(217, 178, 98, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.recipe-direct-share-button:hover {
  border-color: rgba(217, 178, 98, 0.75);
  background: rgba(217, 178, 98, 0.13);
}


.origin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.35rem;
}

.iba-chip {
  border-color: rgba(217, 178, 98, 0.55);
  background: rgba(217, 178, 98, 0.12);
  color: var(--gold);
}

.classic-chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.homegrown-chip {
  border-color: rgba(124, 196, 133, 0.35);
  background: rgba(124, 196, 133, 0.08);
}

.special-chip {
  border-color: rgba(170, 150, 255, 0.35);
  background: rgba(170, 150, 255, 0.08);
}


.missing-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.missing-label {
  font-weight: 900;
  color: var(--gold);
}

.missing-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.missing-ingredient-chip {
  border: 1px solid rgba(217, 178, 98, 0.45);
  background: rgba(217, 178, 98, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: default;
}

.missing-ingredient-chip:hover {
  border-color: rgba(217, 178, 98, 0.8);
  background: rgba(217, 178, 98, 0.14);
}


.shopping-list-panel {
  display: none;
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(217, 178, 98, 0.22);
  border-radius: 14px;
  background: rgba(217, 178, 98, 0.055);
}

.shopping-list-title {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shopping-list-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.shopping-list-chip,
.missing-ingredient-chip.is-added {
  border: 1px solid rgba(124, 196, 133, 0.45);
  background: rgba(124, 196, 133, 0.1);
  color: #9be8a7;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.shopping-list-chip:hover,
.missing-ingredient-chip.is-added:hover {
  border-color: rgba(124, 196, 133, 0.8);
  background: rgba(124, 196, 133, 0.16);
}


.missing-ingredient-pill {
  display: inline-flex;
  border: 1px solid rgba(217, 178, 98, 0.45);
  background: rgba(217, 178, 98, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: default;
}


.gear-toggle-button {
  display: inline-flex;
  width: fit-content;
  margin: 0.65rem 0 0;
  border: 1px solid rgba(217, 178, 98, 0.38);
  background: rgba(217, 178, 98, 0.08);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.gear-toggle-button:hover {
  border-color: rgba(217, 178, 98, 0.75);
  background: rgba(217, 178, 98, 0.14);
}

.gear-collapse-content {
  margin-top: 1rem;
}

.gear-collapse-content[hidden] {
  display: none !important;
}


.gear-accordion-ready {
  padding: 0;
  overflow: hidden;
}

.gear-accordion-button {
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}

.gear-accordion-button:hover {
  background: rgba(217, 178, 98, 0.07);
}

.gear-accordion-button strong {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gear-accordion-button small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.gear-accordion-icon {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.gear-accordion-button[aria-expanded="true"] .gear-accordion-icon {
  transform: rotate(180deg);
}

.gear-accordion-content {
  padding: 1.2rem 1.4rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gear-accordion-content[hidden] {
  display: none !important;
}


.gear-accordion-right {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.gear-accordion-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 178, 98, 0.42);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  font-style: italic;
}

.gear-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 178, 98, 0.42);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  transform: none !important;
  transition: none;
}

.gear-accordion-button[aria-expanded="true"] .gear-accordion-icon {
  transform: none !important;
}

