@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Nunito+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Quicksand:wght@600;700;800&display=swap");

:root {
  --cd-petrol-900: #04191c;
  --cd-petrol-800: #062a2e;
  --cd-petrol-700: #0a3a40;
  --cd-petrol-600: #0e4a52;
  --cd-petrol-500: #15606a;
  --cd-teal-500: #009aaa;
  --cd-teal-400: #1fb4c3;
  --cd-teal-300: #7fd5dd;
  --cd-teal-100: #d8f0f3;
  --cd-white: #ffffff;
  --cd-paper: #faf8f5;
  --cd-cream: #f1e5d0;
  --cd-ink-900: #062a2e;
  --cd-ink-700: #2a4449;
  --cd-ink-500: #5e7579;
  --cd-ink-300: #9aadb0;
  --cd-line: #e3e8e9;
  --cd-line-dark: rgba(255, 255, 255, 0.12);
  --cd-bean-amber: #e3a24a;
  --cd-bean-rust: #c96a2c;
  --cd-bean-gold: #f2c866;
  --cd-danger: #c94a3b;
  --cd-success: #2e8f6a;
  --cd-font-display: "Nunito", "Poppins", system-ui, sans-serif;
  --cd-font-body: "Nunito Sans", "Nunito", system-ui, sans-serif;
  --cd-fs-xs: 0.75rem;
  --cd-fs-small: 0.875rem;
  --cd-lh-tight: 1.12;
  --cd-lh-body: 1.45;
  --cd-fw-medium: 500;
  --cd-fw-semibold: 600;
  --cd-fw-bold: 700;
  --cd-fw-extrabold: 800;
  --cd-s-1: 4px;
  --cd-s-2: 8px;
  --cd-s-3: 12px;
  --cd-s-4: 16px;
  --cd-s-5: 20px;
  --cd-s-6: 24px;
  --cd-r-md: 10px;
  --cd-r-lg: 16px;
  --cd-r-xl: 22px;
  --cd-r-pill: 999px;
  --cd-shadow-sm: 0 1px 2px rgba(6, 42, 46, 0.08);
  --cd-shadow-md: 0 6px 18px rgba(6, 42, 46, 0.1);
  --cd-shadow-lg: 0 18px 40px rgba(6, 42, 46, 0.18);
  --cd-shadow-hover: 0 4px 12px rgba(6, 42, 46, 0.06);
  --cd-shadow-teal: 0 8px 22px rgba(0, 154, 170, 0.3);
  --cd-ring-focus: 0 0 0 3px rgba(0, 154, 170, 0.45);
  --cd-dur-fast: 120ms;
  --cd-dur-base: 200ms;
  --cd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --cd-modal-max-width: 360px;
  --cd-widget-anchor-x: calc(24px + env(safe-area-inset-right));
  --cd-widget-anchor-y: calc(24px + env(safe-area-inset-bottom));
  --cd-widget-viewport-offset: 32px;
  --cd-widget-padding: 5px;
  --cd-widget-radius: 34px;
  --cd-widget-shell-radius: 27px;
  --cd-widget-height: min(720px, calc(100dvh - 48px - env(safe-area-inset-bottom)));
  --cd-widget-launcher-size: 56px;
  --cd-widget-launcher-gap: 11px;
  --cd-widget-launcher-rail: 9px;
  --brand-primary: var(--cd-teal-500);
  --text-on-dark: var(--cd-white);
  --surface-overlay-5: rgba(255, 255, 255, 0.16);
  font-family: var(--cd-font-body);
  color: var(--cd-ink-900);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(140deg, rgba(6, 42, 46, 0.08) 0%, rgba(241, 229, 208, 0.78) 45%, rgba(250, 248, 245, 0.98) 100%),
    #fbf5ea;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.demo-storefront {
  min-height: 100vh;
  padding: 56px clamp(20px, 6vw, 88px);
}

.demo-hero {
  max-width: 680px;
  padding-top: min(12vh, 96px);
}

.demo-kicker {
  margin: 0 0 12px;
  color: var(--cd-teal-500);
  font-size: var(--cd-fs-xs);
  font-weight: var(--cd-fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--cd-petrol-900);
  font-family: var(--cd-font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
}

.demo-hero p:not(.demo-kicker) {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--cd-ink-700);
  font-size: 1.08rem;
  line-height: 1.6;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.demo-actions span {
  padding: 9px 14px;
  border: 1px solid rgba(6, 42, 46, 0.14);
  border-radius: var(--cd-r-pill);
  background: rgba(255, 255, 255, 0.62);
  color: var(--cd-petrol-800);
  font-weight: var(--cd-fw-bold);
  box-shadow: 0 8px 18px rgba(6, 42, 46, 0.05);
}

.cd-assistant {
  position: fixed;
  right: var(--cd-widget-anchor-x);
  bottom: var(--cd-widget-anchor-y);
  z-index: 1000;
}

html[data-cd-embed="shopify"] .cd-assistant:not(:has(.cd-modal:not([hidden]))) {
  right: 0;
  bottom: 0;
}

.cd-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--cd-widget-launcher-gap);
  min-height: var(--cd-widget-launcher-size);
  padding: calc(var(--cd-widget-launcher-rail) + 1px) 21px calc(var(--cd-widget-launcher-rail) + 1px) calc(var(--cd-widget-launcher-rail) + 1px);
  border: 0;
  border-radius: var(--cd-r-pill);
  background: var(--brand-primary);
  color: var(--text-on-dark);
  box-shadow: none;
  font-weight: var(--cd-fw-extrabold);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(4, 25, 28, 0.22);
  isolation: isolate;
  overflow: visible;
  animation: cdLauncherWobble 5000ms ease-in-out infinite;
  transition:
    opacity 180ms var(--cd-ease),
    translate 180ms var(--cd-ease),
    scale 180ms var(--cd-ease),
    transform 180ms var(--cd-ease),
    background 180ms var(--cd-ease);
}

.cd-launcher::after {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  box-shadow: none;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  animation: cdLauncherAttention 5000ms ease-in-out infinite;
}

html[data-cd-embed="shopify"] .cd-launcher {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html[data-cd-embed="shopify"][data-cd-launcher-ready="false"] .cd-launcher,
html[data-cd-embed="shopify"][data-cd-parent-viewport="pending"] .cd-launcher {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  translate: 0 6px !important;
  scale: 0.98 !important;
  animation: none !important;
}

html[data-cd-embed="shopify"][data-cd-launcher-ready="false"] .cd-launcher::after,
html[data-cd-embed="shopify"][data-cd-parent-viewport="pending"] .cd-launcher::after {
  opacity: 0 !important;
  animation: none !important;
}

html[data-cd-embed="shopify"][data-cd-launcher-ready="true"] .cd-launcher {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
  scale: 1;
}

html[data-cd-embed="shopify"] .cd-launcher::before,
html[data-cd-embed="shopify"] .cd-launcher::after,
html[data-cd-embed="shopify"] .cd-ai-stars,
html[data-cd-embed="shopify"] .cd-ai-question {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

html[data-cd-embed="shopify"] .cd-ai-stars {
  background: transparent !important;
}

.cd-launcher > span {
  position: relative;
  z-index: 1;
}

.cd-launcher > span:not(.cd-ai-stars) {
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 1.12rem;
}

.cd-launcher:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: none;
}

.cd-launcher:focus-visible,
.cd-icon-button:focus-visible,
.cd-send:focus-visible,
.cd-action:focus-visible,
.cd-choice-pill:focus-visible,
.cd-product-pill:focus-visible,
.cd-tea-size-chip:focus-visible,
.cd-hot-chocolate-size-chip:focus-visible,
.cd-primary-action:focus-visible,
.cd-secondary-action:focus-visible,
.cd-coffee-refinement-chip:focus-visible,
.cd-why-reveal-summary:focus-visible,
.cd-text-action:focus-visible,
.cd-debug summary:focus-visible {
  outline: 3px solid rgba(242, 200, 102, 0.78);
  outline-offset: 3px;
}

.cd-ai-stars {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--surface-overlay-5);
  animation: cdLauncherIconWobble 5000ms ease-in-out infinite;
}

html[data-cd-embed="shopify"] .cd-ai-stars {
  border: 0;
}

.cd-ai-question {
  color: var(--text-on-dark);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 23px;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(4, 25, 28, 0.22);
}

.cd-modal {
  position: fixed;
  right: var(--cd-widget-anchor-x);
  bottom: var(--cd-widget-anchor-y);
  padding: var(--cd-widget-padding);
  border: 3px solid #000000;
  border-radius: var(--cd-widget-radius);
  background: #000000;
  width: min(var(--cd-modal-max-width), calc(100vw - var(--cd-widget-viewport-offset)));
  height: var(--cd-widget-height);
  overflow: visible;
  box-shadow: 0 24px 48px rgba(6, 42, 46, 0.19);
  transform-origin: bottom right;
  animation: cdModalIn 280ms var(--cd-ease);
}

