/* cfk-video-invite · the video invites on the storefront: the cards, the home section, the /designs/ and wedding rows,
   the landing page /video-invite/ and the site switch's "Video invite" tab (includes/shop.php adds this file). Built on the shop pages' own tokens (--ink, --muted, --accent, --violet, --g-*, --r-lg, --display,
   --sans), so each page's palette carries over (violet on the home page, blue on /designs/). Every rule is scoped to
   .vsh-*: nothing here restyles the shop's own markup. */

.vsh-sec { margin-top: 26px; min-width: 0; }
.vsh-sec:first-child { margin-top: 0; }
.vsh-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
.vsh-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; color: var(--ink);
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.vsh-head p { grid-column: 1 / -1; margin: 5px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.vsh-all { color: var(--accent); font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.vsh-new { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--violet, #7C3AED), var(--pink, #2563EB));
  font: 800 10.5px/1 var(--sans, system-ui); letter-spacing: .07em; text-transform: uppercase; }

/* ---------- a row of cards: swipe on a phone (two and a bit in view), all five in a line on a wide screen ---------- */
/* width:0 + min-width:100%: the row never asks its column for more room than the screen has (the `1fr` trap: a
   scroller still adds its whole content width to a parent grid column's minimum), it scrolls inside instead */
.vsh-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 14px) / 2.3); gap: 14px;
  width: 0; min-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 14px 10px 22px; margin: 0 -10px; scroll-padding-inline: 10px; box-sizing: content-box; }
.vsh-row::-webkit-scrollbar { display: none; }
.vsh-row > * { scroll-snap-align: start; }
@media (min-width: 620px) { .vsh-row { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); gap: 16px; } }
@media (min-width: 1081px) {
  .vsh-row { grid-auto-flow: row; grid-template-columns: repeat(var(--vsh-cols, 5), minmax(0, 1fr)); grid-auto-columns: auto;
    overflow: visible; scroll-snap-type: none; }
}

/* ---------- a card: one link to the design's page ---------- */
.vsh-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; color: var(--ink);
  text-decoration: none; border-radius: var(--r-lg, 26px); background: var(--g-bg); border: 1px solid var(--g-bd);
  box-shadow: var(--g-sh); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur);
  transition: transform .25s cubic-bezier(.4, 0, .2, 1); -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .vsh-card:hover { transform: translateY(-4px); } }
.vsh-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vsh-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px;
  background: #2E1B3B; }
.vsh-vid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vsh-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); font: 800 10.5px/1 var(--sans, system-ui);
  white-space: nowrap; box-shadow: 0 2px 8px rgba(20, 10, 40, .12); }
.vsh-chip-tl { top: 8px; left: 8px; }
.vsh-chip-tr { top: 8px; right: 8px; }
.vsh-chip-bl { bottom: 8px; left: 8px; }
.vsh-chip-soon { top: 50%; left: 50%; transform: translate(-50%, -50%); background: #FDE68A; color: #5C4708; }
.vsh-body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 4px 2px; }
.vsh-name { font-size: 15.5px; font-weight: 800; line-height: 1.2; }
.vsh-line { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.38;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vsh-price { color: var(--accent); font-family: var(--display); font-size: 16px; font-weight: 800; white-space: nowrap; }
.vsh-price small { color: var(--muted); font: 700 11.5px var(--sans, system-ui); }
.vsh-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 10px; }
.vsh-cta { padding: 9px 15px; border: 1.5px solid var(--violet); border-radius: 999px; color: var(--violet);
  font-size: 12.5px; font-weight: 800; text-align: center; box-shadow: 0 6px 14px rgba(37, 99, 235, .14); }
@media (max-width: 560px) { .vsh-full .vsh-cta { flex: 1 0 100%; } }
.vsh-mini { padding: 8px; border-radius: 20px; }
/* inside a swipe row: no backdrop blur and a short shadow — the row clips what spills over its edges, and the shop's
   long glass shadow showed as a pale box around the row on phones */
.vsh-row .vsh-card { background: rgba(255, 255, 255, .55); backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 6px 16px rgba(90, 40, 130, .12), inset 0 1px 0 rgba(255, 255, 255, .55); }
.vsh-mini .vsh-media { border-radius: 14px; }
.vsh-mini .vsh-body { gap: 2px; padding: 8px 3px 1px; }
.vsh-mini .vsh-name { display: -webkit-box; overflow: hidden; font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 360px) { .vsh-mini .vsh-name { font-size: 13px; } }
.vsh-mini .vsh-price { font-size: 14.5px; }

/* ---------- /designs/: a tinted panel above the e-invite cards ---------- */
.vsh-strip { margin: 0 0 26px; padding: 16px 16px 6px; border: 1px solid var(--g-bd); border-radius: var(--r-lg, 26px);
  background: linear-gradient(135deg, rgba(124, 58, 237, .10), rgba(37, 99, 235, .07)); }
