/* -- Shared card component styles --
   Used by: catalog.html, browse.html
   Edit here - do NOT copy into individual templates.
-- */

/* Card item - flex column so every grid cell stretches to the tallest
   sibling. Combined with `flex:1` on the info section below the card art,
   the price row sticks to the bottom and rows stay perfectly aligned even
   when bank names wrap differently. */
.card-item {
  opacity: 0;
  animation: fadeUp 0.45s cubic-bezier(0.16,1,0.3,1) forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-item:active { transform: scale(0.965); transition: transform 0.1s; }
/* The info block (the second child of `.card-item`, anything that isn't the
   card art) grows to fill the cell so the Add button row anchors to the
   bottom edge of each card. */
.card-item > :not(.card-art) {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Inside the info block, the price/Add row is the last `.flex.items-center`
   child - `margin-top:auto` pins it to the bottom so feature pills and bank
   name pack at the top instead of being centered. */
.card-item > :not(.card-art) > .flex.items-center.justify-between { margin-top: auto; }

/* Card art noise overlay */
.card-art::after {
  content:''; position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none; opacity:0.4; mix-blend-mode:overlay;
}

/* Feature badges - `.feat-on` is the cyan active pill, `.feat-off` is the
   dim companion shown for missing data so the four-pill row stays the same
   width regardless of which fields a card carries. */
.feat-on  { background: rgba(0,251,251,0.08);  border: 1px solid rgba(0,251,251,0.22);  color: #00FBFB; }
.feat-off { background: rgba(58,74,73,0.14);   border: 1px solid rgba(58,74,73,0.22);   color: rgba(185,202,201,0.38); }

/* Grid-card Add-to-Cart button - default cyan ghost; flips to a magenta
   "In Cart" state once the card lives in the cart. Mirrors the detail
   modal's CTA so the language stays consistent between surfaces. */
.card-add-btn {
  background: rgba(0,251,251,0.10);
  border: 1px solid rgba(0,251,251,0.25);
  color: #00FBFB;
}
.card-add-btn .card-add-icon,
.card-add-btn .card-add-label { color: #00FBFB; }
.card-add-btn.in-cart {
  background: rgba(208,91,255,0.12);
  border-color: rgba(208,91,255,0.42);
}
.card-add-btn.in-cart .card-add-icon,
.card-add-btn.in-cart .card-add-label { color: #D05BFF; }
/* Quick scale "pop" when the user taps Add - runs once via the
   `card-add-pop` class toggled by cart-utils.js. */
.card-add-pop { animation: cardAddPop 0.35s cubic-bezier(0.16,1,0.3,1); }
@keyframes cardAddPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.10); }
  100% { transform: scale(1); }
}

/* -- Discount treatment on grid cards --
   Renders ONLY when the card has a real sale (original > current). Swaps the
   "PRICE" eyebrow line for a strike-through original + magenta -N% chip so
   the column reads "$9.50  -50%" / "$4.75" without growing the card height.
   The chip uses the same magenta accent as the in-cart button, tying the
   discount affordance to the rest of the mini-app palette. */
.card-price-orig-row {
  display: inline-flex; align-items: center; gap: 4px;
  line-height: 1; min-width: 0;
}
.card-price-orig {
  font-size: 9px; font-weight: 700;
  color: rgba(185,202,201,0.45);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.card-price-disc-chip {
  display: inline-flex; align-items: center;
  font-size: 8px; font-weight: 900; line-height: 1;
  padding: 2px 4px; border-radius: 3px;
  background: rgba(208,91,255,0.16);
  color: #D05BFF;
  border: 1px solid rgba(208,91,255,0.38);
  letter-spacing: 0.02em;
}
.card-price-now { color: #fff; }

/* Country flag */
.country-flag-img { width:22px; height:16px; object-fit:cover; border-radius:2px; box-shadow:0 1px 3px rgba(0,0,0,0.5); display:inline-block; }
.country-flag-img.flag-error { display:none; }
.country-flag-badge {
  display:inline-flex; align-items:center; justify-content:center;
  height:16px; padding:0 4px;
  font-size:7px; font-weight:900; letter-spacing:0.04em;
  border-radius:2px; background:rgba(255,255,255,0.12); color:rgba(255,255,255,0.85);
  border:1px solid rgba(255,255,255,0.15);
}

/* Network badges */
.net-visa {
  display:inline-flex; align-items:center; justify-content:center;
  height:16px; padding:0 5px;
  font-family:Inter,sans-serif; font-weight:800; font-size:8px;
  letter-spacing:0.12em; color:#00FBFB; text-transform:uppercase;
  background:rgba(0,40,50,0.55); border-radius:2px; border:1px solid rgba(0,251,251,0.18);
}
.net-mc { display:inline-flex; align-items:center; height:16px; gap:3px; }
.net-mc .mc-r { width:11px; height:11px; border-radius:50%; background:#EB001B; }
.net-mc .mc-y { width:11px; height:11px; border-radius:50%; background:#F79E1B; margin-left:-5px; }
.net-mc .mc-word { font-size:6.5px; font-weight:600; color:rgba(255,255,255,0.92); white-space:nowrap; }
.net-amex {
  display:inline-flex; align-items:center; justify-content:center;
  height:16px; padding:0 5px;
  background:linear-gradient(135deg,#006FCF,#003F8A); border-radius:2px; border:1px solid rgba(122,184,255,0.25);
}
.net-amex-inner { font-style:italic; font-weight:900; font-size:9px; color:#fff; letter-spacing:0.04em; }
.net-gen {
  display:inline-flex; align-items:center; justify-content:center;
  height:16px; padding:0 5px;
  font-weight:700; font-size:8px; color:rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.08); border-radius:2px;
}

/* Filter badge */
.filter-badge {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:16px; height:16px; border-radius:8px;
  background:#00FBFB; color:#003737; font-size:9px; font-weight:900; padding:0 4px;
}

/* -- Card Detail Modal --
   Slide-up bottom sheet shown when a user taps a card. Compact layout: hero
   card -> identity strip -> dense 3-col info grid -> inline feature pills ->
   sticky add-to-cart CTA. Theme tokens (cyan #00FBFB, magenta #D05BFF,
   surface #131314) mirror the rest of the mini app.
-- */
/* Overlay tuned to match the wallet deposit sheet - lighter dim + smaller
   backdrop blur so the page peeks through and the sheet feels coherent
   with the rest of the mini-app chrome. */
.card-detail-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.32s ease;
}
.card-detail-overlay.open { opacity: 1; pointer-events: all; }

/* Sheet color matched to wallet's deposit sheet: rgba(20,19,20,0.97) +
   24 px backdrop blur. The slight transparency lets the page's
   .asymmetric-gradient tint bleed through subtly, so the sheet reads as
   part of the same surface instead of a flat gray slab on top. */
.card-detail-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 91;
  max-height: 94dvh;
  background: rgba(20,19,20,0.97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(58,74,73,0.30); border-bottom: none;
  border-radius: 26px 26px 0 0;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 -16px 70px rgba(0,0,0,0.65);
}
.card-detail-overlay.open .card-detail-sheet { transform: translateY(0); }

.card-detail-handle {
  width: 38px; height: 4px; border-radius: 999px;
  background: rgba(58,74,73,0.55);
  margin: 8px auto 2px;
  flex-shrink: 0;
}

/* Header is now transparent - let the sheet's color show through uniformly
   so the top of the modal matches the body instead of looking like a
   slightly-lighter strip. */
.card-detail-header {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 10px;
  border-bottom: 1px solid rgba(58,74,73,0.14);
  background: transparent;
  flex-shrink: 0;
}
.card-detail-close {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #00FBFB;
  transition: transform 0.18s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.card-detail-close:active {
  transform: scale(0.85);
  background: rgba(0,251,251,0.10);
}
.card-detail-close .material-symbols-outlined { font-size: 20px; }
.card-detail-title {
  font-family: Manrope, sans-serif;
  font-weight: 900; font-size: 13px;
  color: #00FBFB;
  letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 1;
}
.card-detail-subtitle {
  font-size: 9.5px;
  color: rgba(185,202,201,0.45);
  margin-top: 3px;
  letter-spacing: 0.03em;
}

.card-detail-body {
  flex: 1; overflow-y: auto;
  padding: 14px 14px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,251,251,0.45) transparent;
}
.card-detail-body::-webkit-scrollbar { width: 4px; }
.card-detail-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0,251,251,0.55), rgba(0,251,251,0.25));
  border-radius: 2px;
}

/* Hero card mockup - full-bleed within a 360 px lid, floating with a
   light 3D tilt while the cyan glow breathes in sync. Per-brand gradient
   + glow inlined from cardTheme(). Interior elements (PAN, badges, flag,
   holder/expiry, level) are scaled UP via the descendant overrides below.
   The parent `<section>` should set `perspective: 1100px` for the hover
   3D tilt to read properly. */
.detail-hero-card {
  position: relative; width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1.586/1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  /* Float + glow run on the card itself (transform/shadow). Sheen runs on
     the ::after (background-position) - see further down. Cycle lengths
     are intentionally long and slightly different so the breathing reads
     as ambient, not a metronome. */
  animation:
    detailFloat 8.5s ease-in-out infinite,
    detailGlowPulse 6.5s ease-in-out infinite;
}
.detail-hero-card:hover {
  animation-play-state: paused;
  transform: rotateY(3deg) rotateX(-1.5deg) translateY(-4px) scale(1.01);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55), 0 0 54px rgba(0,251,251,0.38);
}

/* Minimal float - pure vertical drift with a barely-there rotateZ
   (--0.3--). Slow & quiet so the card feels weightless without distracting
   from the content below it. */
@keyframes detailFloat {
  0%, 100% { transform: translateY(0)    rotateZ(-0.3deg); }
  50%      { transform: translateY(-8px) rotateZ(0.3deg); }
}

/* Glow + drop-shadow breathe together but on a separate cycle from the
   float, so the brightness peak doesn't always coincide with the apex of
   the float - looks alive instead of clockwork. */
@keyframes detailGlowPulse {
  0%, 100% {
    box-shadow:
      0 10px 30px rgba(0,0,0,0.45),
      0 0 26px rgba(0,251,251,0.18);
  }
  50% {
    box-shadow:
      0 18px 48px rgba(0,0,0,0.58),
      0 0 60px rgba(0,251,251,0.44);
  }
}

/* Specular sheen sweep - a soft white band drifts across the card. Lives
   on the card's ::after so it sits above content without affecting layout.
   Brighter peak (0.18) than before, slightly slower & wider so the
   highlight reads as a real light reflection. */
.detail-hero-card::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 32%,
    rgba(255,255,255,0.07) 44%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.07) 56%,
    transparent 68%);
  background-size: 280% 100%;
  background-position: 140% 0;
  animation: heroSheen 10s ease-in-out infinite;
}
@keyframes heroSheen {
  0%, 100% { background-position: 140% 0; }
  55%      { background-position: -140% 0; }
}

