/* etsy.vitalisoft.com.ua: the page and the shop mock-up */
:root {
    --navy: #0f1a44;
    --text: #1b2559;
    --muted: #5b6477;
    --accent: #3b4bd8;
    --accent-soft: #eef1ff;
    --border: #e4e7ee;
    --bg: #f6f7fb;
    --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button { font: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -12px rgba(59, 75, 216, .8); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 800; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* page header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.top__brand img { display: block; height: 38px; width: auto; }
.top__right { display: flex; align-items: center; gap: 18px; }
.top__link { color: var(--muted); font-weight: 700; font-size: 14px; }
.lang { display: inline-flex; height: 38px; padding: 3px; border-radius: 10px; background: #eef0f4; }
.lang button { padding: 0 11px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-weight: 800; font-size: 13px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }

/* hero with the search */
.hero { padding: 64px 0 36px; text-align: center; background: radial-gradient(900px 340px at 50% -10%, #dfe6ff 0%, rgba(246, 247, 251, 0) 70%); }
.hero h1 { max-width: 820px; margin: 0 auto 14px; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.hero__lead { max-width: 680px; margin: 0 auto 26px; color: var(--muted); font-size: 18px; }
.find { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; }
.find input[type=text] { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; box-shadow: 0 10px 30px -18px rgba(27, 37, 89, .5); }
.find input[type=text]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.find .btn { height: 52px; border-radius: 14px; white-space: nowrap; }
.find__err { min-height: 22px; margin: 10px 0 0; color: #b91c1c; font-weight: 700; font-size: 14px; }
.hero__note { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.hero__fine { margin: 14px auto 0; max-width: 620px; color: #8a93a8; font-size: 13px; }

/* tools: design and modules */
.stage { padding: 12px 0 56px; }
.tools { display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 16px 40px -28px rgba(27, 37, 89, .45); }
.tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tools__label { min-width: 74px; font-weight: 800; font-size: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 38px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.mods { display: flex; flex-wrap: wrap; gap: 8px; }
.mod { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; }
.mod__sw { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #cfd5e6; transition: background .15s; }
.mod__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; }
.mod[aria-pressed="true"] { border-color: var(--accent); }
.mod[aria-pressed="true"] .mod__sw { background: var(--accent); }
.mod[aria-pressed="true"] .mod__sw::after { transform: translateX(12px); }
.mod a { display: none; font-size: 12px; font-weight: 700; }
.tools__hint { margin: 12px 4px 16px; color: var(--muted); font-size: 14px; }

/* browser frame */
.frame { border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(27, 37, 89, .6); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; background: #f1f3f9; border-bottom: 1px solid var(--border); }
.frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dbe8; }
.frame__bar i:nth-child(1) { background: #ff6159; }
.frame__bar i:nth-child(2) { background: #ffbd2e; }
.frame__bar i:nth-child(3) { background: #28c940; }
.frame__url { flex: 1; margin-left: 10px; padding: 4px 12px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the shop (themes are set by variables) */
.store { --s-bg: #fff; --s-text: #1b2559; --s-muted: #6b7491; --s-accent: #3b4bd8; --s-accent-text: #fff; --s-card: #fff; --s-line: #e8ebf3; --s-soft: #f4f6fc; --s-radius: 14px; --s-head: Manrope, system-ui, sans-serif;
    position: relative; min-height: 640px; background: var(--s-bg); color: var(--s-text); font-family: Manrope, system-ui, sans-serif; overflow: hidden; }
.s-head { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--s-line); }
.s-logo { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--s-head); font-size: 22px; font-weight: 700; }
.s-logo__img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--s-soft); }
.s-logo__ini { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s-accent); color: var(--s-accent-text); font-size: 18px; font-weight: 800; }
.s-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-nav { display: flex; gap: 20px; margin-left: 12px; font-size: 14px; font-weight: 700; color: var(--s-muted); }
.s-nav a { color: inherit; }
.s-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.s-ib { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); color: var(--s-text); cursor: pointer; }
.s-ib svg { width: 20px; height: 20px; }
.s-ib b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--s-accent); color: var(--s-accent-text); font-size: 11px; line-height: 18px; text-align: center; }
.s-banner { display: grid; gap: 8px; margin: 22px 24px 0; padding: 38px 34px; border-radius: var(--s-radius); background: linear-gradient(120deg, var(--s-accent), color-mix(in srgb, var(--s-accent) 55%, #fff 45%)); color: var(--s-accent-text); }
.s-banner h2 { margin: 0; font-family: var(--s-head); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.1; }
.s-banner p { margin: 0; max-width: 520px; opacity: .92; }
.s-banner button { justify-self: start; margin-top: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: var(--s-radius); background: var(--s-bg); color: var(--s-text); font-weight: 800; cursor: pointer; }
.s-sec { padding: 28px 24px 8px; }
.s-sec h3 { margin: 0 0 16px; font-family: var(--s-head); font-size: 22px; }
.s-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.s-card { display: flex; flex-direction: column; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); overflow: hidden; text-align: left; cursor: pointer; padding: 0; color: inherit; }
.s-card:hover { box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .5); }
.s-img { position: relative; aspect-ratio: 1 / 1; background: var(--s-soft); overflow: hidden; }
.s-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .92); font-family: var(--s-head); font-size: 54px; font-weight: 700; }
.s-card__b { display: grid; gap: 4px; padding: 12px 14px 14px; }
.s-card__t { font-size: 14px; font-weight: 700; line-height: 1.3; }
.s-card__p { font-size: 15px; font-weight: 800; }
.s-stars { color: #f5a524; font-size: 12px; letter-spacing: 1px; }
.s-stars small { color: var(--s-muted); letter-spacing: 0; font-weight: 600; margin-left: 4px; }
.s-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border: 0; border-radius: var(--s-radius); background: var(--s-accent); color: var(--s-accent-text); font-weight: 800; font-size: 14px; cursor: pointer; }
.s-btn--ghost { border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-text); }

/* modules in the shop */
.m-reviews { display: none; }
.store.has-reviews .m-reviews { display: block; }
.m-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.m-rev { padding: 14px 16px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); font-size: 14px; }
.m-rev b { display: block; margin-top: 6px; font-size: 13px; color: var(--s-muted); }
.m-insta { display: none; }
.store.has-insta .m-insta { display: block; }
.s-foot { margin-top: 28px; padding: 22px 24px; border-top: 1px solid var(--s-line); color: var(--s-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.m-chat { display: none; position: absolute; right: 18px; bottom: 18px; z-index: 6; flex-direction: column; align-items: flex-end; gap: 10px; }
.store.has-chat .m-chat { display: flex; }
.m-chat__fab { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--s-accent); color: var(--s-accent-text); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); cursor: pointer; }
.m-chat__fab svg { width: 26px; height: 26px; }
.m-chat__panel { display: none; width: 280px; padding: 14px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); font-size: 14px; }
.m-chat.is-open .m-chat__panel { display: grid; gap: 8px; }
.m-chat__msg { padding: 8px 12px; border-radius: 12px; background: var(--s-soft); }
.m-chat__msg--me { justify-self: end; background: var(--s-accent); color: var(--s-accent-text); }
.m-chat__q { display: grid; gap: 6px; }
.m-chat__q button { padding: 8px 10px; border: 1px solid var(--s-line); border-radius: 10px; background: var(--s-card); color: var(--s-text); font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
.m-sales { display: none; position: absolute; left: 18px; bottom: 18px; z-index: 6; max-width: 290px; padding: 10px 14px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); font-size: 13px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
.store.has-sales .m-sales { display: block; }
.m-sales.is-on { opacity: 1; transform: none; }
.m-sales b { display: block; }

/* product window and cart */
.s-layer { position: fixed; inset: 0; z-index: 40; display: none; overflow: auto; background: rgba(10, 14, 30, .5); }
.s-layer.is-open { display: flex; }
.s-modal { margin: auto; width: min(820px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; border-radius: var(--s-radius); background: var(--s-bg); color: var(--s-text); }
.s-modal__img { aspect-ratio: 1 / 1; border-radius: var(--s-radius); overflow: hidden; background: var(--s-soft); }
.s-modal__body { display: grid; align-content: start; gap: 12px; }
.s-modal__body h3 { margin: 0; font-family: var(--s-head); font-size: 24px; line-height: 1.2; }
.s-price { font-size: 24px; font-weight: 800; }
.s-opt b { display: block; margin-bottom: 6px; font-size: 13px; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-chips button { height: 36px; padding: 0 14px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); color: var(--s-text); font-weight: 700; font-size: 13px; cursor: pointer; }
.s-chips button[aria-pressed="true"] { border-color: var(--s-accent); box-shadow: inset 0 0 0 1px var(--s-accent); }
.s-note { padding: 10px 12px; border-radius: var(--s-radius); background: var(--s-soft); color: var(--s-muted); font-size: 13px; }
.s-close { position: fixed; top: 12px; right: 14px; z-index: 12; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--s-card); color: var(--s-text); font-size: 20px; cursor: pointer; }
.s-drawer { margin-left: auto; width: min(380px, 100%); height: 100%; overflow: auto; display: grid; align-content: start; gap: 12px; padding: 20px; background: var(--s-bg); color: var(--s-text); }
.s-drawer h3 { margin: 0; font-family: var(--s-head); font-size: 22px; }
.s-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; }
.s-line .s-img { aspect-ratio: 1 / 1; border-radius: 10px; }
.s-line .s-ph { font-size: 22px; }
.s-line small { display: block; color: var(--s-muted); }
.s-line button { border: 0; background: none; color: var(--s-muted); font-size: 18px; cursor: pointer; }
.s-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--s-line); font-size: 18px; font-weight: 800; }