.cd-modal-shell {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cd-widget-shell-radius);
  background:
    radial-gradient(680px 380px at 50% -170px, rgba(31, 180, 195, 0.26), transparent 62%),
    linear-gradient(180deg, rgba(10, 58, 64, 0.99) 0%, rgba(4, 25, 28, 1) 100%),
    var(--cd-petrol-900);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 6px 0 rgba(0, 0, 0, 0.06);
  isolation: isolate;
  transform-origin: bottom right;
  backdrop-filter: blur(18px);
}

.cd-assistant:has(.cd-modal:not([hidden])) .cd-launcher {
  display: none;
}

html[data-cd-embed="shopify"] .cd-launcher[hidden],
html[data-cd-embed="shopify"] .cd-assistant[data-modal-state="open"] .cd-launcher,
html[data-cd-embed="shopify"] .cd-assistant:has(.cd-modal:not([hidden])) .cd-launcher {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
  transform: none !important;
}

html[data-cd-embed="shopify"] .cd-assistant[data-modal-state="open"] .cd-launcher::after,
html[data-cd-embed="shopify"] .cd-assistant:has(.cd-modal:not([hidden])) .cd-launcher::after {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
  animation: none !important;
}

.cd-modal[hidden] {
  display: none;
}

.cd-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--cd-petrol-800);
  color: var(--cd-white);
}

.cd-header-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cd-modal-header h2 {
  display: grid;
  gap: 2px;
  margin: 0;
  font-family: var(--cd-font-display);
  line-height: var(--cd-lh-tight);
  text-transform: uppercase;
}

.cd-header-brand {
  color: var(--cd-white);
  font-size: 1.02rem;
  font-weight: var(--cd-fw-extrabold);
  letter-spacing: 0.045em;
}

.cd-header-service {
  color: rgba(216, 240, 243, 0.72);
  font-size: 0.62rem;
  font-weight: var(--cd-fw-medium);
  letter-spacing: 0.12em;
}

.cd-header-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: var(--cd-fw-semibold);
}

.cd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cd-bean-gold);
  box-shadow: 0 0 0 4px rgba(242, 200, 102, 0.14);
}

.cd-header-status[data-tone="ready"] .cd-status-dot {
  background: var(--cd-success);
  box-shadow: 0 0 0 4px rgba(46, 143, 106, 0.18);
}

.cd-header-status[data-tone="error"] .cd-status-dot,
.cd-header-status[data-tone="expired"] .cd-status-dot {
  background: var(--cd-bean-amber);
  box-shadow: 0 0 0 4px rgba(227, 162, 74, 0.18);
}

.cd-icon-button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(242, 200, 102, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(242, 200, 102, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  color: rgba(246, 223, 155, 0.9);
  font-size: 1rem;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(46, 143, 106, 0.06);
  transition:
    background 160ms var(--cd-ease),
    border-color 160ms var(--cd-ease),
    box-shadow 160ms var(--cd-ease),
    color 160ms var(--cd-ease),
    transform 160ms var(--cd-ease);
}

.cd-icon-button[hidden] {
  display: none;
}

.cd-home-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.15;
}

.cd-icon-button > span[aria-hidden="true"] {
  font-weight: var(--cd-fw-semibold);
}

.cd-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 200, 102, 0.58);
  background:
    linear-gradient(180deg, rgba(242, 200, 102, 0.16), rgba(255, 255, 255, 0.07)),
    rgba(255, 255, 255, 0.06);
  color: #fff7d7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 14px rgba(242, 200, 102, 0.18),
    0 0 0 1px rgba(46, 143, 106, 0.08);
}

.cd-icon-button:focus-visible {
  border-color: rgba(255, 226, 132, 0.74);
  color: #fff7d7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 16px rgba(242, 200, 102, 0.24),
    0 0 0 1px rgba(46, 143, 106, 0.1);
}

.cd-output-stage {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(31, 180, 195, 0.08), transparent 64%),
    linear-gradient(180deg, rgba(6, 42, 46, 0.74), rgba(4, 25, 28, 0.92)),
    var(--cd-petrol-900);
  isolation: isolate;
}

.cd-output-stage::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("./assets/coffee-direct-watermark.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: clamp(176px, 62%, 244px) auto;
  content: "";
  opacity: 0.08;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  transition:
    opacity 360ms var(--cd-ease),
    filter 360ms var(--cd-ease),
    transform 360ms var(--cd-ease);
  user-select: none;
  will-change: opacity, transform;
}

.cd-modal[data-working="true"] .cd-output-stage::before,
.cd-output-stage:has(.cd-why-reveal[data-reveal-active="true"])::before {
  animation: cdWatermarkWorkingBreath 2200ms ease-in-out infinite;
  filter:
    drop-shadow(0 0 18px rgba(127, 213, 221, 0.28))
    drop-shadow(0 0 34px rgba(31, 180, 195, 0.22))
    drop-shadow(0 0 18px rgba(0, 154, 170, 0.16))
    drop-shadow(0 0 10px rgba(216, 240, 243, 0.1));
}

.cd-messages {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
  padding: 16px 18px 10px;
  background: transparent;
  scroll-behavior: smooth;
  scrollbar-color: rgba(127, 213, 221, 0.42) transparent;
}

.cd-message-row {
  display: flex;
  align-items: flex-end;
  gap: var(--cd-s-2);
  max-width: 100%;
  animation: cdFadeUp 220ms var(--cd-ease);
}

.cd-message-row.user {
  align-self: flex-end;
  justify-content: flex-end;
}

.cd-message-row.assistant,
.cd-message-row.error {
  align-self: flex-start;
  align-items: flex-start;
}

.cd-message-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 3px;
  color: var(--cd-bean-gold);
  font-size: 1rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(242, 200, 102, 0.34);
}

.cd-message-row.error .cd-message-avatar {
  margin-top: 0;
  border-radius: 50%;
  background: rgba(255, 248, 244, 0.95);
  color: #7d352b;
  font-size: 0.82rem;
  box-shadow: inset 0 0 0 1px rgba(201, 74, 59, 0.16);
  text-shadow: none;
}

.cd-message {
  max-width: 94%;
  padding: 9px 12px;
  border-radius: 16px 16px 16px 5px;
  font-size: 0.85rem;
  line-height: 1.48;
  box-shadow: var(--cd-shadow-sm);
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
}

.cd-nowrap {
  white-space: nowrap;
}

.cd-message-link,
.cd-email-token {
  color: var(--cd-bean-gold);
  font-weight: var(--cd-fw-bold);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: normal;
}

.cd-message-paragraph {
  margin: 0;
}

.cd-message-paragraph + .cd-message-paragraph {
  margin-top: 0.72em;
}

.cd-message.assistant {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 7px;
  background: rgba(255, 255, 255, 0.095);
  color: rgba(255, 255, 255, 0.92);
}

.cd-message-row.working {
  pointer-events: none;
}

.cd-message-row.working .cd-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 74px;
  min-height: 38px;
  color: rgba(255, 255, 255, 0.88);
}

.cd-message-row.working.has-prelude .cd-message {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  min-width: min(244px, 86vw);
  max-width: min(286px, 86vw);
}

.cd-thinking-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cd-pending-prelude {
  position: relative;
  display: block;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  line-height: 1.38;
}

.cd-pending-prelude[data-reveal-state="pending"] {
  visibility: hidden;
}

.cd-pending-prelude .cd-why-reveal-paragraph {
  margin: 0;
}

.cd-pending-prelude .cd-why-reveal-text {
  color: inherit;
}

.cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-text {
  color: transparent;
}

.cd-pending-prelude .cd-why-reveal-lines {
  display: none;
}

.cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-lines {
  display: block;
}

.cd-pending-prelude[data-reveal-ready="true"] .cd-why-reveal-lines {
  display: none;
}

.cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-line {
  animation: cdWhyLineClipReveal var(--cd-why-line-duration) cubic-bezier(0.2, 0.82, 0.18, 1) both;
  animation-delay: calc(var(--cd-line-index, 0) * var(--cd-why-line-stagger));
}

.cd-pending-prelude[data-reveal-ready="true"] .cd-why-reveal-line {
  clip-path: none;
  filter: none;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

.cd-thinking-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cd-bean-gold);
  opacity: 0.45;
  animation: cdThinkingDot 900ms ease-in-out infinite;
}

.cd-thinking-dots span:nth-child(2) {
  animation-delay: 150ms;
}

.cd-thinking-dots span:nth-child(3) {
  animation-delay: 300ms;
}

.cd-message.user {
  border-radius: 18px 18px 4px 18px;
  background: var(--cd-teal-500);
  color: var(--cd-white);
  font-weight: var(--cd-fw-bold);
}

.cd-message.user.cd-message-short {
  width: max-content;
  max-width: 100%;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}

.cd-message.error {
  border: 1px solid rgba(201, 74, 59, 0.14);
  background: #fff8f4;
  color: #7d352b;
}

.cd-recommendations {
  display: grid;
  width: min(312px, 100%);
  gap: 7px;
}

.cd-recommendation-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cd-r-md);
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(4, 25, 28, 0.16);
}

