/* Extra offers in the v7 "camera roll" language: named bundles, the complete-your-trip bump, honest season lines,
   your own tracked animal, the naming picker and the confirmation-page gift. Mobile first (320–430 px).
   Price nudges are coral with ink text; actions are mint or ink pills; frames keep square corners. */

/* Shared press feedback for offer controls; motion stays off when reduced or paused. */
.offer-bundle-chip,.offer-bundle-row,.offer-bump-label,.own-toggle{-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none}
html:not([data-motion-paused="true"]) .offer-bundle-chip,html:not([data-motion-paused="true"]) .offer-bundle-row{transition:transform .14s var(--ease-out),background-color .16s ease,color .16s ease}
html:not([data-motion-paused="true"]) .offer-bundle-chip:active,html:not([data-motion-paused="true"]) .offer-bundle-row:active{transform:scale(.97)}

/* Season lines: only ever "now" (coral) or "starts in <month>" (sand). */
.season-line{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:3px 9px;border-radius:var(--radius);font-size:14px;font-weight:600;line-height:1.3;color:var(--ink);background:var(--sand)}
.season-line::before{content:'';width:8px;height:8px;border-radius:50%;flex-shrink:0;background:currentColor}
.season-line.is-now{background:var(--coral)}
.season-line.is-soon::before{background:transparent;box-shadow:inset 0 0 0 2px currentColor}
.bag-line .season-line{font-size:13px;line-height:1.25}
.trip-strip .season-line{min-height:0;margin-top:4px;padding:0;background:transparent;color:inherit;font-size:14px}
.product-season{margin-top:-4px}

/* Bag: the next named bundle, inside the coral nudge. */
.bag-bundle-next{display:grid;gap:2px}
.bag-bundle-next span:first-child{font-size:15px}
.bag-bundle-next strong{font-size:22px;font-weight:600;line-height:1.15;letter-spacing:-.025em}
.bag-bundle-next span:last-child:not(:first-child){font-size:15px;color:var(--ink)}

/* Bag: the bundle picker. Tap a bundle and the fill suggests animals, starting with your trips. */
.offer-bundles{display:grid;gap:10px}
.offer-bundles h3{font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.015em}
.offer-bundles>p{font-size:15px;line-height:1.45;color:var(--muted)}
.offer-bundle-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.offer-bundle-chip{display:grid;gap:2px;align-content:center;min-height:60px;padding:10px 12px;border:0;border-radius:var(--radius);background:var(--paper);color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.offer-bundle-chip strong{font-size:16px;font-weight:600;line-height:1.2}
.offer-bundle-chip span{font-size:14px;line-height:1.3;color:var(--muted);font-variant-numeric:tabular-nums}
.offer-bundle-chip[aria-pressed="true"]{background:var(--night);color:var(--cream)}
.offer-bundle-chip[aria-pressed="true"] span{color:color-mix(in srgb,var(--cream) 82%,transparent)}
.offer-bundle-chip:focus-visible,.offer-bundle-row:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.offer-bundle-fill{display:grid;gap:10px;padding:16px 14px;background:var(--paper);font-size:15px;line-height:1.45}
.offer-bundle-fill[hidden]{display:none}
html:not([data-motion-paused="true"]) .offer-bundle-fill{transition:opacity .2s var(--ease-out),transform .2s var(--ease-out);@starting-style{opacity:0;transform:translateY(4px)}}
.offer-fill-head{display:grid;gap:2px}
.offer-fill-head strong{font-size:22px;font-weight:600;line-height:1.15;letter-spacing:-.025em}
.offer-fill-head span{color:var(--muted)}
.offer-fill-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.offer-fill-list li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:center;min-width:0;font-size:14px;line-height:1.25;color:var(--muted)}
.offer-fill-list strong{display:block;font-size:15px;font-weight:600;color:var(--ink)}
.offer-fill-photo{width:40px;aspect-ratio:4/5}
.offer-fill-more{grid-template-columns:1fr!important;align-content:center;min-height:50px;padding:0 10px;font-weight:600;color:var(--ink)!important;background:var(--sand)}
.offer-bundle-fill .co-button{width:100%}
.offer-fill-total{font-size:14px;color:var(--muted)}
.offer-bundle-fill .co-quiet-link{justify-self:start;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-weight:500;text-decoration:underline;text-underline-offset:5px;cursor:pointer}