/* Bigger interior badges/flags inside the hero. These overrides only apply
   within `.detail-hero-card` so the grid-card sizing is untouched. */
.detail-hero-card .country-flag-img {
  width: 30px; height: 22px; border-radius: 3px;
}
.detail-hero-card .country-flag-badge {
  height: 22px; font-size: 10px; padding: 0 7px;
}
.detail-hero-card .net-visa,
.detail-hero-card .net-gen   { height: 22px; padding: 0 8px; font-size: 11px; letter-spacing: 0.14em; }
.detail-hero-card .net-amex  { height: 22px; padding: 0 8px; }
.detail-hero-card .net-amex-inner { font-size: 12.5px; }
.detail-hero-card .net-mc    { height: 22px; gap: 5px; }
.detail-hero-card .net-mc .mc-r,
.detail-hero-card .net-mc .mc-y { width: 16px; height: 16px; }
.detail-hero-card .net-mc .mc-y { margin-left: -7px; }
.detail-hero-card .net-mc .mc-word { font-size: 9px; }

/* -- Identity block --
   Eyebrow row (brand + verified pill), big bank title, marketing-style
   description paragraph. Matches the Product Identity section in the
   virtual_card_details_enhanced reference. */
.detail-identity-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.detail-eyebrow {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #00FBFB;
}
.detail-verified-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 800;
  color: #00FBFB;
}
.detail-verified-pill .material-symbols-outlined {
  font-size: 14px;
  font-variation-settings: 'FILL' 1;
}
.detail-bank-title {
  font-family: Manrope, sans-serif;
  font-weight: 900; font-size: 26px;
  line-height: 1.1;
  color: #e5e2e3;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.detail-description {
  font-size: 13px; line-height: 1.55;
  color: rgba(185,202,201,0.78);
}