.cd-recommendation-card h3 {
  margin: 0;
  color: var(--cd-white);
  font-family: var(--cd-font-display);
  font-size: 0.9rem;
  line-height: 1.2;
}

.cd-recommendation-meta,
.cd-recommendation-copy {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  line-height: 1.35;
}

.cd-recommendation-meta {
  color: var(--cd-teal-300);
  font-weight: var(--cd-fw-bold);
}

.cd-recommendation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.cd-recommendation-tags li {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: var(--cd-r-pill);
  background: rgba(127, 213, 221, 0.14);
  color: var(--cd-teal-100);
  font-size: 0.68rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1.2;
}

.cd-action-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 6px 18px 26px;
  background: transparent;
}

.cd-action-grid[data-layout="machine-browse"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cd-action-group-label {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: var(--cd-fw-bold);
  letter-spacing: 0.14em;
}

.cd-action {
  --cd-quick-border: rgba(255, 255, 255, 0.12);
  --cd-quick-hover-border: rgba(127, 213, 221, 0.48);
  --cd-quick-hover-glow: rgba(127, 213, 221, 0.08);
  --cd-quick-arrow: rgba(127, 213, 221, 0.7);
  --cd-quick-surface:
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.032)),
    rgba(10, 58, 64, 0.78);
  display: grid;
  min-height: 44px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--cd-s-3);
  padding: 7px 11px;
  border: 1px solid var(--cd-quick-border);
  border-radius: 14px;
  background: var(--cd-quick-surface);
  color: var(--cd-white);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(4, 25, 28, 0.18);
  transition:
    transform 160ms var(--cd-ease),
    border-color 160ms var(--cd-ease),
    background 160ms var(--cd-ease),
    box-shadow 160ms var(--cd-ease);
}

.cd-action-grid[data-layout="machine-browse"] .cd-action {
  min-height: 44px;
  padding: 7px 10px;
}

.quick-option--coffee {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(217, 183, 126, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(217, 183, 126, 0.38), rgba(23, 74, 68, 0.9));
  --cd-quick-border: rgba(217, 183, 126, 0.48);
  --cd-quick-hover-border: rgba(235, 198, 132, 0.74);
  --cd-quick-hover-glow: rgba(217, 183, 126, 0.24);
  --cd-quick-arrow: rgba(248, 219, 145, 0.95);
}

.quick-option--machines {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(175, 199, 160, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(175, 199, 160, 0.38), rgba(21, 63, 61, 0.9));
  --cd-quick-border: rgba(175, 199, 160, 0.46);
  --cd-quick-hover-border: rgba(192, 220, 176, 0.72);
  --cd-quick-hover-glow: rgba(175, 199, 160, 0.24);
  --cd-quick-arrow: rgba(203, 230, 188, 0.94);
}

.quick-option--gifts {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(224, 164, 106, 0.52), transparent 44%),
    linear-gradient(135deg, rgba(224, 164, 106, 0.4), rgba(75, 53, 37, 0.9));
  --cd-quick-border: rgba(224, 164, 106, 0.5);
  --cd-quick-hover-border: rgba(244, 183, 111, 0.76);
  --cd-quick-hover-glow: rgba(224, 164, 106, 0.26);
  --cd-quick-arrow: rgba(255, 199, 122, 0.95);
}

.quick-option--delivery {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(158, 196, 201, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(158, 196, 201, 0.38), rgba(22, 69, 76, 0.9));
  --cd-quick-border: rgba(158, 196, 201, 0.46);
  --cd-quick-hover-border: rgba(177, 216, 221, 0.74);
  --cd-quick-hover-glow: rgba(158, 196, 201, 0.24);
  --cd-quick-arrow: rgba(186, 230, 233, 0.94);
}

.quick-option--bulk {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(185, 140, 107, 0.52), transparent 44%),
    linear-gradient(135deg, rgba(185, 140, 107, 0.4), rgba(68, 50, 38, 0.9));
  --cd-quick-border: rgba(185, 140, 107, 0.5);
  --cd-quick-hover-border: rgba(211, 163, 124, 0.74);
  --cd-quick-hover-glow: rgba(185, 140, 107, 0.26);
  --cd-quick-arrow: rgba(229, 181, 139, 0.94);
}

.quick-option--subscriptions {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(141, 190, 164, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(141, 190, 164, 0.38), rgba(28, 72, 59, 0.9));
  --cd-quick-border: rgba(141, 190, 164, 0.48);
  --cd-quick-hover-border: rgba(162, 214, 187, 0.74);
  --cd-quick-hover-glow: rgba(141, 190, 164, 0.24);
  --cd-quick-arrow: rgba(181, 233, 203, 0.94);
}

.quick-option--support {
  --cd-quick-surface:
    radial-gradient(circle at 12% 18%, rgba(201, 166, 160, 0.5), transparent 44%),
    linear-gradient(135deg, rgba(201, 166, 160, 0.38), rgba(59, 63, 59, 0.9));
  --cd-quick-border: rgba(201, 166, 160, 0.48);
  --cd-quick-hover-border: rgba(222, 188, 180, 0.72);
  --cd-quick-hover-glow: rgba(201, 166, 160, 0.24);
  --cd-quick-arrow: rgba(235, 205, 194, 0.94);
}

.cd-action-grid[data-variant="quick"][data-expanded="true"] .cd-action[data-reveal="stack"] {
  transform-origin: center bottom;
  will-change: transform, opacity;
  animation: cdQuickOptionStack 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--cd-action-reveal-delay, 0ms);
}

.cd-action:hover {
  transform: translateY(-1px);
  border-color: var(--cd-quick-hover-border);
  box-shadow:
    0 0 0 1px var(--cd-quick-hover-glow),
    0 6px 16px rgba(4, 25, 28, 0.22);
}

.cd-action:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 2px 8px rgba(4, 25, 28, 0.18);
}

.cd-action[data-variant="supportCta"],
.cd-action[data-variant="quickOpener"] {
  border-color: rgba(242, 200, 102, 0.72);
  background:
    linear-gradient(180deg, rgba(242, 200, 102, 0.135), rgba(255, 255, 255, 0.04)),
    rgba(10, 58, 64, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(242, 200, 102, 0.12),
    0 8px 22px rgba(4, 25, 28, 0.26);
}

.cd-action[data-variant="supportCta"]:hover,
.cd-action[data-variant="quickOpener"]:hover {
  border-color: rgba(242, 200, 102, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(242, 200, 102, 0.18),
    0 10px 24px rgba(4, 25, 28, 0.3);
}

.cd-action-copy {
  min-width: 0;
}

.cd-action-label {
  display: block;
  color: var(--cd-white);
  font-size: 0.875rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1.2;
}

.cd-action-grid[data-layout="machine-browse"] .cd-action-label {
  font-size: 0.84rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.cd-action-subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.25;
}

.cd-action-arrow {
  color: var(--cd-quick-arrow);
  font-size: 0.92rem;
  font-weight: var(--cd-fw-semibold);
}

.cd-action[data-variant="supportCta"] .cd-action-arrow,
.cd-action[data-variant="quickOpener"] .cd-action-arrow {
  color: var(--cd-bean-gold);
}

@keyframes cdQuickOptionStack {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  82% {
    opacity: 1;
    transform: translateY(-1px) scale(1);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cd-debug {
  margin: 0 var(--cd-s-4) var(--cd-s-2);
  padding: var(--cd-s-2) 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cd-r-md);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.cd-debug summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--cd-fw-bold);
}

.cd-debug dl {
  display: grid;
  gap: 7px;
  margin: 9px 0 0;
}

.cd-debug div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
}

.cd-debug dt {
  color: rgba(255, 255, 255, 0.62);
  font-weight: var(--cd-fw-bold);
}

.cd-debug dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.cd-local-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  animation: cdFadeUp 220ms var(--cd-ease);
}