/* cta and footer of the page */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding: 28px 30px; border-radius: 22px; background: var(--navy); color: #fff; }
.cta h2 { margin: 0 0 6px; font-size: 26px; }
.cta p { margin: 0; max-width: 620px; color: #c7cdf0; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn--ghost { background: #fff; color: var(--navy); }
.foot { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translateX(-50%); display: grid; gap: 8px; }
.toast { padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.loading { display: grid; place-items: center; gap: 12px; min-height: 360px; color: var(--s-muted); }
.spin { width: 30px; height: 30px; border: 3px solid var(--s-soft); border-top-color: var(--s-accent); border-radius: 50%; animation: pv-spin .9s linear infinite; }
@keyframes pv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .m-sales { transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
    .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-nav { display: none; }
    .m-reviews__grid { grid-template-columns: 1fr; }
    .s-modal { grid-template-columns: 1fr; }
    .top__link { display: none; }
}
@media (max-width: 560px) {
    .find { flex-direction: column; }
    .hero { padding-top: 44px; }
    .s-head { padding: 12px 14px; }
    .s-sec, .s-foot { padding-left: 14px; padding-right: 14px; }
    .s-banner { margin: 16px 14px 0; padding: 26px 20px; }
    .tools__label { min-width: 100%; }
    .m-sales { max-width: 220px; }
}

/* the checkout window: contact, addresses, methods and the sum of the order */
.s-checkout { margin: 16px auto; width: min(1000px, calc(100% - 24px)); padding: 22px; border-radius: var(--s-radius); background: var(--s-bg); color: var(--s-text); }
.s-checkout h2 { margin: 6px 0 16px; font-family: var(--s-head); font-size: 26px; }
.s-checkout h3 { margin: 22px 0 10px; font-family: var(--s-head); font-size: 16px; }
.s-checkout .co-form h3:first-child { margin-top: 0; }
.co-back { padding: 0; border: 0; background: none; color: var(--s-muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.co-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.co-form, .co-sum { padding: 20px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-card); }
.co-sum { position: sticky; top: 12px; display: grid; gap: 12px; }
.co-sum h3 { margin: 0; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.co-f { display: grid; gap: 5px; font-size: 12px; font-weight: 700; color: var(--s-muted); }
.co-f--wide { grid-column: 1 / -1; }
.co-f em { color: #dc2626; font-style: normal; }
.co-f input, .co-f select, .co-f textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--s-line); border-radius: calc(var(--s-radius) - 4px); background: var(--s-bg); color: var(--s-text); font: inherit; font-size: 14px; font-weight: 500; box-sizing: border-box; }
.co-f textarea { resize: vertical; }
.co-f .bad, .co-f input.bad, .co-f select.bad { border-color: #dc2626; background: #fef2f2; color: #1b2559; }
.co-check, .co-opt { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.co-check { margin-top: 14px; }
.co-check input, .co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-check i, .co-opt i { flex: none; width: 20px; height: 20px; border: 2px solid var(--s-line); border-radius: 6px; background: var(--s-bg); }
.co-opt i { border-radius: 50%; }
.co-check input:checked + i, .co-opt input:checked + i { border-color: var(--s-accent); background: var(--s-accent); box-shadow: inset 0 0 0 3px var(--s-bg); }
.co-opts { display: grid; gap: 8px; }
.co-opt { padding: 12px 14px; border: 1px solid var(--s-line); border-radius: calc(var(--s-radius) - 2px); }
.co-opt:has(input:checked) { border-color: var(--s-accent); }
.co-opt b { margin-left: auto; }
.co-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.co-row--total { padding-top: 12px; border-top: 1px solid var(--s-line); font-size: 18px; font-weight: 800; }
.co-err { min-height: 1.2em; margin: 14px 0 6px; color: #dc2626; font-size: 13px; font-weight: 700; }
.co-submit { width: 100%; height: 48px; font-size: 15px; }
.s-checkout--done { max-width: 560px; text-align: center; display: grid; gap: 14px; justify-items: center; }
@media (max-width: 820px) {
    .co-cols { grid-template-columns: 1fr; }
    .co-sum { position: static; order: -1; }
}
@media (max-width: 520px) { .co-grid { grid-template-columns: 1fr; } .s-checkout { padding: 14px; } }

/* ---- motion: windows, flight to the cart, reveal of the blocks, small transitions (all off with prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
    .s-layer.is-open { animation: pv-fade .2s ease-out both; }
    .s-layer.is-closing { animation: pv-fade-out .18s ease-in both; pointer-events: none; }
    .s-layer.is-open .s-modal { animation: pv-pop .28s cubic-bezier(.2, .8, .2, 1) both; }
    .s-layer.is-open .s-drawer { animation: pv-slide-left .3s cubic-bezier(.2, .8, .2, 1) both; }
    .s-layer.is-open .s-checkout { animation: pv-rise .32s cubic-bezier(.2, .8, .2, 1) both; }
    .s-layer.is-open .s-close { animation: pv-fade .3s .12s ease-out both; }
    .s-layer.is-open .s-line { animation: pv-rise-sm .3s ease-out both; }
    .s-layer.is-open .s-line:nth-of-type(2) { animation-delay: .05s; }
    .s-layer.is-open .s-line:nth-of-type(3) { animation-delay: .1s; }
    .toast { animation: pv-toast-in .28s cubic-bezier(.2, .8, .2, 1) both; transition: opacity .25s, transform .25s; }
    .toast.is-out { opacity: 0; transform: translateY(8px); }
    .stage:not([hidden]) { animation: pv-rise-sm .4s ease-out backwards; }
    .rv { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
    .rv.rv-in { opacity: 1; transform: none; }
    .s-card, .f-card, .f-banner, .f-cat, .f-perk { transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease; }
    .s-card:hover, .f-card:hover { transform: translateY(-4px); }
    .f-banner:hover, .f-cat:hover, .f-perk:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(10, 30, 80, .5); }
    .f-card .s-img img, .s-card .s-img img, .f-banner__img img, .f-cat .s-img img { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
    .f-card:hover .s-img img, .s-card:hover .s-img img, .f-banner:hover .f-banner__img img { transform: scale(1.06); }
    .f-card .s-ph, .s-card .s-ph { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
    .f-card:hover .s-ph, .s-card:hover .s-ph { transform: scale(1.06); }
    .f-buy, .f-quick, .s-btn, .s-chips button, .f-catbtn, .f-all, .co-opt, .co-f input, .co-f select, .co-f textarea { transition: transform .15s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease; }
    .f-buy:hover, .s-btn:hover, .f-catbtn:hover { filter: brightness(1.08); }
    .f-buy:active, .s-btn:active, .f-quick:active, .s-chips button:active { transform: scale(.96); }
    .f-quick:hover { border-color: var(--s-accent); color: var(--s-accent); transform: rotate(-8deg) scale(1.05); }
    .s-chips button[aria-pressed="true"] { animation: pv-pick .25s ease-out; }
    .co-opt:hover { border-color: var(--s-accent); }
    .co-f input:focus, .co-f select:focus, .co-f textarea:focus { outline: 0; border-color: var(--s-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-accent) 22%, transparent); }
    .co-f .bad { animation: pv-shake .35s ease-in-out; }
    #co-bill:not([hidden]) { animation: pv-rise-sm .3s ease-out both; }
    [data-count] { transition: transform .2s ease, opacity .2s ease; }
    [data-count].is-zero { opacity: .55; }
    .is-bump { animation: pv-bump .5s cubic-bezier(.3, 1.6, .5, 1); }
    .is-bump [data-count] { animation: pv-pop-badge .5s cubic-bezier(.3, 1.8, .5, 1); }
    .co-tick { width: 72px; height: 72px; fill: none; stroke: #1f8a4d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
    .co-tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: pv-draw .6s ease-out .1s forwards; }
    .co-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: pv-draw .35s ease-out .55s forwards; }
}
.co-tick { width: 72px; height: 72px; fill: none; stroke: #1f8a4d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pv-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes pv-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pv-slide-left { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pv-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pv-rise-sm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pv-toast-in { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pv-pick { 0% { transform: scale(.92); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes pv-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes pv-bump { 0% { transform: scale(1); } 35% { transform: scale(1.25) rotate(-8deg); } 70% { transform: scale(.95) rotate(4deg); } 100% { transform: scale(1); } }
@keyframes pv-pop-badge { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@keyframes pv-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
    .f-banner.rv, .f-perk.rv { transition: opacity .5s ease, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease; }
}

/* the row of the page: the way back and the field with the link to the shop */
.bar { padding: 20px 0 6px; }
.bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.bar__back { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 48px; padding: 0 16px 0 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; }
.bar__back:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.bar__row input#shop { flex: 1 1 260px; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; }
.bar__row input#shop:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 75, 216, .15); }
.bar .find__err { margin: 8px 2px 0; }
@media (max-width: 640px) { .bar__back span { display: none; } .bar__back { padding: 0 12px; } .bar__row .btn--primary { flex: 1 1 auto; } }

/* designs: the premium tag and the note */
.seg button .seg__star { margin-left: 6px; color: #f5b301; font-size: 15px; line-height: 1; vertical-align: -1px; text-shadow: 0 1px 0 rgba(160, 105, 0, .25); }
.tools__star { color: #f5b301; font-size: 15px; vertical-align: -1px; }
.tools__prem { margin: 0; color: var(--muted); font-size: 13px; }

/* the trade mark note of Etsy */
.etsy-note { max-width: 1100px; margin: 18px auto 0; padding: 0 20px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

.cap { margin-top: 10px; }