/* Animal page: bundle rows that start from this animal (rendered by app.js). */
.offer-bundle-rows{display:grid;gap:10px;margin-top:6px}
.offer-bundle-rows h2{font-size:24px;font-weight:500;line-height:1.15;letter-spacing:-.03em}
.offer-bundle-rows ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.offer-bundle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;padding:10px 14px;border:0;border-radius:var(--radius);background:var(--paper);color:var(--ink);text-align:left;font:inherit;cursor:pointer}
.offer-row-name,.offer-row-price{display:grid;gap:2px;min-width:0}
.offer-row-name strong{font-size:16px;font-weight:600}
.offer-row-name small,.offer-row-price small{font-size:14px;line-height:1.3;color:var(--muted)}
.offer-row-price{justify-items:end;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}
.offer-row-price strong{font-size:22px;font-weight:600;line-height:1;letter-spacing:-.025em}
.offer-rows-note{font-size:15px;line-height:1.45;color:var(--muted)}
@media(hover:hover) and (pointer:fine){.offer-bundle-row:hover{background:var(--sand)}.offer-bundle-chip:not([aria-pressed="true"]):hover{background:var(--cream)}}

/* Checkout: one complete-your-trip tick box above the pay button, a print with its price nudge. */
.offer-bump{margin:4px 0 6px}
.offer-bump-label{display:grid;grid-template-columns:24px 56px minmax(0,1fr);gap:12px;align-items:center;min-height:64px;padding:12px 14px 12px 12px;background:var(--sand);cursor:pointer;transition:background-color .2s ease}
.offer-bump-label input{width:24px;height:24px;margin:0;accent-color:var(--ink)}
.offer-bump-photo{width:56px;aspect-ratio:4/5}
.offer-bump-copy{display:grid;gap:3px;min-width:0}
.offer-bump-copy strong{font-size:17px;font-weight:600;line-height:1.3}
.offer-bump-copy small{font-size:14px;line-height:1.4;color:var(--ink)}
.offer-bump-label:has(input:checked){background:var(--mint)}
.offer-bump-label:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:2px}