.cd-panel-eyebrow,
.cd-choice-label,
.cd-picker-label {
  margin: 0;
  color: var(--cd-teal-300);
  font-size: 0.68rem;
  font-weight: var(--cd-fw-extrabold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-panel-title {
  margin: 0;
  color: var(--cd-white);
  font-family: var(--cd-font-display);
  font-size: 1.12rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1.18;
}

.cd-panel-copy {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cd-choice-group {
  display: grid;
  gap: 7px;
}

.cd-choice-group[data-validation="error"] {
  border-radius: var(--cd-r-md);
  padding: 9px;
  background: rgba(255, 215, 170, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 170, 0.18);
}

.cd-choice-options,
.cd-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cd-choice-pill,
.cd-product-pill {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cd-r-pill);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: var(--cd-fw-semibold);
  transition:
    background 160ms var(--cd-ease),
    border-color 160ms var(--cd-ease),
    color 160ms var(--cd-ease),
    transform 160ms var(--cd-ease);
}

.cd-choice-pill[aria-pressed="true"],
.cd-product-pill[aria-pressed="true"] {
  border-color: var(--cd-teal-400);
  background: var(--cd-teal-500);
  color: var(--cd-white);
  box-shadow: 0 4px 14px rgba(0, 154, 170, 0.22);
}

.cd-choice-group[data-validation="error"] .cd-choice-pill {
  border-color: rgba(255, 215, 170, 0.3);
}

.cd-intake-validation {
  margin: -1px 0 0;
  color: #ffe3bd;
  font-size: 0.78rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1.35;
}

.cd-choice-pill:hover,
.cd-product-pill:hover,
.cd-secondary-action:hover,
.cd-text-action:hover {
  transform: translateY(-1px);
}

.cd-intake-actions,
.cd-confirm-actions,
.cd-success-actions,
.cd-refinement-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cd-primary-action,
.cd-secondary-action,
.cd-text-action {
  min-height: 40px;
  border-radius: var(--cd-r-pill);
  padding: 9px 15px;
  font-weight: var(--cd-fw-bold);
  font-size: 0.84rem;
}

.cd-primary-action {
  border: 1px solid var(--cd-teal-500);
  background: var(--cd-teal-500);
  color: var(--cd-white);
  box-shadow: var(--cd-shadow-teal);
}

.cd-primary-action:disabled {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  box-shadow: none;
  cursor: not-allowed;
}

.cd-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.cd-text-action {
  border: 0;
  background: transparent;
  color: var(--cd-teal-300);
  box-shadow: none;
}

.cd-result-panel {
  position: relative;
  gap: 10px;
}

.cd-product-topline {
  display: grid;
  grid-template-columns: minmax(136px, 44%) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.cd-machine-result-panel .cd-product-topline {
  grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.cd-tea-result-panel .cd-product-topline {
  grid-template-columns: minmax(106px, 37%) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.cd-gift-result-panel .cd-product-topline {
  grid-template-columns: minmax(108px, 38%) minmax(0, 1fr);
}

.cd-product-image {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-height: 172px;
  aspect-ratio: 0.86;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(127, 213, 221, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 18%, rgba(242, 200, 102, 0.2), transparent 28%),
    radial-gradient(circle at 76% 20%, rgba(31, 180, 195, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(4, 25, 28, 0.2);
}

.cd-product-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 22px rgba(4, 25, 28, 0.38));
}

.cd-product-image > .cd-product-img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
}

.cd-machine-product-image {
  height: 136px;
  min-height: 0;
  aspect-ratio: auto;
  padding: 10px;
}

.cd-machine-product-image .cd-product-img {
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  filter: drop-shadow(0 16px 16px rgba(4, 25, 28, 0.3));
}

.cd-tea-result-panel .cd-product-image {
  min-height: 148px;
  aspect-ratio: 0.86;
  padding: 12px;
}

.cd-gift-result-panel .cd-product-image {
  min-height: 142px;
  aspect-ratio: 0.9;
}

.cd-product-summary {
  display: grid;
  gap: 4px;
  padding: 0 1px;
}

.cd-machine-result-panel .cd-product-summary {
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.cd-stock-pill {
  justify-self: start;
  border-radius: var(--cd-r-pill);
  padding: 3px 8px;
  border: 1px solid rgba(127, 213, 221, 0.2);
  background: rgba(127, 213, 221, 0.12);
  color: #b9edf2;
  font-size: 0.66rem;
  font-weight: var(--cd-fw-bold);
}

.cd-availability-pill {
  background: rgba(255, 255, 255, 0.075);
  color: rgba(229, 246, 248, 0.9);
}

.cd-availability-pill[data-status="available"] {
  border-color: rgba(127, 213, 221, 0.28);
  background: rgba(127, 213, 221, 0.12);
  color: #b9edf2;
}

.cd-availability-pill[data-status="unavailable"] {
  border-color: rgba(242, 150, 130, 0.26);
  background: rgba(242, 150, 130, 0.1);
  color: #ffc3b8;
}

.cd-product-title {
  margin: 0;
  color: var(--cd-white);
  font-family: var(--cd-font-display);
  font-size: 1.14rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.cd-product-subtitle,
.cd-product-price,
.cd-review-meta,
.cd-product-was-price,
.cd-sale-label,
.cd-product-price-note,
.cd-product-cta-note,
.cd-product-boundary,
.cd-why-card p,
.cd-confirm-summary span,
.cd-success-summary span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cd-product-price {
  color: #f6df9b;
  font-weight: var(--cd-fw-extrabold);
  font-size: 0.96rem;
  line-height: 1.18;
}

.cd-review-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  width: fit-content;
  max-width: 100%;
  color: #f8d980;
  font-size: 0.72rem;
  font-weight: var(--cd-fw-bold);
}

.cd-product-was-price {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  text-decoration: line-through;
}

.cd-sale-label {
  display: inline-flex;
  width: fit-content;
  border-radius: var(--cd-r-pill);
  padding: 2px 7px;
  background: rgba(242, 200, 102, 0.12);
  color: #f8d980;
  font-size: 0.72rem;
  font-weight: var(--cd-fw-bold);
}

.cd-product-price-note {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
}

.cd-price-cluster {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
  min-width: 0;
}

.cd-price-cluster .cd-product-price,
.cd-price-cluster .cd-product-was-price,
.cd-price-cluster .cd-sale-label,
.cd-price-cluster .cd-product-price-note {
  margin: 0;
}

.cd-price-cluster-current {
  flex: 0 1 auto;
}

.cd-price-cluster-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.72rem;
  font-weight: var(--cd-fw-semibold);
}

.cd-price-cluster-saving {
  padding: 1px 6px;
}

.cd-price-cluster-note {
  flex-basis: 100%;
}

.cd-product-boundary {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
}

.cd-product-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.cd-product-stat {
  display: grid;
  gap: 4px;
}

.cd-product-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  font-weight: var(--cd-fw-semibold);
}

.cd-product-stat-track {
  height: 4px;
  overflow: hidden;
  border-radius: var(--cd-r-pill);
  background: rgba(255, 255, 255, 0.12);
}

.cd-product-stat-fill {
  display: block;
  width: var(--stat-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cd-teal-500), var(--cd-bean-gold));
}

.cd-product-stat-fill[data-animate="true"] {
  animation: cdStatFill 720ms var(--cd-ease) both;
}

.cd-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cd-machine-attribute-pills {
  align-items: flex-start;
  gap: 5px 6px;
  margin-top: 0;
  min-width: 0;
}

.cd-machine-top-details {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.cd-machine-review-strip {
  width: fit-content;
  max-width: calc(100% - 7px);
  margin-left: 7px;
  color: rgba(248, 217, 128, 0.82);
  font-size: 0.7rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1.2;
}

.cd-machine-review-strip .cd-rating-copy {
  color: rgba(255, 255, 255, 0.66);
}

.cd-tag {
  border-radius: var(--cd-r-pill);
  padding: 4px 8px;
  border: 1px solid rgba(127, 213, 221, 0.15);
  background: rgba(127, 213, 221, 0.095);
  color: rgba(216, 240, 243, 0.9);
  font-size: 0.68rem;
  font-weight: var(--cd-fw-semibold);
}

.cd-selected-criteria {
  display: grid;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: default;
}

.cd-selected-criteria-label {
  margin: 0;
  color: rgba(216, 240, 243, 0.58);
  font-size: 0.6rem;
  font-weight: var(--cd-fw-extrabold);
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.cd-selected-criteria-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 4px;
  align-items: center;
}

.cd-selected-criteria-tag {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  border-radius: 6px;
  padding: 2px 5px;
  background: rgba(216, 240, 243, 0.105);
  color: rgba(236, 249, 250, 0.78);
  font-size: 0.64rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1.16;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.cd-machine-attribute-pills .cd-tag {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 3px 7px;
  border-color: rgba(127, 213, 221, 0.18);
  background: rgba(127, 213, 221, 0.105);
  line-height: 1.16;
  animation: cdPillReveal 420ms var(--cd-ease) both;
  animation-delay: var(--cd-pill-delay, 90ms);
  transform-origin: left center;
}

.cd-tea-profile-panel {
  position: relative;
  display: grid;
  gap: 6px;
  align-self: stretch;
  min-width: 0;
  align-content: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(242, 200, 102, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 28%, rgba(242, 200, 102, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(242, 200, 102, 0.12), rgba(127, 213, 221, 0.08) 46%, rgba(255, 255, 255, 0.035)),
    rgba(6, 35, 39, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 20px rgba(4, 25, 28, 0.16);
}

.cd-tea-profile-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
}

.cd-tea-profile-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.cd-tea-profile-eyebrow {
  color: #f6df9b;
  font-size: 0.58rem;
  font-weight: var(--cd-fw-extrabold);
  letter-spacing: 0;
  text-transform: uppercase;
}

.cd-tea-profile-body {
  position: relative;
  min-width: 0;
}

.cd-tea-profile-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.cd-tea-profile-lens {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(127, 213, 221, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(242, 200, 102, 0.16), rgba(127, 213, 221, 0.08) 52%, rgba(255, 255, 255, 0.035));
}

.cd-tea-profile-arc {
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border-radius: 999px;
  background:
    conic-gradient(from 220deg, rgba(242, 200, 102, 0) 0deg, rgba(242, 200, 102, 0.9) 58deg, rgba(127, 213, 221, 0.68) 126deg, rgba(127, 213, 221, 0) 178deg, rgba(242, 200, 102, 0) 360deg);
  opacity: 0.82;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}

.cd-tea-profile-inner-dot,
.cd-tea-profile-outer-dot {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  background: #f6df9b;
  box-shadow: 0 0 14px rgba(242, 200, 102, 0.35);
}

.cd-tea-profile-inner-dot {
  inset: 50% auto auto 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
}

.cd-tea-profile-outer-dot {
  right: 8px;
  bottom: 10px;
  width: 4px;
  height: 4px;
  background: #7fd5dd;
}

.cd-tea-profile-signals {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cd-tea-profile-signal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 5px;
  min-width: 0;
  min-height: 22px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.cd-tea-profile-separator {
  color: rgba(246, 223, 155, 0.78);
  font-size: 0.72rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1;
}

.cd-tea-profile-signal-value {
  color: rgba(237, 249, 250, 0.92);
  font-size: 0.64rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1.12;
  text-align: left;
  white-space: normal;
}

.cd-tea-profile-rows {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cd-tea-profile-row {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cd-tea-profile-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.cd-tea-profile-row-label {
  flex: 0 0 auto;
  color: rgba(237, 249, 250, 0.58);
  font-size: 0.58rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1.12;
}

.cd-tea-profile-row-value {
  min-width: 0;
  color: rgba(237, 249, 250, 0.94);
  font-size: 0.64rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1.24;
  text-align: right;
  overflow-wrap: anywhere;
}

.cd-tea-profile-row-track {
  height: 4px;
  overflow: hidden;
  border-radius: var(--cd-r-pill);
  background: rgba(255, 255, 255, 0.11);
}

.cd-tea-profile-row-fill {
  display: block;
  width: var(--tea-signal-width, 72%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cd-teal-500), var(--cd-bean-gold));
}

.cd-tea-profile-row-fill[data-animate="true"] {
  animation: cdStatFill 720ms var(--cd-ease) both;
}

.cd-hot-chocolate-profile-panel {
  align-content: stretch;
  background:
    radial-gradient(circle at 18% 30%, rgba(116, 62, 39, 0.22), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(242, 200, 102, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(242, 200, 102, 0.105), rgba(127, 213, 221, 0.07) 48%, rgba(255, 255, 255, 0.035)),
    rgba(6, 35, 39, 0.55);
}

.cd-gift-profile-panel {
  border-color: rgba(224, 164, 106, 0.28);
  background:
    radial-gradient(circle at 18% 28%, rgba(224, 164, 106, 0.2), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(127, 213, 221, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(224, 164, 106, 0.12), rgba(127, 213, 221, 0.075) 48%, rgba(255, 255, 255, 0.035)),
    rgba(6, 35, 39, 0.55);
}

.cd-gift-profile-body {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  min-height: 68px;
}

.cd-gift-profile-row .cd-tea-profile-lens {
  box-shadow:
    0 0 14px rgba(224, 164, 106, 0.2),
    0 0 18px rgba(127, 213, 221, 0.14);
}

.cd-gift-profile-chip {
  border-color: rgba(224, 164, 106, 0.2);
  background: rgba(224, 164, 106, 0.08);
  color: rgba(248, 222, 194, 0.88);
}

.cd-hot-chocolate-profile-body {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  min-height: 68px;
}

.cd-hot-chocolate-profile-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  transform: translateY(-4px);
}

.cd-hot-chocolate-profile-row .cd-tea-profile-mark {
  width: 36px;
}

.cd-hot-chocolate-profile-row .cd-tea-profile-lens {
  box-shadow:
    0 0 14px rgba(116, 62, 39, 0.22),
    0 0 18px rgba(242, 200, 102, 0.16);
}

.cd-hot-chocolate-profile-main {
  color: rgba(237, 249, 250, 0.95);
  font-size: 0.78rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.cd-hot-chocolate-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 5px;
  min-width: 0;
}

.cd-hot-chocolate-profile-chip {
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid rgba(242, 200, 102, 0.18);
  border-radius: var(--cd-r-pill);
  background: rgba(242, 200, 102, 0.075);
  color: rgba(246, 223, 155, 0.86);
  font-size: 0.58rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1.1;
  white-space: nowrap;
  animation: cdHotChocolateProfilePill 360ms var(--cd-ease) both;
  animation-delay: var(--cd-profile-pill-delay, 80ms);
  transform-origin: left center;
}

.cd-hot-chocolate-size-selector {
  display: grid;
  gap: 6px;
}

.cd-hot-chocolate-size-label {
  color: rgba(127, 213, 221, 0.82);
  font-size: 0.62rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1;
  text-transform: uppercase;
}

.cd-hot-chocolate-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cd-hot-chocolate-size-chip {
  min-height: 29px;
  border: 1px solid rgba(242, 200, 102, 0.16);
  border-radius: var(--cd-r-pill);
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: var(--cd-fw-semibold);
  line-height: 1;
  transition:
    background 160ms var(--cd-ease),
    border-color 160ms var(--cd-ease),
    color 160ms var(--cd-ease),
    transform 160ms var(--cd-ease),
    box-shadow 160ms var(--cd-ease);
}

.cd-hot-chocolate-size-chip[data-selected="true"] {
  border-color: rgba(242, 200, 102, 0.54);
  background: linear-gradient(145deg, rgba(242, 200, 102, 0.22), rgba(127, 213, 221, 0.12));
  color: var(--cd-white);
  box-shadow: 0 8px 20px rgba(116, 62, 39, 0.2);
}

.cd-hot-chocolate-size-chip:hover {
  transform: translateY(-1px);
}

.cd-tea-size-selector {
  margin-top: 0;
}

.cd-tea-tags {
  margin-top: 0;
}

.cd-tea-tags .cd-tag {
  animation: cdPillReveal 420ms var(--cd-ease) both;
  animation-delay: var(--cd-pill-delay, 90ms);
  transform-origin: left center;
}

.cd-gift-tags .cd-tag {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cd-why-card {
  display: grid;
  gap: 4px;
  border-left: 2px solid rgba(127, 213, 221, 0.72);
  border-radius: 12px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.045);
}

details.cd-why-reveal {
  --cd-why-panel-duration: 230ms;
  --cd-why-line-duration: 340ms;
  --cd-why-line-stagger: 110ms;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(242, 200, 102, 0.24);
  border-left-color: rgba(46, 143, 106, 0.58);
  background:
    radial-gradient(circle at 10% 28%, rgba(242, 200, 102, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(242, 200, 102, 0.105), rgba(46, 143, 106, 0.09) 58%, rgba(255, 255, 255, 0.035)),
    rgba(6, 35, 39, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 18px rgba(4, 25, 28, 0.16),
    0 0 0 1px rgba(242, 200, 102, 0.055);
  transition:
    border-color 180ms var(--cd-ease),
    background 180ms var(--cd-ease),
    box-shadow 180ms var(--cd-ease);
}

.cd-why-reveal[open] {
  border-color: rgba(242, 200, 102, 0.34);
  border-left-color: rgba(242, 200, 102, 0.72);
  background:
    radial-gradient(circle at 10% 16%, rgba(242, 200, 102, 0.19), transparent 34%),
    linear-gradient(145deg, rgba(242, 200, 102, 0.13), rgba(46, 143, 106, 0.085) 58%, rgba(255, 255, 255, 0.04)),
    rgba(6, 35, 39, 0.62);
}

.cd-why-reveal-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 10px 7px 13px;
  cursor: pointer;
  color: #f8d980;
  list-style: none;
}

.cd-why-reveal-summary::-webkit-details-marker {
  display: none;
}

.cd-why-reveal-icon-shell {
  position: relative;
  z-index: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  isolation: isolate;
}

.cd-why-reveal-icon-shell::before {
  position: absolute;
  z-index: 0;
  inset: -6px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 226, 132, 0.44) 0%, rgba(242, 200, 102, 0.24) 38%, rgba(242, 200, 102, 0) 70%);
  box-shadow:
    0 0 12px rgba(255, 218, 115, 0.42),
    0 0 22px rgba(242, 200, 102, 0.28);
  content: "";
  opacity: 0.64;
  transform: scale(1);
  transform-origin: center;
}

.cd-why-reveal:not([open]) .cd-why-reveal-icon-shell::before {
  animation: cdInsightHaloPulse 2400ms ease-in-out infinite;
}

.cd-why-reveal[open] .cd-why-reveal-icon-shell::before {
  opacity: 0.34;
  transform: scale(1);
}

.cd-why-reveal-icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  filter:
    drop-shadow(0 0 5px rgba(255, 218, 115, 0.78))
    drop-shadow(0 0 13px rgba(242, 200, 102, 0.52))
    drop-shadow(0 0 22px rgba(46, 143, 106, 0.22));
  transform-origin: center;
}

.cd-why-reveal[open] .cd-why-reveal-icon {
  filter:
    drop-shadow(0 0 4px rgba(255, 218, 115, 0.56))
    drop-shadow(0 0 11px rgba(242, 200, 102, 0.34))
    drop-shadow(0 0 17px rgba(46, 143, 106, 0.14));
}

.cd-why-reveal-icon circle {
  fill: rgba(242, 200, 102, 0.2);
  stroke: rgba(255, 232, 159, 0.96);
  stroke-width: 1.1;
}

.cd-why-reveal-icon path {
  stroke: rgba(255, 249, 220, 0.98);
  stroke-linecap: round;
  stroke-width: 1.1;
}

.cd-why-reveal-label,
.cd-why-reveal-expanded-label {
  min-width: 0;
  color: #f6df9b;
  font-size: 0.78rem;
  font-weight: var(--cd-fw-medium);
  line-height: 1.1;
}

.cd-why-reveal-expanded-label {
  display: none;
}

.cd-why-reveal[open] .cd-why-reveal-label {
  display: none;
}

.cd-why-reveal[open] .cd-why-reveal-expanded-label {
  display: block;
}

.cd-why-reveal-chevron {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(242, 200, 102, 0.24);
  border-radius: 999px;
  background: rgba(242, 200, 102, 0.075);
  color: rgba(255, 244, 199, 0.9);
  font-size: 0.92rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 8px rgba(242, 200, 102, 0.1);
  text-shadow: 0 0 7px rgba(242, 200, 102, 0.24);
  transition: transform 160ms var(--cd-ease);
}

.cd-why-reveal[open] .cd-why-reveal-chevron {
  transform: rotate(45deg);
}

.cd-why-reveal-copy {
  position: relative;
  display: grid;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  padding: 7px 11px 10px 42px;
  border-top: 1px solid rgba(242, 200, 102, 0.12);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    max-height var(--cd-why-panel-duration) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 180ms var(--cd-ease),
    transform var(--cd-why-panel-duration) var(--cd-ease);
}

.cd-why-reveal[open] .cd-why-reveal-copy {
  max-height: 36rem;
  opacity: 1;
  transform: translateY(0);
}

.cd-why-reveal[data-reveal-ready="true"] .cd-why-reveal-copy {
  overflow: visible;
}

.cd-why-reveal-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.cd-why-reveal-paragraph {
  position: relative;
}

.cd-why-reveal-text {
  color: inherit;
}

.cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-text {
  color: transparent;
}

.cd-why-reveal-lines {
  position: absolute;
  inset: 0;
  display: none;
  color: inherit;
  pointer-events: none;
  user-select: none;
}

.cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-lines {
  display: block;
}

.cd-why-reveal[data-reveal-ready="true"] .cd-why-reveal-lines {
  display: none;
}

.cd-why-reveal-line {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  overflow: hidden;
  will-change: opacity, filter, clip-path;
}

.cd-why-reveal-line-text {
  position: absolute;
  left: 0;
  display: block;
  color: inherit;
  white-space: normal;
}

.cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-line {
  animation: cdWhyLineClipReveal var(--cd-why-line-duration) cubic-bezier(0.2, 0.82, 0.18, 1) both;
  animation-delay: calc(var(--cd-line-index, 0) * var(--cd-why-line-stagger));
}

.cd-why-reveal[data-reveal-ready="true"] .cd-why-reveal-line {
  clip-path: none;
  filter: none;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

@supports ((-webkit-mask-image: linear-gradient(90deg, #000, transparent)) or (mask-image: linear-gradient(90deg, #000, transparent))) {
  .cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-line,
  .cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-line {
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 44%,
      rgba(0, 0, 0, 0.58) 60%,
      transparent 78%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 44%,
      rgba(0, 0, 0, 0.58) 60%,
      transparent 78%
    );
    -webkit-mask-position: 118% 0;
    mask-position: 118% 0;
    -webkit-mask-size: 240% 100%;
    mask-size: 240% 100%;
    animation-name: cdWhyLineMaskReveal;
  }
}

.cd-why-card h4,
.cd-confirm-summary strong,
.cd-success-summary strong {
  margin: 0;
  color: var(--cd-white);
  font-size: 0.84rem;
  font-weight: var(--cd-fw-bold);
}

.cd-rating-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.2;
}

.cd-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--cd-bean-gold);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-shadow: 0 1px 7px rgba(242, 200, 102, 0.22);
}

.cd-star {
  display: inline-block;
  position: relative;
  width: 0.82em;
  height: 1em;
  opacity: 0;
  transform: translateY(2px) scale(0.86);
  animation: cdStarReveal 520ms var(--cd-ease) both;
  animation-delay: var(--cd-star-delay, 0ms);
}

.cd-star::before,
.cd-star::after {
  content: "★";
  position: absolute;
  inset: 0;
}

.cd-star::before {
  color: rgba(242, 200, 102, 0.22);
}

.cd-star::after {
  width: var(--cd-star-fill, 0%);
  overflow: hidden;
  color: var(--cd-bean-gold);
  white-space: nowrap;
  animation: cdStarFill 520ms var(--cd-ease) both;
  animation-delay: var(--cd-star-delay, 0ms);
}

.cd-rating-copy {
  color: rgba(255, 255, 255, 0.68);
  white-space: normal;
}

.cd-refinement-row .cd-primary-action {
  flex: 1 1 100%;
  justify-content: center;
}

.cd-product-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
}

.cd-product-action-row .cd-primary-action,
.cd-product-action-row .cd-secondary-action {
  flex: 1 1 138px;
  justify-content: center;
}

.cd-coffee-result-panel .cd-product-action-row .cd-primary-action {
  flex-basis: 100%;
}

.cd-product-cta-note {
  flex: 1 1 100%;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  text-align: center;
}

.cd-video-overlay-action {
  position: absolute;
  z-index: 2;
  left: 6px;
  bottom: 6px;
  display: grid;
  grid-template-columns: 36px 22px;
  align-items: center;
  min-width: 66px;
  min-height: 44px;
  max-width: 66px;
  border: 0;
  border-radius: 8px;
  padding: 9px 8px 9px 0;
  overflow: visible;
  background: transparent;
  color: var(--cd-white);
  box-shadow: none;
  filter: drop-shadow(0 8px 12px rgba(4, 25, 28, 0.34));
  font-family: var(--cd-font-display);
  font-size: 0.58rem;
  font-weight: var(--cd-fw-bold);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.cd-video-overlay-action:hover {
  transform: translateY(-1px);
  filter:
    drop-shadow(0 9px 14px rgba(4, 25, 28, 0.4))
    drop-shadow(0 0 8px rgba(255, 47, 51, 0.2));
}

.cd-video-overlay-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 2px;
}

.cd-video-badge-label {
  display: grid;
  grid-template-rows: repeat(2, 13px);
  min-width: 0;
  align-content: stretch;
  text-align: left;
  overflow: hidden;
  border-radius: 2px 0 0 2px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 2px 0 0 rgba(255, 47, 51, 0.96);
}

.cd-video-badge-watch,
.cd-video-badge-video {
  display: grid;
  align-items: center;
  min-width: 0;
  padding: 0 3px 0 5px;
  white-space: nowrap;
}

.cd-video-badge-watch {
  background: linear-gradient(90deg, #d9161d, #ff403b);
  font-size: 0.48rem;
}

.cd-video-badge-video {
  background: #24292a;
  font-size: 0.58rem;
}

.cd-video-badge-play {
  display: grid;
  place-items: center;
  height: 26px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(135deg, #ff3034, #d90916);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 1px 0 0 rgba(255, 255, 255, 0.12);
}

.cd-video-action-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: var(--cd-white);
}

.cd-video-action-icon path {
  fill: currentColor;
}

.cd-product-video-overlay {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 12px 14px 14px;
  border-radius: inherit;
  background: rgba(1, 8, 10, 0.96);
}

.cd-product-video-dialog {
  position: relative;
  display: grid;
  width: min(100%, 420px);
  gap: 10px;
}

.cd-product-video-dialog iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #000;
}

.cd-product-video-brand {
  justify-self: center;
  width: min(60%, 180px);
  max-height: 88px;
  margin-top: 30px;
  object-fit: contain;
  opacity: 0.84;
  pointer-events: none;
  user-select: none;
}

.cd-product-video-close {
  justify-self: end;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cd-r-pill);
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cd-white);
  font-size: 0.72rem;
  font-weight: var(--cd-fw-bold);
}

.cd-refinement-row .cd-secondary-action {
  flex: 0 1 auto;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.76rem;
  line-height: 1.15;
  box-shadow: none;
}

.cd-coffee-refinement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.cd-tea-refinement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}

.cd-coffee-refinement-chip {
  --cd-chip-border: rgba(127, 213, 221, 0.2);
  --cd-chip-bg: rgba(127, 213, 221, 0.11);
  --cd-chip-text: rgba(236, 249, 250, 0.9);
  display: inline-flex;
  min-width: 0;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--cd-chip-border);
  border-radius: var(--cd-r-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--cd-chip-bg);
  color: var(--cd-chip-text);
  font-size: 0.74rem;
  font-weight: var(--cd-fw-extrabold);
  line-height: 1.1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 2px rgba(4, 25, 28, 0.12);
  transition:
    transform 160ms var(--cd-ease),
    border-color 160ms var(--cd-ease),
    background 160ms var(--cd-ease);
}