/* -- Key-specs bento grid (2 x 2) --
   Four icon-led cells for the most-distinguishing facts: Card Type,
   Network, Country, Level. Cells are glass-panelled and animate-scale on
   press for that "feels alive" touch from the reference template. */
.detail-bento {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.detail-bento-cell {
  position: relative;
  padding: 14px;
  border-radius: 12px;
  background: rgba(28,27,28,0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(58,74,73,0.18);
  transition: border-color 0.25s, transform 0.18s;
  min-width: 0;
}
.detail-bento-cell:active { transform: scale(0.985); }
.detail-bento-icon {
  display: block;
  color: #00FBFB;
  font-size: 22px;
  margin-bottom: 8px;
  font-variation-settings: 'FILL' 0, 'wght' 500;
}
.detail-bento-icon.alt { color: #ecb1ff; }
.detail-bento-label {
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(185,202,201,0.60);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.detail-bento-value {
  font-size: 14px; font-weight: 700;
  color: #e5e2e3;
  line-height: 1.25;
  word-break: break-word;
}
.detail-bento-value .iso {
  font-size: 10px; font-weight: 700;
  color: rgba(185,202,201,0.55);
  margin-left: 4px;
}
.detail-bento-value .empty {
  color: rgba(185,202,201,0.40);
  font-weight: 600;
}

/* -- Glass panel + subsections --
   Wraps grouped subsections (Issuance Details / Usage & Security / future
   Pricing / etc.). Subsections inside a single panel are separated by a
   soft inner divider - matches the reference template's Technical
   Specifications card. */
.detail-panel {
  background: rgba(28,27,28,0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(58,74,73,0.18);
  border-radius: 14px;
  padding: 16px;
}
.detail-panel-section + .detail-panel-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(58,74,73,0.10);
}
.detail-panel-title {
  font-family: Manrope, sans-serif;
  font-weight: 800; font-size: 12.5px;
  color: #e5e2e3;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.detail-panel-title .material-symbols-outlined {
  color: #00FBFB; font-size: 17px;
  font-variation-settings: 'FILL' 1;
}

/* Spec rows live INSIDE `.detail-panel-section`. Pure label/value 2-col
   layout - extensible: render from an array, push more rows whenever new
   API fields land (CVV, fees, BIN range, etc.). Modifier classes on the
   value: `.mono`, `.cy`, `.alt`, `.warn`, `.dim`. */
.detail-spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 12px;
  border-top: 1px solid rgba(58,74,73,0.08);
}
.detail-spec-row:first-of-type { border-top: none; padding-top: 4px; }
.detail-spec-label {
  color: rgba(185,202,201,0.72);
  font-weight: 500;
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.detail-spec-value {
  font-size: 12.5px; font-weight: 700;
  color: #e5e2e3;
  max-width: 60vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-align: right;
}
.detail-spec-value.mono {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
}
.detail-spec-value.cy   { color: #00FBFB; }
.detail-spec-value.alt  { color: #ecb1ff; }
.detail-spec-value.warn { color: #ffb4ab; }
.detail-spec-value.dim  { color: rgba(185,202,201,0.45); }
.detail-spec-value .iso {
  font-size: 10px; font-weight: 700;
  color: rgba(185,202,201,0.55);
  margin-left: 4px;
}

/* Feature pills - icon + short label in a cyan pill, dim variant for
   data the card doesn't include. Lives inside `.detail-panel-section`
   so it sits alongside the Issuance Details rows in one glass panel.
   Pills are tactile-sized (7x11) so they read as scannable chips rather
   than tags. */
.detail-feat-list {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.detail-feat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(0,251,251,0.10);
  border: 1px solid rgba(0,251,251,0.28);
  color: #00FBFB;
  line-height: 1;
  transition: transform 0.14s, background 0.18s, border-color 0.18s;
}
.detail-feat-pill .material-symbols-outlined {
  font-size: 13px;
  font-variation-settings: 'FILL' 1;
}
.detail-feat-pill:hover {
  background: rgba(0,251,251,0.14);
  border-color: rgba(0,251,251,0.40);
  transform: translateY(-1px);
}
.detail-feat-pill.off {
  background: rgba(58,74,73,0.14);
  border-color: rgba(58,74,73,0.26);
  color: rgba(185,202,201,0.40);
}
/* Strikethrough lives on the label span, not the pill, so the icon glyph
   stays clean. Two visual cues (dim color + strikethrough) makes "missing"
   easy to read at a glance. */
.detail-feat-pill .feat-lbl { line-height: 1; }
.detail-feat-pill.off .feat-lbl {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(185,202,201,0.55);
}
.detail-feat-pill.off:hover {
  background: rgba(58,74,73,0.20);
  border-color: rgba(58,74,73,0.36);
  transform: none;
}

/* Tiny source line - replaces the API-source row in the issuance panel. */
.detail-source {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(185,202,201,0.38);
}
.detail-source .material-symbols-outlined { font-size: 12px; }
.detail-source .src-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(58,74,73,0.22);
  border: 1px solid rgba(58,74,73,0.30);
  color: rgba(185,202,201,0.60);
}

/* Sticky bottom CTA - gradient fades into the sheet color so the bar
   doesn't show a hard edge against the body. */
.card-detail-cta {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg,
    rgba(20,19,20,0) 0%,
    rgba(20,19,20,0.97) 38%,
    rgba(20,19,20,0.97) 100%);
  pointer-events: none;
}
.card-detail-cta > * { pointer-events: auto; }
.card-detail-cta-price { flex-shrink: 0; min-width: 78px; }
.card-detail-cta-price small {
  display: block;
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.16em;
  color: rgba(185,202,201,0.55);
  text-transform: uppercase; line-height: 1;
}
.card-detail-cta-price strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 900; font-size: 24px;
  color: #fff; line-height: 1.05; margin-top: 3px;
}
/* Discount variant - swaps the uppercase "PRICE" eyebrow for a strikethrough
   original price followed by an inline -N% chip. min-width widens slightly so
   the chip doesn't get clipped against the CTA button on narrow viewports. */
.card-detail-cta-price.has-disc { min-width: 92px; }
.card-detail-cta-price.has-disc small {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
  color: rgba(185,202,201,0.55);
  text-transform: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.card-detail-cta-price.has-disc small s {
  text-decoration: line-through;
  text-decoration-color: rgba(185,202,201,0.55);
}
.card-detail-cta-price .cta-price-chip {
  display: inline-flex; align-items: center;
  font-size: 9px; font-weight: 900; line-height: 1;
  padding: 2px 5px; border-radius: 4px;
  background: rgba(208,91,255,0.16);
  color: #D05BFF;
  border: 1px solid rgba(208,91,255,0.40);
  letter-spacing: 0.02em;
}
.card-detail-cta-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px;
  font-family: Manrope, sans-serif;
  font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: linear-gradient(135deg, #00FBFB, #00d4d4);
  color: #003737; border-radius: 12px;
  animation: ctaPulseGlow 2.4s ease-in-out infinite;
  transition: transform 0.16s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.card-detail-cta-btn .material-symbols-outlined { font-size: 17px; }
.card-detail-cta-btn:active { transform: scale(0.96); }
.card-detail-cta-btn.in-cart {
  background: linear-gradient(135deg, #D05BFF, #b94adf);
  color: #fff;
  animation: ctaPulseGlowMagenta 2.4s ease-in-out infinite;
}
@keyframes ctaPulseGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(0,251,251,0.34); }
  50%      { box-shadow: 0 0 40px rgba(0,251,251,0.58); }
}
@keyframes ctaPulseGlowMagenta {
  0%, 100% { box-shadow: 0 0 22px rgba(208,91,255,0.34); }
  50%      { box-shadow: 0 0 40px rgba(208,91,255,0.58); }
}

/* Stagger fade-in for body sections */
.detail-fade {
  opacity: 0; transform: translateY(14px);
  animation: detailFadeUp 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes detailFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.detail-stagger-1 { animation-delay: 0.06s; }
.detail-stagger-2 { animation-delay: 0.14s; }
.detail-stagger-3 { animation-delay: 0.22s; }
.detail-stagger-4 { animation-delay: 0.30s; }
.detail-stagger-5 { animation-delay: 0.38s; }
