
/* AR_PACK_V3 (30 Nov 2026): the file page's map-pack entries (file_v2.html with pack_v3). The page stays in originals blue
   and the €20 file stays the primary action (the blue "Continue to secure payment" first and full width); the pack entries
   are teal and lead to the pack page (22 of 25 pack checkouts start there). Scoped under html body .pv2.pv3-file (one class
   over the v2 brand layer); works without JS. Plain CSS (one cached asset). */

/* 1. phones: the mint pill in the passport, right under the name */
html body .pv2.pv3-file .pv3-pill-fp{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;gap:9px;
  margin:12px 0 0;padding:6px 14px 6px 6px;border-radius:999px;background:#6ee7b7;color:#053b2f;font:800 13.5px/1.25 var(--v-font);
  text-decoration:none;box-shadow:0 8px 20px -10px rgba(16,185,129,.8),inset 0 1px 0 rgba(255,255,255,.4);
  -webkit-tap-highlight-color:transparent;transition:transform .14s var(--pv3-ease),filter .2s}
html body .pv2.pv3-file .pv3-pill-fp:hover{color:#053b2f;filter:brightness(1.04)}
html body .pv2.pv3-file .pv3-pill-fp:active{transform:scale(.97)}
html body .pv2.pv3-file .pv3-pill-fp::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-130%);
  animation:pv3-shine 1.1s var(--pv3-ease) 1.2s 1}