.cd-coffee-refinement-chip:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--cd-chip-border) 70%, white 30%);
}

.cd-coffee-refinement-chip[data-refinement-direction="another"],
.cd-coffee-refinement-chip[data-refinement-direction="similar"] {
  --cd-chip-border: rgba(242, 200, 102, 0.24);
  --cd-chip-bg: rgba(242, 200, 102, 0.1);
  --cd-chip-text: rgba(255, 239, 188, 0.94);
}

.cd-coffee-refinement-chip[data-refinement-direction="stronger"] {
  --cd-chip-border: rgba(201, 106, 44, 0.28);
  --cd-chip-bg: rgba(201, 106, 44, 0.12);
  --cd-chip-text: rgba(255, 222, 191, 0.94);
}

.cd-coffee-refinement-chip[data-refinement-direction="smoother"] {
  --cd-chip-border: rgba(127, 213, 221, 0.25);
  --cd-chip-bg: rgba(127, 213, 221, 0.1);
  --cd-chip-text: rgba(220, 249, 251, 0.94);
}

.cd-coffee-refinement-chip[data-refinement-direction="decaf"] {
  --cd-chip-border: rgba(46, 143, 106, 0.27);
  --cd-chip-bg: rgba(46, 143, 106, 0.12);
  --cd-chip-text: rgba(211, 246, 230, 0.94);
}

