/* Appily twentythree — Fruité Compass Desk help center */

.page-fruit-compass {
  --fc-gold: #c9a227;
  --fc-gold-dark: #a8861e;
  --fc-gold-pale: #f5ecd4;
  --fc-cream: #fdfbf7;
  --fc-charcoal: #1c1c1c;
  --fc-ink: #2c2c2c;
  --fc-muted: #7a7a7a;
  --fc-line: #e8e6e2;
  --fc-white: #ffffff;
  --fc-citrus: #e8a838;
  --fc-berry: #c45c6a;
  --fc-tropical: #5a9e6f;
  --fc-orchard: #8b7355;
  background: var(--fc-cream);
}

/* ── Diagonal split hero ── */
.fc-hero {
  overflow: hidden;
}

.fc-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.fc-hero-gold {
  background: var(--fc-gold);
  color: var(--fc-charcoal);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  padding: 56px 48px 56px 0;
}

.fc-hero-gold-inner {
  position: relative;
  padding-left: 0;
}

.fc-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fc-hero-gold h1 {
  margin: 0;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 12ch;
}

.fc-hero-gold h1 em {
  font-style: italic;
  color: var(--fc-charcoal);
  opacity: 0.85;
}

.fc-compass {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(28, 28, 28, 0.15);
  border-radius: 50%;
  opacity: 0.35;
}

.fc-compass-n, .fc-compass-e, .fc-compass-s, .fc-compass-w {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fc-compass-n { top: 8px; left: 50%; transform: translateX(-50%); }
.fc-compass-s { bottom: 8px; left: 50%; transform: translateX(-50%); }
.fc-compass-e { right: 10px; top: 50%; transform: translateY(-50%); }
.fc-compass-w { left: 10px; top: 50%; transform: translateY(-50%); }

.fc-compass-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
}

.fc-hero-cream {
  background: var(--fc-cream);
  padding: 56px 0 56px 32px;
  display: flex;
  align-items: center;
}

.fc-lede {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fc-muted);
  max-width: 42ch;
}

.fc-search {
  display: flex;
  border-bottom: 2px solid var(--fc-gold);
  margin-bottom: 24px;
  max-width: 440px;
}

.fc-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 0.95rem;
  outline: none;
  min-width: 0;
}

.fc-search input::placeholder {
  color: #b0b0b0;
}

.fc-search button {
  border: 0;
  background: var(--fc-gold);
  color: var(--fc-charcoal);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.fc-search button:hover {
  background: var(--fc-gold-dark);
  color: #fff;
}

.fc-desk-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fc-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fc-tropical);
  animation: fc-pulse 2s ease infinite;
}

@keyframes fc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fc-desk-status strong {
  display: block;
  font-size: 0.88rem;
  color: var(--fc-ink);
}

.fc-desk-status span {
  font-size: 0.78rem;
  color: var(--fc-muted);
}

/* ── Three-column desk ── */
.fc-desk {
  padding: 48px 0 64px;
}

.fc-desk-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

/* ── Crate navigation ── */
.fc-crates {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 120px;
}

.fc-crates-label {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fc-muted);
}

.fc-crate {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--fc-line);
  background: var(--fc-white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.fc-crate:hover {
  border-color: var(--fc-gold);
  transform: translateX(4px);
}

.fc-crate.is-active {
  border-color: var(--fc-gold);
  border-left: 4px solid var(--fc-gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.15);
  transform: translateX(6px);
}

.fc-crate-no {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fc-gold-dark);
  line-height: 1;
}

.fc-crate-body strong {
  display: block;
  font-size: 0.88rem;
  color: var(--fc-ink);
}

.fc-crate-body em {
  font-size: 0.7rem;
  font-style: normal;
  color: var(--fc-muted);
}

.fc-crate-notch {
  width: 8px;
  height: 24px;
  background: repeating-linear-gradient(
    180deg,
    var(--fc-line) 0 3px,
    transparent 3px 6px
  );
  opacity: 0.6;
}

.fc-crate-citrus.is-active .fc-crate-no { color: var(--fc-citrus); }
.fc-crate-berry.is-active .fc-crate-no { color: var(--fc-berry); }
.fc-crate-tropical.is-active .fc-crate-no { color: var(--fc-tropical); }
.fc-crate-orchard.is-active .fc-crate-no { color: var(--fc-orchard); }

/* ── Produce label FAQ grid ── */
.fc-panel {
  display: none;
}

.fc-panel.is-active {
  display: block;
  animation: fc-rise 0.35s ease;
}

@keyframes fc-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fc-panel-head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--fc-line);
}

.fc-panel-no {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fc-gold-dark);
  margin-bottom: 6px;
}

.fc-panel-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.75rem;
  font-weight: 600;
}

.fc-panel-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fc-muted);
}

.fc-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fc-tag {
  background: var(--fc-white);
  border: 1px solid var(--fc-line);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fc-tag:hover {
  border-color: var(--fc-gold-pale);
}

.fc-tag.is-open {
  border-color: var(--fc-gold);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.12);
  grid-column: 1 / -1;
}

