/* Appily Twenty — Petal Concierge help center (pc-) */

.page-pc-concierge {
  --pc-wine: #2d1b2e;
  --pc-blush: #e8c4c4;
  --pc-mint: #7eb8a4;
  --pc-mint-dark: #5a9688;
  --pc-cream: #faf6f1;
  --pc-paper: #fffefb;
  --pc-ink: #1a1418;
  --pc-muted: #6b5f66;
  --pc-line: rgba(26, 20, 24, 0.1);
  --pc-serif: 'Instrument Serif', Georgia, serif;
  --pc-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--pc-paper);
  font-family: var(--pc-sans);
}

.page-pc-concierge .page-main { padding-top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.pc-hero {
  position: relative;
  padding: 56px 0 40px;
  background: var(--pc-cream);
  overflow: hidden;
}

.pc-hero-petals {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(126, 184, 164, 0.2), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(232, 196, 196, 0.35), transparent 50%);
  pointer-events: none;
}

.pc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.pc-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pc-mint-dark);
}

.pc-hero h1 {
  margin: 0 0 16px;
  font-family: var(--pc-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--pc-ink);
}
.pc-hero h1 em {
  font-style: italic;
  color: var(--pc-wine);
}

.pc-lede {
  margin: 0 0 28px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--pc-muted);
}

.pc-search {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.pc-search input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--pc-sans);
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(45, 27, 46, 0.06);
}
.pc-search input:focus {
  outline: 2px solid var(--pc-mint);
  border-color: var(--pc-mint);
}
.pc-search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pc-muted);
  pointer-events: none;
}

/* Layout */
.pc-layout {
  padding: 48px 0 64px;
}

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

/* Rhombus topic tiles */
.pc-topics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.pc-topic-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  padding: 16px;
  border: none;
  background: #fff;
  cursor: pointer;
  transform: rotate(45deg);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(45, 27, 46, 0.06);
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: var(--pc-sans);
  text-align: center;
}
.pc-topic-tile > * {
  transform: rotate(-45deg);
}
.pc-topic-tile:hover,
.pc-topic-tile.is-active {
  border-color: var(--pc-mint);
  box-shadow: 0 12px 32px rgba(126, 184, 164, 0.2);
  background: #fff;
}
.pc-topic-tile.is-active {
  background: var(--pc-wine);
  border-color: var(--pc-wine);
}
.pc-topic-tile.is-active strong,
.pc-topic-tile.is-active em,
.pc-topic-tile.is-active .pc-topic-glyph {
  color: #fff;
}

.pc-topic-glyph {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--pc-mint-dark);
}
.pc-topic-tile strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pc-ink);
}
.pc-topic-tile em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--pc-muted);
  font-weight: 500;
}

.pc-topic-account { margin-left: 0; }
.pc-topic-orders { margin-left: 24px; }
.pc-topic-flowers { margin-left: 8px; }
.pc-topic-payment { margin-left: 20px; }

/* Panel */
.pc-panel[hidden] { display: none; }

.pc-panel-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pc-line);
}
.pc-panel-glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pc-cream);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--pc-wine);
}
.pc-panel-head h2 {
  margin: 0 0 4px;
  font-family: var(--pc-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--pc-ink);
}
.pc-panel-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--pc-muted);
}

/* Chat bubbles */
.pc-chat {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pc-chat-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-chat-pair.is-hidden { display: none; }

.pc-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.pc-bubble-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.7;
}
.pc-bubble p,
.pc-bubble div {
  margin: 0;
}
.pc-bubble a {
  color: var(--pc-mint-dark);
  font-weight: 600;
  text-decoration: underline;
}
.pc-bubble-a a { color: #fff; }

.pc-bubble-q {
  align-self: flex-end;
  background: var(--pc-blush);
  color: var(--pc-ink);
  border-bottom-right-radius: 4px;
}
.pc-bubble-a {
  align-self: flex-start;
  background: var(--pc-wine);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.pc-no-results {
  padding: 32px;
  text-align: center;
  color: var(--pc-muted);
  font-weight: 500;
}

/* Concierge sidebar */
.pc-concierge {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pc-concierge-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--pc-wine), #3d2540);
  color: #fff;
  box-shadow: 0 16px 40px rgba(45, 27, 46, 0.2);
}
.pc-concierge-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pc-concierge-card h3 {
  margin: 0 0 8px;
  font-family: var(--pc-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
}
.pc-concierge-card > p {
  margin: 0 0 16px;
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

.pc-btn {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--pc-wine);
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.2s, background 0.2s;
}
.pc-btn:hover {
  transform: translateY(-2px);
  background: var(--pc-blush);
  color: var(--pc-wine);
}

.pc-concierge-email,
.pc-concierge-phone {
  margin: 12px 0 0;
  font-size: 0.82rem;
}
.pc-concierge-email a,
.pc-concierge-phone {
  color: var(--pc-blush);
  font-weight: 600;
}

.pc-facts {
  margin: 0;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--pc-line);
  display: grid;
  gap: 12px;
}
.pc-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}
.pc-fact dt {
  margin: 0;
  color: var(--pc-muted);
  font-weight: 500;
}
.pc-fact dd {
  margin: 0;
  font-weight: 700;
  color: var(--pc-ink);
  text-align: right;
}

.pc-concierge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pc-concierge-links a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pc-line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pc-wine);
  transition: background 0.2s, color 0.2s;
}
.pc-concierge-links a:hover {
  background: var(--pc-mint);
  color: #fff;
  border-color: var(--pc-mint);
}

/* Shortcuts */
.pc-shortcuts {
  padding: 32px 0 48px;
  border-top: 1px solid var(--pc-line);
  background: var(--pc-cream);
}

.pc-shortcuts-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pc-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pc-line);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pc-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pc-shortcut span {
  color: var(--pc-mint-dark);
}
.pc-shortcut:hover {
  border-color: var(--pc-mint);
  box-shadow: 0 6px 20px rgba(126, 184, 164, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .pc-layout-grid {
    grid-template-columns: 1fr;
  }
  .pc-topics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: static;
    gap: 12px;
  }
  .pc-topic-tile {
    width: 100px;
    height: 100px;
    margin: 0 !important;
  }
  .pc-topic-tile strong { font-size: 0.72rem; }
  .pc-topic-tile em { display: none; }
  .pc-concierge {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .pc-concierge-card { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .pc-concierge { grid-template-columns: 1fr; }
  .pc-bubble { max-width: 95%; }
  .pc-shortcuts-inner { flex-direction: column; align-items: stretch; }
  .pc-shortcut { justify-content: center; }
}