.cd-coffee-refinement-chip[data-refinement-direction="caffeinated"] {
  --cd-chip-border: rgba(227, 162, 74, 0.28);
  --cd-chip-bg: rgba(227, 162, 74, 0.12);
  --cd-chip-text: rgba(255, 230, 190, 0.94);
}

.cd-machine-refinement-area {
  display: grid;
  gap: 6px;
}

.cd-machine-price-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cd-machine-secondary-refinement-row,
.cd-machine-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.cd-machine-secondary-refinement-row .cd-machine-refinement-chip {
  flex: 0 1 auto;
}

.cd-machine-refinement-chip[data-refinement-slot="premium"] {
  min-width: min(148px, 100%);
}

.cd-machine-refinement-spacer {
  display: block;
  min-height: 32px;
}

.cd-machine-refinement-chip[data-refinement-intent="cheaper"] {
  --cd-chip-border: rgba(127, 213, 221, 0.22);
  --cd-chip-bg: rgba(127, 213, 221, 0.095);
  --cd-chip-text: rgba(224, 248, 250, 0.92);
}

.cd-machine-refinement-chip[data-refinement-intent="step_up"] {
  --cd-chip-border: rgba(242, 200, 102, 0.25);
  --cd-chip-bg: rgba(242, 200, 102, 0.105);
  --cd-chip-text: rgba(255, 239, 188, 0.94);
}