.fc-tag-q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  padding: 18px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.fc-tag-pin {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--fc-gold-dark);
  background: var(--fc-gold-pale);
  padding: 4px 7px;
  white-space: nowrap;
}

.fc-panel-citrus .fc-tag-pin { background: #fef3e0; color: #b87d10; }
.fc-panel-berry .fc-tag-pin { background: #fce8ea; color: #a83d4d; }
.fc-panel-tropical .fc-tag-pin { background: #e6f4eb; color: #3d7a52; }
.fc-panel-orchard .fc-tag-pin { background: #f0ebe4; color: #6d5a42; }

.fc-tag-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fc-ink);
  line-height: 1.4;
}

.fc-tag-chevron {
  width: 20px;
  height: 20px;
  border: 1px solid var(--fc-line);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s, border-color 0.25s;
}

.fc-tag-chevron::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--fc-muted);
  border-bottom: 2px solid var(--fc-muted);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 0.25s;
}

.fc-tag.is-open .fc-tag-chevron {
  border-color: var(--fc-gold);
  background: var(--fc-gold-pale);
}

.fc-tag.is-open .fc-tag-chevron::before {
  transform: translate(-50%, -30%) rotate(-135deg);
}

.fc-tag-a {
  padding: 0 16px 18px 52px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--fc-muted);
}

.fc-tag-a a {
  color: var(--fc-gold-dark);
  font-weight: 600;
}

.fc-tag-a a:hover {
  text-decoration: underline;
}

.fc-tag.is-hidden {
  display: none;
}

.fc-no-results {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding: 24px;
  text-align: center;
  background: var(--fc-gold-pale);
  border: 1px dashed var(--fc-gold);
  color: var(--fc-muted);
  font-size: 0.9rem;
}

.fc-no-results a {
  color: var(--fc-gold-dark);
  font-weight: 600;
}

/* ── Cold-chain sidebar ── */
.fc-chain {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.fc-thermo {
  background: var(--fc-white);
  border: 1px solid var(--fc-line);
  padding: 20px 16px;
}

.fc-thermo-bar {
  position: relative;
  height: 8px;
  background: linear-gradient(90deg, #a8d4f0 0%, var(--fc-gold) 50%, var(--fc-tropical) 100%);
  border-radius: 4px;
  margin-bottom: 10px;
}

.fc-thermo-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  border-radius: 4px;
}

.fc-thermo-mark {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 16px;
  background: var(--fc-charcoal);
  opacity: 0.3;
}

.fc-thermo-mark-1 { left: 15%; }
.fc-thermo-mark-2 { left: 50%; }
.fc-thermo-mark-3 { left: 85%; }

.fc-thermo-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-muted);
}

.fc-chain-card {
  background: var(--fc-charcoal);
  color: #fff;
  padding: 24px 20px;
}

.fc-chain-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.fc-chain-card p {
  margin: 0 0 18px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.fc-chain-btn {
  display: inline-block;
  background: var(--fc-gold);
  color: var(--fc-charcoal);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 11px 20px;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.fc-chain-btn:hover {
  background: #fff;
}

.fc-chain-link {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.fc-chain-link:hover {
  color: var(--fc-gold);
}

.fc-facts {
  margin: 0;
  background: var(--fc-white);
  border: 1px solid var(--fc-line);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.fc-facts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.8rem;
}

.fc-facts dt {
  color: var(--fc-muted);
}

.fc-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--fc-ink);
}

.fc-quick {
  display: grid;
  gap: 6px;
}

.fc-quick a {
  padding: 11px 14px;
  background: var(--fc-white);
  border-left: 3px solid var(--fc-gold);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fc-ink);
  transition: background 0.2s, padding-left 0.2s;
}

.fc-quick a:hover {
  background: var(--fc-gold-pale);
  padding-left: 18px;
}

/* ── Season tile strip ── */
.fc-season {
  background: var(--fc-charcoal);
  padding: 28px 0;
}

.fc-season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.fc-season-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}

.fc-season-tile span {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 1.1rem;
  color: var(--fc-gold);
}

.fc-season-tile:hover {
  border-color: var(--fc-gold);
  background: rgba(201, 162, 39, 0.1);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .fc-desk-grid {
    grid-template-columns: 180px 1fr;
  }

  .fc-chain {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fc-thermo { grid-column: 1 / -1; }
  .fc-chain-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .fc-hero-split {
    grid-template-columns: 1fr;
  }

  .fc-hero-gold {
    clip-path: none;
    padding: 40px 0 32px;
  }

  .fc-hero-cream {
    padding: 0 0 40px;
  }

  .fc-compass {
    right: 20px;
    bottom: 20px;
  }

  .fc-desk-grid {
    grid-template-columns: 1fr;
  }

  .fc-crates {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .fc-crates-label {
    width: 100%;
  }

  .fc-crate {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .fc-crate:hover,
  .fc-crate.is-active {
    transform: none;
  }

  .fc-tag-grid {
    grid-template-columns: 1fr;
  }

  .fc-chain {
    grid-template-columns: 1fr;
  }

  .fc-season-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fc-crate {
    flex: 1 1 100%;
  }

  .fc-season-grid {
    grid-template-columns: 1fr;
  }
}
