/* "Save to my list" (switch MY_LIST). Design 30.11.2026 09:20: mobile first, the product page's language (the buy
   button's red-to-orange gradient, 6px corners, white bold text), no prices. Every animation is short and switched
   off with prefers-reduced-motion. White on the gradient: 3.36:1 / 3.33:1 at 17px+ bold = large text (3:1). */

/* ---------- the heart (product cards, product page) ---------- */
.evts-save { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer; border: 1px solid rgba(var(--color-foreground), .25);
  background: rgb(var(--color-background)); color: rgb(var(--color-foreground)); border-radius: 999px; font: inherit; line-height: 1;
  transition: border-color .2s, color .2s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.evts-save:hover { border-color: rgba(var(--color-foreground), .6); }
.evts-save:focus-visible { outline: 3px solid #F25C00; outline-offset: 2px; }
.evts-save__heart { width: 1.8rem; height: 1.8rem; fill: none; stroke: currentColor; stroke-width: 2; transition: fill .15s; }
.evts-save.is-saved { color: #D93025; border-color: #D93025; }
.evts-save.is-saved .evts-save__heart { fill: currentColor; }
.evts-save.is-popping .evts-save__heart { animation: evts-pop .42s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes evts-pop { 0% { transform: scale(1); } 35% { transform: scale(1.38); } 65% { transform: scale(.9); } 100% { transform: scale(1); } }
/* a product card: a round button in the image corner, above the card's full-size link */
.card__inner .evts-save--card { position: absolute; top: .8rem; right: .8rem; z-index: 3; width: 4rem; height: 4rem; padding: 0; box-shadow: 0 1px 6px rgba(0, 0, 0, .16); }
.card__inner .evts-save--card .evts-save__heart { width: 2rem; height: 2rem; }
/* the product page: under the buy button, full width like it */
.evts-save--wide { margin-top: 1.2rem; width: 100%; min-height: 4.8rem; padding: 1rem 1.8rem; border-radius: 6px; font-size: 1.6rem; font-weight: 600; }
.evts-save--wide .evts-save__heart { width: 2rem; height: 2rem; }

/* ---------- the header link and its counter ---------- */
.evts-list-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; color: rgb(var(--color-foreground)); }
.evts-list-link:focus-visible { outline: 3px solid #F25C00; outline-offset: -2px; border-radius: 6px; }
.evts-list-link .evts-save__heart { width: 2.2rem; height: 2.2rem; }
.evts-list-count { position: absolute; top: .3rem; right: .1rem; min-width: 1.9rem; height: 1.9rem; padding: 0 .5rem; border-radius: 999px; background: #D93025; color: #fff;
  font-size: 1.15rem; line-height: 1.9rem; text-align: center; font-weight: 700; box-shadow: 0 0 0 2px rgb(var(--color-background)); }
.evts-list-count[hidden] { display: none; }
.evts-list-count.is-bump { animation: evts-bump .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes evts-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45) translateY(-2px); } 100% { transform: scale(1); } }

/* ---------- /my-list ---------- */
.evts-list { max-width: 82rem; margin: 0 auto; padding: 2.4rem 1.6rem 4rem; }
.evts-list__head { margin-bottom: 1.6rem; }
.evts-list__h1 { margin: 0; }
.evts-list__sub { margin: .4rem 0 0; color: rgba(var(--color-foreground), .72); font-size: 1.4rem; }
.evts-list__note-small { margin-top: 2.8rem; font-size: 1.3rem; color: rgba(var(--color-foreground), .72); }

/* how it works, one line, three steps */
.evts-steps { list-style: none; margin: 0 0 2rem; padding: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
  border: 1px solid rgba(var(--color-foreground), .1); border-radius: 1.2rem; }
.evts-steps__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.evts-steps__step + .evts-steps__step::before { content: ""; position: absolute; left: -.8rem; top: 1.7rem; width: .8rem; height: .8rem; border-top: 2px solid rgba(var(--color-foreground), .3);
  border-right: 2px solid rgba(var(--color-foreground), .3); transform: translateX(-50%) rotate(45deg); }
.evts-steps__icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #FF4747, #F25C00); box-shadow: 0 3px 10px rgba(255, 71, 71, .25); }
@media screen and (min-width: 750px) {
  .evts-steps { display: flex; justify-content: center; gap: 4.8rem; padding: 1.4rem 2rem; }
  .evts-steps__step { flex-direction: row; font-size: 1.5rem; }
  .evts-steps__step + .evts-steps__step::before { left: -2.4rem; top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
}

/* the action panel: progress + the main button. A phone: a bar fixed at the bottom of the screen. */
.evts-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 1.2rem 1.6rem calc(1.2rem + env(safe-area-inset-bottom));
  background: rgba(var(--color-background), .97); border-top: 1px solid rgba(var(--color-foreground), .1); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.evts-panel[hidden] { display: none; }
body.evts-has-bar .evts-list { padding-bottom: 20rem; }
.evts-panel__top { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.evts-panel__label { margin: 0; flex: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.4rem; color: rgb(var(--color-foreground)); }
.evts-panel__track { flex: 1; height: .8rem; border-radius: 999px; background: rgba(var(--color-foreground), .12); overflow: hidden; }
.evts-panel__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF4747, #F25C00); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.evts-panel.is-done .evts-panel__fill { background: #16A34A; }
.evts-panel.is-done .evts-panel__label { color: #15803D; font-size: 1.7rem; gap: .7rem; }
.evts-panel__label .evts-ok { --s: 2.4rem; }
.evts-panel__what { margin: .8rem 0 0; font-size: 1.3rem; color: rgba(var(--color-foreground), .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evts-panel.is-done .evts-panel__what { white-space: normal; margin: 0 0 1rem; }
/* the main button: the product page's buy button */
.evts-next { position: relative; display: flex; align-items: center; justify-content: center; gap: .8rem; width: 100%; min-height: 5.6rem; padding: 1.2rem 1.6rem; box-sizing: border-box;
  border-radius: 6px; color: #fff; text-decoration: none; text-align: center; font-weight: 700; font-size: 1.7rem; line-height: 1.25;
  background-color: #FF4747; background-image: linear-gradient(90deg, #FF4747, #F25C00); box-shadow: 0 4px 12px rgba(255, 71, 71, .3); transition: transform .15s, box-shadow .2s; }
.evts-next:hover { background-image: linear-gradient(90deg, #E63E3E, #D95000); box-shadow: 0 6px 18px rgba(255, 90, 40, .4); }
.evts-next:active { transform: translateY(1px) scale(.99); }
.evts-next:focus-visible, .evts-item__open:focus-visible, .evts-again:focus-visible, .evts-empty__link:focus-visible, .evts-item__remove:focus-visible, .evts-item__title:focus-visible {
  outline: 3px solid rgb(var(--color-foreground)); outline-offset: 3px; }
.evts-next svg { flex: none; }
.evts-again { display: block; width: 100%; min-height: 4.8rem; border-radius: 6px; border: 1px solid rgba(var(--color-foreground), .3); background: transparent;
  color: rgb(var(--color-foreground)); font: inherit; font-weight: 600; font-size: 1.5rem; cursor: pointer; }
.evts-again:hover { border-color: rgb(var(--color-foreground)); }
@media screen and (min-width: 750px) {
  /* a computer: the panel is a card above the list (nothing covers the page) */
  .evts-panel { position: static; margin: 0 0 2rem; padding: 2rem; border: 1px solid rgba(var(--color-foreground), .1); border-radius: 1.2rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
    -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.evts-has-bar .evts-list { padding-bottom: 4rem; }
  .evts-next, .evts-again { max-width: 44rem; margin: 0 auto; }
  .evts-panel__what { text-align: center; }
}

/* the items */
.evts-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.evts-item { position: relative; display: grid; grid-template-columns: 8.8rem 1fr; gap: 1.4rem; align-items: center; padding: 1.2rem; border: 1px solid rgba(var(--color-foreground), .12);
  border-radius: 1.2rem; background: rgb(var(--color-background)); transition: border-color .3s, background-color .3s; }
.evts-item.is-opened { border-color: rgba(22, 163, 74, .45); background: rgba(22, 163, 74, .05); }
.evts-item__img { width: 8.8rem; height: 8.8rem; object-fit: cover; border-radius: .8rem; background: rgba(var(--color-foreground), .04); }
.evts-item__body { min-width: 0; }
.evts-item__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgb(var(--color-foreground)); text-decoration: none;
  font-weight: 600; font-size: 1.5rem; line-height: 1.35; margin: 0 0 1rem; }
.evts-item__title:hover { text-decoration: underline; }
.evts-item__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
/* each item's own button: the buy colours while not opened, quiet once opened */
.evts-item__open { display: inline-flex; align-items: center; gap: .6rem; min-height: 4.4rem; padding: .8rem 1.4rem; border-radius: 6px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.45rem;
  background-image: linear-gradient(90deg, #FF4747, #F25C00); background-color: #FF4747; }
.evts-item__open:hover { background-image: linear-gradient(90deg, #E63E3E, #D95000); }
.evts-item.is-opened .evts-item__open { background: transparent; color: rgb(var(--color-foreground)); border: 1px solid rgba(var(--color-foreground), .3); font-weight: 600; }
.evts-item__remove { min-height: 4.4rem; padding: 0 .4rem; border: 0; background: none; color: rgba(var(--color-foreground), .72); font: inherit; font-size: 1.35rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.evts-item__remove:hover { color: rgb(var(--color-foreground)); }
/* the ✓ on an opened item: the site's ✓ (evts-ok.css; it plays once for the item just opened). A phone: the round ✓
   on the image's corner ("Opened" stays for screen readers), so a long title never runs into it; a computer: a
   "✓ Opened" pill. */
.evts-check { position: absolute; top: .5rem; left: .5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(var(--color-background)); font-size: 1.25rem; font-weight: 700; color: #15803D; }
.evts-check .evts-ok { --s: 3rem; }
.evts-check__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evts-check__fallback { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; background: #16A34A; color: #fff; }
@media screen and (min-width: 750px) {
  .evts-item { grid-template-columns: 11.2rem 1fr; padding: 1.4rem 1.6rem; }
  .evts-item__img { width: 11.2rem; height: 11.2rem; }
  .evts-item__title { font-size: 1.6rem; }
  .evts-item.is-opened .evts-item__title { padding-right: 11rem; }
  .evts-check { top: 1.2rem; right: 1.2rem; left: auto; gap: .5rem; padding: .3rem 1rem .3rem .3rem; border-radius: 999px; box-shadow: none; background: rgba(22, 163, 74, .1); }
  .evts-check .evts-ok { --s: 2.2rem; }
  .evts-check__text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* the empty list */
.evts-empty { text-align: center; padding: 3.2rem 1.6rem; border: 1px dashed rgba(var(--color-foreground), .22); border-radius: 1.2rem; }
.evts-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; color: #D93025; background: rgba(217, 48, 37, .08); }
.evts-empty__title { margin: 1.4rem 0 .4rem; font-weight: 700; font-size: 1.8rem; }
.evts-empty__text { margin: 0 0 2rem; color: rgba(var(--color-foreground), .75); }
.evts-empty__link { display: inline-flex; align-items: center; justify-content: center; min-height: 4.8rem; padding: 1rem 2.4rem; border-radius: 6px; color: #fff; text-decoration: none; font-weight: 700;
  background-image: linear-gradient(90deg, #FF4747, #F25C00); background-color: #FF4747; }

/* no motion for those who asked for none */
@media (prefers-reduced-motion: reduce) {
  .evts-save, .evts-save__heart, .evts-next, .evts-item, .evts-panel__fill { transition: none; }
  .evts-save.is-popping .evts-save__heart, .evts-list-count.is-bump { animation: none; }
}