.cd-machine-refinement-chip[data-refinement-intent="premium_in_category"],
.cd-machine-refinement-chip[data-refinement-intent="best_under_budget"] {
  --cd-chip-border: rgba(227, 162, 74, 0.3);
  --cd-chip-bg: rgba(227, 162, 74, 0.12);
  --cd-chip-text: rgba(255, 230, 190, 0.94);
}

.cd-machine-refinement-chip[data-refinement-intent="another_brand_match"] {
  --cd-chip-border: rgba(46, 143, 106, 0.28);
  --cd-chip-bg: rgba(46, 143, 106, 0.12);
  --cd-chip-text: rgba(211, 246, 230, 0.94);
}

.cd-machine-brand-row .cd-machine-refinement-chip {
  min-height: 28px;
  flex: 0 1 auto;
  padding: 5px 8px;
  border-color: rgba(211, 172, 103, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(211, 172, 103, 0.085);
  color: rgba(255, 246, 224, 0.9);
  font-size: 0.7rem;
}

.cd-tea-refinement-chip[data-tea-action="another"],
.cd-tea-refinement-chip[data-tea-action="browseAll"] {
  --cd-chip-border: rgba(242, 200, 102, 0.24);
  --cd-chip-bg: rgba(242, 200, 102, 0.1);
  --cd-chip-text: rgba(255, 239, 188, 0.94);
}

.cd-tea-refinement-chip[data-tea-action="black"],
.cd-tea-refinement-chip[data-tea-action="rooibos"] {
  --cd-chip-border: rgba(227, 162, 74, 0.28);
  --cd-chip-bg: rgba(227, 162, 74, 0.11);
  --cd-chip-text: rgba(255, 232, 198, 0.94);
}

.cd-tea-refinement-chip[data-tea-action="fruitHerbal"],
.cd-tea-refinement-chip[data-tea-action="caffeineFree"] {
  --cd-chip-border: rgba(46, 143, 106, 0.27);
  --cd-chip-bg: rgba(46, 143, 106, 0.12);
  --cd-chip-text: rgba(211, 246, 230, 0.94);
}

.cd-tea-refinement-chip[data-tea-action="green"] {
  --cd-chip-border: rgba(127, 213, 221, 0.25);
  --cd-chip-bg: rgba(127, 213, 221, 0.1);
  --cd-chip-text: rgba(220, 249, 251, 0.94);
}

.cd-hot-chocolate-refinement-chip[data-hot-chocolate-action="another"],
.cd-hot-chocolate-refinement-chip[data-hot-chocolate-action="browseAll"] {
  --cd-chip-border: rgba(242, 200, 102, 0.25);
  --cd-chip-bg: rgba(242, 200, 102, 0.105);
  --cd-chip-text: rgba(255, 239, 188, 0.94);
}

.cd-chip-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  opacity: 0.88;
}

.cd-chip-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd-refinement-row .cd-brand-switch-action {
  min-height: 28px;
  padding: 5px 9px;
  border-color: rgba(211, 172, 103, 0.34);
  background: rgba(211, 172, 103, 0.1);
  color: rgba(255, 246, 224, 0.92);
  font-size: 0.72rem;
}

.cd-product-thumb {
  display: grid;
  width: 72px;
  height: 92px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(127, 213, 221, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 48% 10%, rgba(31, 180, 195, 0.22), transparent 42%),
    rgba(255, 255, 255, 0.06);
}

.cd-product-thumb .cd-product-img {
  position: static;
  width: 54px;
  height: auto;
  max-height: 82px;
  filter: drop-shadow(0 10px 12px rgba(4, 25, 28, 0.34));
}

.cd-confirm-summary {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.cd-confirm-summary,
.cd-success-summary {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.cd-confirm-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cd-confirm-meta {
  color: rgba(255, 255, 255, 0.58);
}

.cd-confirm-details {
  display: grid;
  gap: 0;
  margin: 7px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(4, 25, 28, 0.2);
}

.cd-confirm-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 8px;
  padding: 6px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cd-confirm-row:first-child {
  border-top: 0;
}

.cd-confirm-row dt,
.cd-confirm-row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  line-height: 1.25;
}

.cd-confirm-row dd {
  color: rgba(255, 255, 255, 0.88);
  font-weight: var(--cd-fw-semibold);
}

.cd-confirm-panel .cd-panel-copy,
.cd-success-panel .cd-panel-copy {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
}

.cd-success-panel {
  align-items: center;
  border: 1px solid rgba(46, 143, 106, 0.28);
  border-radius: 18px;
  padding: 18px 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 143, 106, 0.16), transparent 44%),
    rgba(46, 143, 106, 0.08);
  text-align: center;
}

.cd-success-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 143, 106, 0.18);
  color: #95e6c7;
  font-size: 1.35rem;
  font-weight: var(--cd-fw-extrabold);
}

.cd-success-summary {
  width: 100%;
  text-align: left;
}

.cd-success-actions {
  width: 100%;
  flex-direction: column;
}

.cd-success-actions .cd-primary-action,
.cd-success-actions .cd-secondary-action {
  width: 100%;
  justify-content: center;
}

.cd-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px;
  margin: 0 var(--cd-s-4) var(--cd-s-4);
  padding: 6px 6px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cd-r-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cd-input-row:focus-within {
  border-color: var(--cd-teal-500);
  box-shadow: var(--cd-ring-focus);
}

.cd-input-row textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  max-height: 112px;
  border: 0;
  border-radius: var(--cd-r-md);
  padding: 8px 0;
  resize: none;
  overflow-y: hidden;
  background: transparent;
  color: var(--cd-white);
  font-size: 0.875rem;
  line-height: 1.35;
  outline: 0;
  scrollbar-color: rgba(127, 213, 221, 0.42) transparent;
}

.cd-input-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.cd-send {
  min-width: 58px;
  min-height: 36px;
  border: 0;
  border-radius: var(--cd-r-md);
  background: var(--cd-bean-gold);
  color: var(--cd-petrol-900);
  font-size: 0.82rem;
  font-weight: var(--cd-fw-bold);
  box-shadow: 0 8px 20px rgba(242, 200, 102, 0.22);
  transition:
    transform 160ms var(--cd-ease),
    box-shadow 160ms var(--cd-ease),
    background 160ms var(--cd-ease);
}