html body .pv2.pv3-file .pv3-pill-fp .ic{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#053b2f;color:#6ee7b7}
html body .pv2.pv3-file .pv3-pill-fp .t{flex:1;min-width:0}
html body .pv2.pv3-file .pv3-pill-fp .t b{font-weight:800;color:#065f46;white-space:nowrap}
@media (max-width:374px){html body .pv2.pv3-file .pv3-pill-fp .pv3-w{display:none}}
html body .pv2.pv3-file .pv3-pill-fp .pr{flex:none;font-weight:900;white-space:nowrap}
@media (min-width:761px){html body .pv2.pv3-file .pv3-pill-fp{display:none}}

/* 2. the pack card in the buy card: teal, two short lines, an arrow — after the blue Continue and the proof line, and
   (review 30 Nov) lower and lighter than Continue: ≤ 56 px, a soft shadow, clear of the proof line */
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;justify-content:stretch;gap:10px;min-height:0;margin-top:12px;padding:8px 12px;border:0;border-radius:14px;background:var(--pk-btn);color:#fff;
  text-align:left;font:600 13px/1.3 var(--v-font);box-shadow:0 8px 18px -14px rgba(14,116,144,.8);transition:transform .14s var(--pv3-ease),filter .2s}
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack::before{display:none}
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.3) 50%,transparent 65%);transform:translateX(-130%)}
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack:hover{color:#fff;background:var(--pk-btn);filter:brightness(1.06)}
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack:hover::after{transition:transform .8s var(--pv3-ease);transform:translateX(130%)}
html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack:active{transform:scale(.97)}
html body .pv2.pv3-file .fb-ic{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.16);color:#a7f3d0}
html body .pv2.pv3-file .fb-t{min-width:0}
html body .pv2.pv3-file .fb-t>b{display:block;font-size:14px;font-weight:800;line-height:1.25;letter-spacing:-.01em;color:#fff}
html body .pv2.pv3-file .fb-p{display:block;margin-top:1px;font-size:12.5px;line-height:1.3;color:#e0f2fe}
html body .pv2.pv3-file .fb-p b{margin-right:2px;font-size:13.5px;font-weight:800;color:#fff}
/* one line for the name wherever the card is narrow: small phones and the desktop buy column (318 px) */
@media (max-width:420px),(min-width:761px){html body .pv2.pv3-file .fb-t .pv3-w{display:none}}
@media (max-width:374px){html body .pv2.pv3-file .fb-ic{display:none}
  html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack{grid-template-columns:minmax(0,1fr) auto}}
html body .pv2.pv3-file .fb-go{position:relative;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.18)}
html body .pv2.pv3-file .fb-go::before{content:"";position:absolute;left:50%;top:50%;width:7px;height:7px;margin:-4px 0 0 -6px;
  border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg)}

/* 3. phones: "+ map pack €X" in the bar — a quiet mint outline LEFT of the blue Buy now (review 30 Nov: the €20 file stays the
   strongest and rightmost button, in the thumb's spot, at v2's size) */
@media (max-width:760px){
  html body .pv2.pv3-file .pv2-bar{gap:8px}
  html body .pv2.pv3-file .pv2-bar .pv2-btn.pri{min-width:112px}
  html body .pv2.pv3-file .pv2-bar .pv3-barpk{flex:none;width:auto;min-height:46px;margin:0;padding:0 12px;border:1.5px solid rgba(110,231,183,.7);
    border-radius:12px;background:transparent;color:#a7f3d0;font:700 13.5px/1.2 var(--v-font);white-space:nowrap;box-shadow:none}
  html body .pv2.pv3-file .pv2-bar .pv3-barpk:hover{background:rgba(110,231,183,.12);color:#d1fae5}
}
@media (max-width:374px){
  html body .pv2.pv3-file .pv2-bar .pv2-bar-p span{display:none}
  html body .pv2.pv3-file .pv2-bar .pv3-barpk .pv3-w{display:none}
}

/* 4. "Original + map pack" open on phones too: a teal edge, a mint top; the pack page first, then the dialog, then the list */
html body .pv2.pv3-file .pv3-buym{background:linear-gradient(180deg,#effcf8 0,#fff 140px);box-shadow:inset 4px 0 0 #14b8a6}
html body .pv2.pv3-file .pv3-buym>summary:hover{background:rgba(204,251,241,.35)}
html body .pv2.pv3-file .pv3-buym .pv3-btn.pk{width:100%;min-height:50px}
html body .pv2.pv3-file .pv3-buym .pv2-btn.pv3-ghost{border:1.5px solid #9fdccf;background:#fff;color:#155e75;font-weight:700}
html body .pv2.pv3-file .pv3-buym .pv2-btn.pv3-ghost:hover{background:#effcf8;color:#155e75}
html body .pv2.pv3-file .pv3-buym .mp-toggle{border-color:#bfe7ee;color:#155e75}
html body .pv2.pv3-file .pv3-buym .mp-toggle:hover{border-color:#0e7490;color:#155e75}
@media (min-width:761px){
  html body .pv2.pv3-file .pv3-buym .pv2-rb>.pv3-btn.pk{justify-self:start;width:auto;min-width:300px;padding:10px 24px}
}

/* 5. the summary card's link as a teal chip-button */
html body .pv2.pv3-file .pv2-lnk a.pv3-cardlnk{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;
  background:var(--pk-btn);color:#fff;font-weight:800;text-decoration:none;box-shadow:0 8px 18px -10px rgba(14,116,144,.9);
  transition:transform .14s var(--pv3-ease),filter .2s}
html body .pv2.pv3-file .pv2-lnk a.pv3-cardlnk:hover{color:#fff;filter:brightness(1.06)}
html body .pv2.pv3-file .pv2-lnk a.pv3-cardlnk:active{transform:scale(.97)}
html body .pv2.pv3-file #mappack .pv2-lnk{align-items:center}

/* 6. a file without a pack: its ECU family's ready packs (AR_PACK_HUBLINK) as a tinted card under "Leave a request" */
html body .pv2.pv3-file .pv3-hub{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 12px;padding:12px 14px;
  border:1px solid #b8e6dc;border-radius:14px;background:linear-gradient(135deg,#effcf8,#ecfeff);color:#065f46;text-decoration:none;
  transition:transform .14s var(--pv3-ease),border-color .2s}
html body .pv2.pv3-file .pv3-hub:hover{border-color:#5eead4;color:#065f46}
html body .pv2.pv3-file .pv3-hub:active{transform:scale(.98)}
html body .pv2.pv3-file .pv3-hub b{grid-column:1;font-size:14.5px;font-weight:800;line-height:1.3;color:#065f46}
html body .pv2.pv3-file .pv3-hub span{grid-column:1;font-size:13px;line-height:1.4;color:#3f6b5f}
html body .pv2.pv3-file .pv3-hub i{grid-column:2;grid-row:1/3;font-style:normal;font-weight:800;color:#0e7490;white-space:nowrap}

@media (prefers-reduced-motion:reduce){
  html body .pv2.pv3-file .pv3-pill-fp,html body .pv2.pv3-file .pv3-pill-fp::after,html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack,
  html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack::after,html body .pv2.pv3-file .pv3-hub,html body .pv2.pv3-file .pv2-lnk a.pv3-cardlnk{transition:none;animation:none}
  html body .pv2.pv3-file .pv3-pill-fp:active,html body .pv2.pv3-file .pv2-btn.sec-pack.fb-pack:active,html body .pv2.pv3-file .pv3-hub:active{transform:none}
}