.vsh-strip[hidden] { display: none; }
.vsh-strip .vsh-head h2 { font-size: clamp(18px, 2vw, 22px); }
.vsh-strip .vsh-head p { font-size: 13px; }

/* ---------- the landing page ---------- */
.vsh-hero { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--g-bd);
  border-radius: var(--r-lg, 26px); background: var(--g-bg); box-shadow: var(--g-sh); backdrop-filter: var(--g-blur);
  -webkit-backdrop-filter: var(--g-blur); }
.vsh-hero > * { position: relative; z-index: 1; }
.vsh-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--violet);
  font: 800 12px/1 var(--sans, system-ui); letter-spacing: .12em; text-transform: uppercase; }
.vsh-hero h1 { max-width: 15ch; margin: 14px 0 0; color: var(--ink); font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.vsh-lede { max-width: 600px; margin: 14px 0 0; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.55; }
.vsh-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.vsh-facts li { padding: 7px 12px; border: 1px solid var(--g-bd); border-radius: 999px; background: rgba(255, 255, 255, .62);
  color: var(--ink); font-size: 12.5px; font-weight: 700; }
.vsh-from { margin: 18px 0 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.vsh-from b { color: var(--accent); font-family: var(--display); font-size: 24px; }
.vsh-fan { display: none; }
@media (max-width: 560px) {
  .vsh-hero { padding: 20px 18px; }
  .vsh-hero h1 { margin-top: 10px; font-size: 30px; }
  .vsh-lede { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .vsh-facts { margin-top: 12px; gap: 6px; }
  .vsh-facts li { padding: 6px 10px; font-size: 12px; }
  .vsh-from { margin-top: 12px; }
}
@media (min-width: 900px) {
  .vsh-hero { padding-right: min(42%, 430px); min-height: 330px; }
  .vsh-fan { position: absolute; top: 50%; right: clamp(24px, 4vw, 60px); z-index: 0; display: block; width: 330px;
    height: 300px; transform: translateY(-50%); }
  .vsh-fan img { position: absolute; top: 0; width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border: 4px solid #fff;
    border-radius: 18px; box-shadow: 0 18px 40px rgba(46, 27, 59, .25); }
  .vsh-fan img:nth-child(1) { left: 0; transform: rotate(-9deg) translateY(22px); }
  .vsh-fan img:nth-child(2) { left: 90px; z-index: 1; transform: translateY(-14px); }
  .vsh-fan img:nth-child(3) { left: 180px; transform: rotate(9deg) translateY(22px); }
}
.vsh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (min-width: 720px) { .vsh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1500px) { .vsh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 380px) { .vsh-full { padding: 8px; } .vsh-full .vsh-name { font-size: 14.5px; } }
.vsh-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .vsh-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vsh-panel { padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--g-bd); border-radius: var(--r-lg, 26px);
  background: var(--g-bg); box-shadow: var(--g-sh); backdrop-filter: var(--g-blur); -webkit-backdrop-filter: var(--g-blur); }
.vsh-panel h2 { margin: 0 0 14px; color: var(--ink); font-family: var(--display); font-size: clamp(19px, 2vw, 22px);
  font-weight: 800; letter-spacing: -.02em; }
.vsh-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: vsh; }
.vsh-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; counter-increment: vsh; }
.vsh-steps li::before { content: counter(vsh); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--pink)); font: 800 15px/34px var(--display); text-align: center; }
.vsh-steps b { font-size: 15px; }
.vsh-steps span { color: var(--muted); font-size: 13.5px; font-weight: 500; line-height: 1.45; }
.vsh-pl { display: flex; gap: 10px; margin: 0 0 12px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.vsh-pi { flex: 0 0 22px; font-size: 18px; line-height: 1.2; }
.vsh-pnote { margin: 2px 0 0 32px; color: var(--muted); font-size: 13.5px; }

/* ---------- the site switch (E-invite | Web invite | Video invite) ---------- */
/* the landing page's own row under the phone's top bar (the home page has its own: [data-mobtoggles]) */
.vsh-mswitch { display: none; }
@media (max-width: 1080px) {
  .vsh-mswitch { display: flex; gap: 4px; margin: -6px 2px 0; padding: 4px; border: 1px solid var(--g-bd); border-radius: 999px;
    background: rgba(255, 255, 255, .45); }
}
/* the home page's row with the tab added: signed in, it holds four (Dashboard · E-invite · Web invite · Video invite) */
[data-mobtoggles] > a { min-width: 0; white-space: nowrap; }
@media (max-width: 420px) {
  [data-mobtoggles].vsh-tabs4 > a { padding-left: 2px !important; padding-right: 2px !important; font-size: 12px !important; }
}
@media (max-width: 360px) { [data-mobtoggles].vsh-tabs4 .vsh-tabx { display: none; } }