/* Your own tracked animal: the monthly figure is always paired with the yearly charge. */
.own-price{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.own-price strong{font-weight:600;font-variant-numeric:tabular-nums}
.own-price>span{font-variant-numeric:tabular-nums}
.own-badge{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border-radius:var(--radius);background:var(--night);color:var(--cream);font-size:13px;font-weight:600;line-height:1.25;vertical-align:middle}
.own-availability{font-size:14px;line-height:1.45;color:var(--muted)}
.own-card{display:grid;gap:10px;padding:20px 16px;background:var(--paper);box-shadow:inset 0 0 0 2px var(--ink)}
.own-eyebrow{font-size:15px;font-weight:600;color:var(--muted)}
.own-card h2{font-size:clamp(26px,6.4vw,32px);font-weight:500;line-height:1.1;letter-spacing:-.03em}
.own-card-price .own-price strong{font-size:34px;letter-spacing:-.035em;line-height:1}
.own-card-price .own-price>span{font-size:16px;font-weight:600}
.own-includes{margin:0;padding:0 0 0 20px;display:grid;gap:4px;font-size:16px;line-height:1.45}
.own-delay{display:grid;gap:6px;justify-items:start;font-size:15px;line-height:1.45}
.own-card .btn{width:100%}
/* The per-line switch in the bag: a cream row inside the print. */
.own-toggle{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:12px;background:var(--cream);cursor:pointer}
.own-toggle input{appearance:none;-webkit-appearance:none;flex-shrink:0;position:relative;width:52px;height:30px;margin:0;border-radius:var(--pill);background:var(--stone);cursor:pointer}
/* The knob carries the state at 3:1 or more against its track (WCAG 1.4.11): soft dark on stone when off, ink on mint when on. */
.own-toggle input::after{content:'';position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:var(--muted)}
html:not([data-motion-paused="true"]) .own-toggle input{transition:background-color .2s ease}
html:not([data-motion-paused="true"]) .own-toggle input::after{transition:transform .2s var(--ease-out),background-color .2s ease}
.own-toggle input:checked{background:var(--mint)}
.own-toggle input:checked::after{transform:translateX(22px);background:var(--ink)}
.own-toggle input:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.own-toggle strong{display:block;font-size:16px;font-weight:600;line-height:1.3}
.own-toggle small{display:grid;gap:4px;margin-top:2px;font-size:15px;line-height:1.4}
.own-toggle .own-price strong{font-size:16px}
.own-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:10px 12px;background:var(--paper);font-size:15px;line-height:1.4}
.own-summary>span:first-child{font-weight:600}
.own-summary-note{font-size:14px;color:var(--muted)}
.own-summary-block:empty{display:none}
.own-summary-title{font:600 16px/1.3 var(--sans);margin-top:4px}
.own-summary-animals strong{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.own-line-price{display:block;margin-top:2px;font-size:14px;color:var(--ink)}

/* Name your wild pet: a cream row per print; the storyName is preselected, so naming never blocks checkout. */
.pet-name{background:var(--cream)}
.pet-name summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;font-size:16px;cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.pet-name summary::-webkit-details-marker{display:none}
.pet-name summary>span{flex:1 1 auto;min-width:0}
.pet-name summary strong{flex-shrink:0;max-width:62%;margin-left:auto;font-size:19px;font-weight:600;line-height:1.1;letter-spacing:-.02em;overflow-wrap:break-word;text-align:right}
.pet-name summary::after{content:'';flex-shrink:0;width:8px;height:8px;margin:0 4px 4px 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.pet-name[open] summary::after{margin-bottom:-4px;transform:rotate(-135deg)}
.pet-name summary:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
.pet-name-body{display:grid;gap:10px;min-width:0;margin:0;padding:4px 12px 14px;border:0}
.pet-chips{display:flex;flex-wrap:wrap;gap:8px}
.pet-chip{position:relative;display:block;max-width:100%}
.pet-chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pet-chip>span{display:grid;gap:1px;align-content:center;min-height:48px;padding:6px 12px;border-radius:var(--radius);background:var(--paper);line-height:1.25}
.pet-chip strong{font-size:16px;font-weight:600}
.pet-chip small{font-size:13px;color:var(--muted)}
.pet-chip input:checked+span{background:var(--night);color:var(--cream)}
.pet-chip input:checked+span small{color:var(--lime-2)}
.pet-chip input:focus-visible+span{outline:3px solid var(--ink);outline-offset:2px}
html:not([data-motion-paused="true"]) .pet-chip>span{transition:transform .14s var(--ease-out),background-color .16s ease,color .16s ease}
html:not([data-motion-paused="true"]) .pet-chip:active>span{transform:scale(.97)}
.pet-own{margin-bottom:0}
.pet-own input{background:var(--paper)}
.pet-note{font-size:14px;line-height:1.4;color:var(--muted)}
.pet-note.is-error{color:var(--error);font-weight:600}
.gift-naming-note{margin:4px 0 12px}

/* Confirmation page: the companion gift, behind its flag. One tap target, no countdown. */
.offer-gift{display:grid;gap:10px;justify-items:start;max-width:640px;margin-top:16px;padding:24px 20px;background:var(--mint)}
.offer-gift h2{font-size:clamp(28px,7vw,38px);font-weight:500;line-height:1.08;letter-spacing:-.035em}
.offer-gift-price{font-size:17px}
.offer-gift-price strong{font-size:32px;font-weight:600;letter-spacing:-.035em;line-height:1}
.offer-gift p{font-size:16px;line-height:1.5}
.offer-gift .co-button{width:100%;background:var(--night);color:var(--cream)}

/* Stub audience on the home ticket. */
.stub-audience{margin-top:-6px;font-size:15px}

@media(min-width:900px){
 .offer-gift .co-button{width:auto}
}
@media(prefers-reduced-motion:reduce){
 .offer-bundle-chip,.offer-bundle-row,.offer-bundle-fill,.offer-bump-label,.own-toggle input,.own-toggle input::after,.pet-chip>span{transition:none!important}
 .offer-bundle-chip:active,.offer-bundle-row:active,.pet-chip:active>span{transform:none!important}
}
:root[data-motion-paused="true"] .offer-bump-label{transition:none}
