/* Vacuum Deals Page: only the deals-specific parts, loaded on top of the
   Vacuum Virtuoso theme stylesheet (colours, type, cards, tables, FAQ come from the theme). */

.vvd-hero__in { grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 1fr); gap: 3rem; }

/* Sale calendar */
.vvd-cal { background: var(--tag); color: var(--ink); border-radius: 6px 22px 22px 22px; padding: 1.4rem 1.5rem 1.5rem; }
.vvd-cal__title { font: 700 1.05rem/1.2 var(--display); letter-spacing: 0; }
.vvd-track { margin-top: 1.1rem; }
.vvd-track__bar { height: 8px; border-radius: 99px; background: rgba(14, 42, 48, .18); overflow: hidden; }
.vvd-track__bar span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.vvd-track ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: .7rem 0 0; padding: 0; gap: .5rem; }
.vvd-track li:nth-child(2) { text-align: center; }
.vvd-track li:nth-child(3) { text-align: right; }
.vvd-track b { display: block; font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.02em; }
.vvd-track span { font-size: .8rem; line-height: 1.25; display: block; }
.vvd-cal__status { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(14, 42, 48, .25); font-size: .95rem; line-height: 1.45; font-weight: 500; }

/* Sticky filter under the site header */
.vvd-finder { position: sticky; top: var(--header-h); z-index: 40; margin-top: 3.25rem; background: var(--tile); border-block: 1px solid var(--line); padding: .9rem 0; }
.admin-bar .vvd-finder { top: calc(var(--header-h) + 32px); }
.vvd-finder h2 { font: 700 1rem/1.3 var(--body); letter-spacing: 0; }
.vvd-chips { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.vvd-chips::-webkit-scrollbar { display: none; }
.vvd-chip { font: 600 .95rem/1 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); padding: .65rem .95rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.vvd-chip:hover { border-color: var(--ink); }
.vvd-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vvd-finder__count { margin-top: .5rem; font-size: .85rem; color: var(--ink-2); }
.vvd-finder + .vv-section { padding-top: 2.5rem; }
.vvd-catalog [id] { scroll-margin-top: calc(var(--header-h) + 9rem); }
.vvd-empty { margin-top: 2.5rem; font-weight: 600; }
.vvd-link { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* Pick lists */
.vvd-picks { margin-top: 1.5rem; display: grid; gap: 1rem; }
.vvd-guide { margin-top: 1rem; font-weight: 600; }
.vvd-steps li::marker { font-weight: 800; font-family: var(--display); }

/* Cached Amazon prices (deals page only) */
.vvd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .55rem; margin: 0 0 .55rem; font: 600 .95rem/1.3 var(--body); color: var(--ink); }
.vvd-price__was { text-decoration: line-through; color: var(--ink-2); font-weight: 500; }
.vvd-price__now { font: 800 1.2rem/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.vvd-price__off { font-weight: 700; color: var(--good, #17694d); }
.vvd-price--compact { margin: 0; font-size: .9rem; gap: .25rem .4rem; }
.vvd-price--compact .vvd-price__now { font-size: 1rem; }
.vvd-cell-price:empty::before { content: "—"; color: var(--ink-2); }
.vv-card__cta .vvd-price { justify-content: flex-start; }
.vvd-prices-updated { margin: .75rem 0 0; font-size: .95rem; color: var(--ink-2); font-weight: 500; }

@media (max-width: 60rem) {
	.vvd-hero__in { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 782px) {
	.admin-bar .vvd-finder { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
	.admin-bar .vvd-finder { top: var(--header-h); }
}
@media (max-width: 40rem) {
	.vvd-finder { margin-top: 2.5rem; padding: .6rem 0; }
	.vvd-finder h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.vvd-finder .vvd-chips { margin-top: 0; }
	.vvd-finder__count { display: none; }
	.vvd-catalog [id] { scroll-margin-top: calc(var(--header-h) + 5rem); }
}
@media print {
	.vvd-finder { display: none; }
}