.cd-send:not(:disabled):hover {
  transform: translateY(-1px);
  background: #ffd774;
}

.cd-send:disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

@keyframes cdModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cdFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cdWatermarkWorkingBreath {
  0%,
  100% {
    opacity: 0.08;
    transform: scale(1);
  }

  18% {
    opacity: 0.135;
    transform: scale(1.01);
  }

  46% {
    opacity: 0.215;
    transform: scale(1.027);
  }

  74% {
    opacity: 0.13;
    transform: scale(1.009);
  }
}

@keyframes cdThinkingDot {
  0%,
  80%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes cdPillReveal {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cdLauncherWobble {
  0%,
  70%,
  88%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  73% {
    transform: translate3d(-2px, 0, 0) rotate(-2.4deg);
  }

  76% {
    transform: translate3d(2px, -1px, 0) rotate(2deg);
  }

  79% {
    transform: translate3d(-1px, 0, 0) rotate(-1.3deg);
  }

  82% {
    transform: translate3d(1px, 0, 0) rotate(0.8deg);
  }

  85% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes cdLauncherAttention {
  0%,
  70%,
  88%,
  100% {
    opacity: 0;
    transform: scale(0.985);
  }

  74% {
    opacity: 0.46;
    transform: scale(1.02);
  }

  79% {
    opacity: 0.34;
    transform: scale(1.045);
  }

  85% {
    opacity: 0;
    transform: scale(1.065);
  }
}

@keyframes cdLauncherIconWobble {
  0%,
  70%,
  88%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  74% {
    transform: translate3d(1px, -1px, 0) scale(1.055);
  }

  80% {
    transform: translate3d(-1px, 0, 0) scale(1.015);
  }
}

@keyframes cdInsightHaloPulse {
  0% {
    opacity: 0.48;
    transform: scale(1);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.12);
  }

  100% {
    opacity: 0.48;
    transform: scale(1);
  }
}

@keyframes cdWhyLineClipReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    filter: blur(2px);
    opacity: 0.08;
  }

  42% {
    filter: blur(0.7px);
    opacity: 0.86;
  }

  100% {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes cdWhyLineMaskReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    filter: blur(2px);
    opacity: 0.08;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.58) 60%, transparent 78%);
    mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.58) 60%, transparent 78%);
    -webkit-mask-position: 118% 0;
    mask-position: 118% 0;
  }

  44% {
    filter: blur(0.7px);
    opacity: 0.88;
  }

  99% {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.58) 60%, transparent 78%);
    mask-image: linear-gradient(90deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.58) 60%, transparent 78%);
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }

  100% {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, #000, #000);
    mask-image: linear-gradient(90deg, #000, #000);
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes cdHotChocolateProfilePill {
  from {
    opacity: 0;
    transform: translateY(3px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cdStatFill {
  from {
    width: 0;
  }
  to {
    width: var(--stat-width, 0%);
  }
}

@keyframes cdStarReveal {
  from {
    opacity: 0;
    transform: translateY(2px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cdStarFill {
  from {
    width: 0;
  }
  to {
    width: var(--cd-star-fill, 0%);
  }
}

@media (max-width: 560px) {
  .cd-assistant {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .cd-launcher {
    gap: 0;
    min-width: 48px;
    min-height: 48px;
    padding: 13px;
  }

  .cd-launcher > span:not(.cd-ai-stars) {
    display: none;
  }

  .cd-ai-stars {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-color: rgba(255, 255, 255, 0.12);
    background: var(--surface-overlay-5);
  }

  .cd-ai-question {
    font-size: 17px;
  }

  .cd-modal {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: min(390px, calc(100vw - 24px - env(safe-area-inset-right)));
    height: min(680px, calc(100dvh - 24px - env(safe-area-inset-bottom)));
    border-radius: 25px 25px 24px 24px;
    padding: 3px;
  }

  .cd-modal-shell {
    border-radius: 20px 20px 16px 16px;
    grid-template-rows: auto minmax(128px, 1fr) auto auto;
  }

  .cd-modal-header {
    padding: 16px 16px 13px;
  }

  .cd-header-brand {
    font-size: 0.98rem;
  }

  .cd-header-service {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .cd-messages {
    min-height: 0;
    padding: 12px 14px 8px;
  }

  .cd-action-grid {
    gap: 5px;
    padding: 6px 14px 22px;
  }

  .cd-action {
    min-height: 44px;
    grid-template-columns: 1fr auto;
    padding: 6px 9px;
  }

  .cd-action-label {
    font-size: 0.84rem;
  }

  .cd-action-subtitle {
    font-size: 0.7rem;
  }

  .cd-input-row {
    padding: 10px;
  }

  .cd-input-row textarea {
    font-size: 16px;
  }

  .cd-product-image {
    min-height: 160px;
  }

  .cd-product-topline {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cd-coffee-result-panel .cd-product-topline {
    grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
    gap: 9px;
    align-items: center;
  }

  .cd-coffee-result-panel .cd-product-image {
    height: clamp(120px, 34vw, 150px);
    min-height: 0;
    aspect-ratio: auto;
    padding: 10px;
    border-radius: 14px;
  }

  .cd-coffee-result-panel .cd-product-image > .cd-product-img {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    filter: drop-shadow(0 16px 16px rgba(4, 25, 28, 0.32));
  }

  .cd-coffee-result-panel .cd-product-stats {
    align-content: center;
    gap: 6px;
    min-width: 0;
  }

  .cd-coffee-result-panel .cd-product-stat {
    min-width: 0;
    gap: 3px;
  }

  .cd-coffee-result-panel .cd-product-stat-head {
    min-width: 0;
    gap: 5px;
    font-size: 0.61rem;
  }

  .cd-coffee-result-panel .cd-product-stat-head span,
  .cd-coffee-result-panel .cd-product-stat-head strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .cd-machine-product-image {
    height: 126px;
  }

  .cd-machine-result-panel .cd-product-topline {
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .demo-storefront {
    padding: 34px 20px;
  }
}

@media (max-width: 340px) {
  .cd-product-topline {
    grid-template-columns: 1fr;
  }

  .cd-coffee-result-panel .cd-product-topline {
    grid-template-columns: minmax(108px, 40%) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .cd-coffee-result-panel .cd-product-image {
    height: 118px;
  }

  .cd-coffee-result-panel .cd-product-stats {
    gap: 5px;
  }

  .cd-machine-result-panel .cd-product-topline {
    grid-template-columns: 1fr;
  }

  .cd-machine-attribute-pills {
    margin-top: 4px;
  }

  .cd-machine-top-details {
    margin-top: 4px;
  }

  .cd-primary-action,
  .cd-secondary-action,
  .cd-text-action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  html[data-cd-embed="shopify"][data-cd-parent-viewport="desktop"] .cd-launcher {
    display: inline-flex !important;
    width: auto !important;
    min-width: 100px !important;
    min-height: 48px !important;
    gap: 8px !important;
    padding: 7px 17px 7px 9px !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  html[data-cd-embed="shopify"][data-cd-parent-viewport="desktop"] .cd-launcher > span:not(.cd-ai-stars) {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.12rem !important;
  }

  html[data-cd-embed="shopify"][data-cd-parent-viewport="desktop"] .cd-ai-stars {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }

  html[data-cd-embed="shopify"][data-cd-parent-viewport="desktop"] .cd-ai-question {
    font-size: 21px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .cd-modal[data-working="true"] .cd-output-stage::before,
  .cd-output-stage:has(.cd-why-reveal[data-reveal-active="true"])::before {
    opacity: 0.08;
    filter: none;
    transform: none;
    animation: none !important;
  }

  .cd-launcher,
  .cd-launcher::after,
  .cd-ai-stars {
    transform: none;
    animation: none !important;
  }

  .cd-launcher::after {
    opacity: 0;
    box-shadow: none;
  }

  .cd-product-stat-fill[data-animate="true"] {
    animation: none !important;
  }

  .cd-thinking-dots span {
    opacity: 0.72;
    animation: none !important;
  }

  .cd-machine-attribute-pills .cd-tag {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cd-tea-tags .cd-tag {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cd-hot-chocolate-profile-chip {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cd-action-grid[data-variant="quick"][data-expanded="true"] .cd-action[data-reveal="stack"] {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cd-star {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .cd-star::after {
    animation: none !important;
  }

  .cd-why-reveal:not([open]) .cd-why-reveal-icon-shell::before {
    opacity: 0.76;
    transform: none;
    animation: none !important;
  }

  .cd-why-reveal-copy {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-text,
  .cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-text {
    color: inherit;
  }

  .cd-why-reveal-lines {
    display: none !important;
  }

  .cd-why-reveal[data-reveal-active="true"] .cd-why-reveal-line,
  .cd-why-reveal[data-reveal-ready="true"] .cd-why-reveal-line,
  .cd-pending-prelude[data-reveal-active="true"] .cd-why-reveal-line,
  .cd-pending-prelude[data-reveal-ready="true"] .cd-why-reveal-line {
    clip-path: none;
    filter: none;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
    animation: none !important;
  }
}
