/* ==========================================================================
   Savageon — Feature Prototypes, ported 1:1
   Values (sizes, timings, easings, colours) are copied from the four
   prototype artifacts in Savageon-Feature-Prototypes.zip:
     Mega-Navbar-Animation · Sticky-Product-Gallery ·
     Motion-Kit-Vol2-AddToCart-Animations · PLP-Motion-Desktop-Mobile
   Loaded after main.css + redesign.css.
   ========================================================================== */

/* ══ 1. Mega navbar ═════════════════════════════════════════════════════ */
.sv-header { z-index: 50; }
.sv-nav { position: relative; gap: 4px; }
.sv-nav__wrap { position: relative; }
.sv-nav .sv-nav__item {
	display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 8px;
	background: none; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer;
	transition: background 160ms ease, color 160ms ease;
}
.sv-nav .sv-nav__item:hover, .sv-nav__wrap.is-open .sv-nav__item { background: var(--surface); color: var(--ink); }
.sv-nav__wrap.is-open .sv-nav__item { color: var(--accent); }
.sv-nav .sv-nav__item--sale, .sv-nav .sv-nav__item--sale:hover { color: var(--sale); }
.sv-nav__chev { transition: transform 220ms cubic-bezier(.4, 0, .2, 1); }
.sv-nav__wrap.is-open .sv-nav__chev { transform: rotate(180deg); }

/* sliding underline across top-level items */
.sv-nav__indicator {
	position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; border-radius: 2px; background: var(--ink);
	opacity: 0; pointer-events: none;
	transition: left 280ms cubic-bezier(.4, 0, .2, 1), width 280ms cubic-bezier(.4, 0, .2, 1), opacity 180ms ease;
}
.sv-nav.is-active .sv-nav__indicator { opacity: 1; }

/* panel */
.sv-mega-wrap { position: absolute; left: 0; top: calc(100% + 1px); width: 100%; z-index: 30; }
.sv-header .sv-mega {
	position: absolute; top: 0; left: 0; right: 0; display: block; margin: 0; padding: 0; animation: none;
	background: #fff; border: 0; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -12px rgba(23, 20, 15, .14);
	opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
	transition: opacity 200ms cubic-bezier(.4, 0, .2, 1), transform 220ms cubic-bezier(.4, 0, .2, 1), visibility 0s linear 220ms;
}
.sv-header .sv-mega.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition-delay: 0s; }
.sv-header .sv-mega__inner {
	display: grid; flex-direction: initial; max-width: 1200px; margin: 0 auto; padding: 32px 24px 36px; gap: 28px;
}
.sv-mega__col h4 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sv-mega__col h4 a { color: inherit; display: inline; padding: 0; font: inherit; }
.sv-mega__col h4 a:hover { color: var(--accent); padding: 0; }
.sv-mega__col > a {
	position: relative; display: block; padding: 7px 0; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink);
	transition: color 150ms ease, padding-left 150ms ease;
}
.sv-mega__col > a:hover { color: var(--accent); padding-left: 6px; }
.sv-mega__count { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--ink-soft); }

/* staggered column fade/slide-in */
.sv-mega__col { opacity: 0; transform: translateY(6px); transition: opacity 260ms ease, transform 260ms ease; }
.sv-mega.is-open .sv-mega__col { opacity: 1; transform: translateY(0); }
.sv-mega.is-open .sv-mega__col:nth-child(1) { transition-delay: 20ms; }
.sv-mega.is-open .sv-mega__col:nth-child(2) { transition-delay: 55ms; }
.sv-mega.is-open .sv-mega__col:nth-child(3) { transition-delay: 90ms; }
.sv-mega.is-open .sv-mega__col:nth-child(4) { transition-delay: 125ms; }
.sv-mega.is-open .sv-mega__col:nth-child(5) { transition-delay: 160ms; }

.sv-header .sv-mega__feature {
	position: static; overflow: visible; flex: initial; display: flex; flex-direction: column; gap: 10px;
	padding: 16px; border-radius: 12px; background: var(--surface);
}
.sv-header .sv-mega__feature::after { content: none; }
.sv-mega__ph {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10;
	border-radius: 9px; background: var(--surface-2); color: var(--ink-soft); font-size: 12px;
}
.sv-header .sv-mega__ph img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.sv-mega__sweep { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
.sv-mega.is-open .sv-mega__sweep { animation: sv-sweep 900ms ease 400ms 1; }
@keyframes sv-sweep { to { transform: translateX(120%); } }
.sv-mega__tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 10.5px; font-weight: 700; }
.sv-mega__title { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.sv-header .sv-mega__feature { grid-column: -2 / -1; }
.sv-mega__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.sv-mega__cta .sv-icon { transition: transform 180ms ease; }
.sv-mega__cta:hover .sv-icon { transform: translateX(3px); }

/* dim the rest of the page while a panel is open */
.sv-scrim { z-index: 40; display: block; background: rgba(23, 20, 15, .28); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.sv-scrim[hidden] { display: block !important; }
.sv-scrim.is-on { opacity: 1; pointer-events: auto; }

/* right-side icons */
.sv-action .sv-icon, .sv-header__cart .sv-icon { transition: transform 160ms cubic-bezier(.34, 1.56, .64, 1); }
.sv-action:hover .sv-icon, .sv-header__cart:hover .sv-icon { transform: translateY(-2px) scale(1.06); }

/* cart badge: odometer roll-up (motion kit #2) + bump (PLP) */
.sv-cartcount { overflow: hidden; }
.sv-cartcount .odo-size { visibility: hidden; }
.sv-cartcount .odo-num {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	transition: transform 320ms cubic-bezier(.3, .8, .3, 1), opacity 320ms ease;
}
.sv-cartcount .odo-num.enter { transform: translateY(100%); opacity: 0; }
.sv-cartcount .odo-num.leave { transform: translateY(-100%); opacity: 0; }
.sv-cartcount.is-bump, .sv-badge.is-bump { animation: sv-bump 360ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sv-bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* mobile accordion (drawer) */
.sv-acc { padding: 0; }
.sv-acc__item, .sv-acc > a.sv-acc__head { border-bottom: 1px solid var(--line); }
.sv-acc__head {
	display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 18px;
	border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer;
}
.sv-acc > a.sv-acc__head:hover { color: var(--accent); }
.sv-acc__chev { transition: transform 240ms cubic-bezier(.4, 0, .2, 1); }
.sv-acc__item.is-open .sv-acc__chev { transform: rotate(180deg); }
.sv-acc__body { max-height: 0; overflow: hidden; transition: max-height 280ms cubic-bezier(.4, 0, .2, 1); }
.sv-acc__body[hidden] { display: block !important; }
.sv-acc__inner { display: flex; flex-direction: column; gap: 2px; padding: 0 18px 16px; }
.sv-acc__inner a { padding: 7px 0; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.sv-acc__inner a:hover { color: var(--ink); }
.sv-acc__inner .sv-acc__all { font-weight: 700; color: var(--accent); }
.sv-acc__inner .sv-acc__group { margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ══ 2. Product card (PLP-Motion) ═══════════════════════════════════════ */
.woocommerce ul.products li.product.sv-card, .sv-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.sv-card__media { position: relative; overflow: hidden; background: var(--surface); }
.sv-card__img img { transition: opacity 320ms ease; }
.sv-card:hover .sv-card__img img.is-active { transform: none; }

.sv-card .sv-card__pill { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; pointer-events: none; }
/* discount badge pop (motion kit #4) */
.sv-pill--sale.sv-card__pill, .sv-pdp__price .sv-pill--sale, .sv-qv__photo .sv-pill--sale { animation: sv-badge-pop 480ms cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes sv-badge-pop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.sv-card__pill.sv-pill--low { animation: sv-stock-pulse 1.6s ease-in-out infinite; }

.sv-card .sv-card__wish {
	position: absolute; top: 8px; right: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 999px; background: #fff; box-shadow: none;
	transition: transform 160ms cubic-bezier(.34, 1.56, .64, 1);
}
.sv-card .sv-card__wish:hover { transform: scale(1.1); }
.sv-card .sv-card__wish .sv-icon { width: 15px; height: 15px; }
.sv-card__wish.is-on { color: var(--sale); }
.sv-card__wish.is-on .sv-icon { fill: var(--sale); stroke: var(--sale); }
.sv-card__wish.is-pop .sv-icon { animation: sv-pop 380ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sv-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* Quick View slides up from the bottom edge on hover */
.sv-card__quick { position: absolute; left: 8px; right: 8px; bottom: -44px; z-index: 3; transition: bottom 220ms cubic-bezier(.4, 0, .2, 1); }
.sv-card__quick button {
	display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px; border: 0; border-radius: 8px;
	background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
	box-shadow: 0 6px 16px -4px rgba(23, 20, 15, .25); cursor: pointer;
}
.sv-card:hover .sv-card__quick, .sv-card__quick:focus-within { bottom: 8px; }
.sv-card:hover .sv-card__dots { opacity: 0; }
.sv-card__eye { display: none; }
@media (hover: none), (max-width: 1023px) {
	.sv-card__quick { display: none; }
	.sv-card__eye {
		position: absolute; bottom: 8px; right: 8px; z-index: 3; display: flex; align-items: center; justify-content: center;
		width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
		transition: transform 160ms cubic-bezier(.34, 1.56, .64, 1);
	}
	.sv-card__eye:active { transform: scale(.88); }
}

.sv-card .sv-card__info { gap: 5px; padding: 12px; }
.sv-card .sv-card__stall { font-size: 10.5px; text-transform: uppercase; color: var(--ink-soft); }
.sv-card .sv-card__title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.sv-card .sv-card__rating { font-size: 12px; color: var(--ink-soft); }
.sv-card .sv-card__price { display: flex; gap: 7px; align-items: baseline; }
.sv-card .sv-card__now { font-size: 14.5px; font-weight: 800; }
.sv-card .sv-card__was { font-size: 12px; color: var(--ink-soft); text-decoration: line-through; }
.sv-card .sv-card__actions { gap: 6px; margin-top: 4px; padding-top: 0; }
.sv-card .sv-cardbtn { gap: 4px; padding: 9px 4px; border-radius: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }

/* phones: the mobile prototype card — no heart / rating, one "+ Add to Cart" */
@media (max-width: 767px) {
	.woocommerce ul.products, .sv-grid { gap: 10px; }
	.woocommerce ul.products li.product.sv-card, .sv-card { border-radius: 11px; }
	.sv-card .sv-card__wish, .sv-card .sv-card__rating, .sv-card .sv-card__nav { display: none; }
	.sv-card .sv-card__info { padding: 9px; }
	.sv-card .sv-card__title { font-size: 11.5px; min-height: 30px; }
	.sv-card .sv-card__now { font-size: 13px; }
	.sv-card .sv-card__was { font-size: 10.5px; }
	.sv-card .sv-cardbtn--cart ~ .sv-cardbtn--buy { display: none; }
	.sv-card .sv-cardbtn {
		width: 100%; margin-top: 2px; padding: 8px; border-radius: 6px; font-size: 10px; letter-spacing: .02em;
		transition: transform 120ms ease;
	}
	.sv-card .sv-cardbtn:active { transform: scale(.96); }
	.sv-card .sv-cardbtn--cart .sv-icon { display: none; }
	.sv-card .sv-cardbtn--cart::before { content: '+'; margin-right: 1px; }
	.sv-card .sv-cardbtn--cart.added::before { content: '✓'; }
}

/* scroll reveal (motion kit #11) — grids outside the listing page */
.sv-reveal { opacity: 0; transform: translateY(16px); transition: opacity 420ms ease, transform 420ms ease; }
.sv-reveal.in { opacity: 1; transform: none; }

/* ══ 3. Listing page (PLP-Motion) ═══════════════════════════════════════ */
.sv-plp__count { font-size: 12.5px; color: var(--ink-soft); }
.sv-plp { display: block; }
.sv-fgroup { margin-bottom: 22px; }
.sv-fgroup h4 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.sv-fopt { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13.5px; cursor: pointer; user-select: none; }
.sv-fopt__in { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sv-chk {
	display: flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px;
	border: 1.6px solid var(--line); border-radius: 4px; transition: background 160ms ease, border-color 160ms ease;
}
.sv-chk svg { opacity: 0; transform: scale(.5); transition: opacity 140ms ease, transform 180ms cubic-bezier(.34, 1.56, .64, 1); }
.sv-fopt__in:checked + .sv-chk { background: var(--ink); border-color: var(--ink); }
.sv-fopt__in:checked + .sv-chk svg { opacity: 1; transform: scale(1); }
.sv-fopt__in[type="radio"] + .sv-chk { border-radius: 50%; }
.sv-fopt__in:focus-visible + .sv-chk { outline: 2px solid var(--accent); outline-offset: 2px; }
.sv-fopt__cnt { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
.sv-filters__form { display: block; padding: 0; }

.sv-plp__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.sv-chip {
	display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 600;
	animation: sv-chip-in 220ms cubic-bezier(.34, 1.56, .64, 1);
}
.sv-chip:hover { background: var(--surface); }
.sv-chip a { display: flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; border-radius: 999px; background: var(--line); }
.sv-chip.is-out { animation: sv-chip-out 160ms ease forwards; }
@keyframes sv-chip-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes sv-chip-out { to { opacity: 0; transform: scale(.7); } }

/* sort dropdown */
.sv-sortwrap { position: relative; flex: none; }
.sv-sortbtn {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
	background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.sv-sortbtn__chev { transition: transform 220ms cubic-bezier(.4, 0, .2, 1); }
.sv-sortwrap.is-open .sv-sortbtn__chev { transform: rotate(180deg); }
.sv-sortmenu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 200px; padding: 6px;
	border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 32px -10px rgba(23, 20, 15, .18);
	opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; visibility: hidden;
	transition: opacity 180ms ease, transform 200ms cubic-bezier(.4, 0, .2, 1), visibility 0s linear 200ms;
}
.sv-sortwrap.is-open .sv-sortmenu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; visibility: visible; transition-delay: 0s; }
.sv-sortwrap:not(.is-js):focus-within .sv-sortmenu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.sv-sortmenu__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sv-sortmenu__opt:hover { background: var(--surface); color: var(--ink); }
.sv-sortmenu__opt .sv-icon { opacity: 0; stroke-width: 2.4; transition: opacity 140ms ease; }
.sv-sortmenu__opt.is-sel .sv-icon { opacity: 1; }

/* grid: fade out → skeleton → staggered re-entry */
.sv-plp__grid { transition: opacity 180ms ease; }
.sv-plp__grid.is-out { opacity: 0; }
.sv-plp__grid ul.products { gap: 16px; }
.sv-plp__grid ul.products > li.sv-enter { opacity: 0; transform: translateY(10px); animation: sv-card-in 360ms cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes sv-card-in { to { opacity: 1; transform: translateY(0); } }
.sv-skel { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; list-style: none; }
.sv-skel__ph { aspect-ratio: 4 / 5; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 200% 100%; animation: sv-shimmer 1.3s ease-in-out infinite; }
@keyframes sv-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sv-skel__line { height: 10px; margin: 10px 12px; border-radius: 4px; background: var(--surface); }
.sv-skel__line.w60 { width: 60%; }
.sv-skel__line.w40 { width: 40%; margin-bottom: 12px; }

/* sliding-pill pager */
.sv-pagerrow { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 32px; }
.sv-pager__status { display: none; margin: 0; font-size: 11.5px; color: var(--ink-soft); text-align: center; }
.sv-pager { position: relative; display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.sv-pager__pill { position: absolute; top: 5px; left: 5px; z-index: 0; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); opacity: 0; transition: transform 280ms cubic-bezier(.4, 0, .2, 1); }
.sv-pager.is-ready .sv-pager__pill { opacity: 1; }
.sv-pager.is-ready .sv-pager__pill.no-anim { transition: none; }
.sv-pager__arrow, .sv-pager__num {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px;
	font-size: 13px; font-weight: 700; color: var(--ink); transition: color 200ms ease, opacity 200ms ease;
}
.sv-pager__num:hover, .sv-pager__arrow:hover { color: var(--ink); }
.sv-pager__num.is-current { background: var(--ink); color: #fff; }
.sv-pager.is-ready .sv-pager__num.is-current { background: transparent; }
.sv-pager__arrow.is-off { opacity: .3; cursor: default; }
.sv-pager__dots { z-index: 1; display: flex; align-items: center; justify-content: center; width: 20px; font-weight: 700; color: var(--ink-soft); }

/* mobile bar, chips row, bottom sheet */
.sv-mbar, .sv-mchips, .sv-sheet__handle, .sv-sheet__head, .sv-sheet__foot, .sv-sheet-scrim { display: none; }
@media (min-width: 1024px) {
	.sv-plp { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 0; align-items: start; }
	.sv-filters { position: static; top: auto; padding: 20px 20px 20px 0; border-right: 1px solid var(--line); align-self: stretch; }
	.sv-plp__results { padding: 20px 0 20px 24px; }
	.sv-plp__grid ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
	.sv-plp__head { padding-bottom: 6px; }
	.sv-mbar { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
	.sv-mbar__btn, .sv-mbar .sv-sortbtn {
		display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; width: 100%; padding: 9px; border: 1px solid var(--line); border-radius: 999px;
		background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
	}
	.sv-mbar .sv-sortwrap { flex: 1; min-width: 0; }
	.sv-mbar .sv-sortbtn span { overflow: hidden; text-overflow: ellipsis; }
	.sv-mbar .sv-sortbtn__chev { display: none; }
	.sv-mbar__dot { display: none; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
	.sv-mbar__btn.has .sv-mbar__dot { display: inline-block; }
	.sv-mchips { display: flex; gap: 7px; min-height: 38px; padding: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
	.sv-mchips:empty { min-height: 0; padding: 0; }
	.sv-chip--m { flex: none; gap: 5px; padding: 6px 7px 6px 11px; border: 0; font-size: 11.5px; white-space: nowrap; }
	.sv-chip--m a { width: 15px; height: 15px; }
	.sv-plp__bar { display: none; }
	.sv-plp__results { padding-top: 12px; }
	.sv-plp__grid ul.products { gap: 10px; }

	.sv-sheet-scrim {
		position: fixed; inset: 0; z-index: 89; display: block; background: rgba(23, 20, 15, .35);
		opacity: 0; pointer-events: none; transition: opacity 220ms ease;
	}
	.sv-sheet-scrim.is-on { opacity: 1; pointer-events: auto; }
	.sv-filters {
		position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 90; display: flex; flex-direction: column; max-height: 72vh;
		border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -8px 30px rgba(23, 20, 15, .12);
		transform: translateY(100%); visibility: hidden;
		transition: transform 280ms cubic-bezier(.32, .72, 0, 1), visibility 0s linear 280ms;
	}
	.sv-filters.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }
	.sv-sheet__handle { display: block; width: 36px; height: 4px; margin: 10px auto 2px; border-radius: 999px; background: var(--line); }
	.sv-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 14px; border-bottom: 1px solid var(--line); }
	.sv-sheet__head b { font-size: 15px; font-weight: 800; }
	.sv-sheet__head button { display: flex; padding: 0; border: 0; background: none; cursor: pointer; }
	.sv-sheet__body { flex: 1; padding: 14px 18px; overflow-y: auto; }
	.sv-sheet__foot { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
	.sv-sheet__foot > * { flex: 1; padding: 13px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 700; text-align: center; cursor: pointer; }
	.sv-sheet__reset { border: 1.5px solid var(--line); color: var(--ink); }
	.sv-sheet__apply { border: 0; background: var(--ink); color: #fff; }
	.sv-pager__status { display: block; }
	.sv-pagerrow { padding-top: 6px; padding-bottom: 22px; }
	.sv-pager { padding: 4px; }
	.sv-pager__arrow, .sv-pager__num { width: 32px; height: 32px; font-size: 12.5px; }
	.sv-pager__pill { top: 4px; left: 4px; width: 32px; height: 32px; }
}

/* ══ 4. Quick View modal (PLP-Motion) ═══════════════════════════════════ */
.sv-qv-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(23, 20, 15, .45); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.sv-qv-scrim.is-on { opacity: 1; pointer-events: auto; }
.sv-qv {
	position: fixed; top: 50%; left: 50%; z-index: 81; display: grid; grid-template-columns: 1fr 1fr;
	width: min(620px, 92vw); max-height: 86vh; overflow: auto; border-radius: 16px; background: #fff;
	transform: translate(-50%, -50%) scale(.92); opacity: 0; pointer-events: none;
	transition: transform 240ms cubic-bezier(.34, 1.2, .4, 1), opacity 200ms ease;
}
.sv-qv.is-on { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
@media (max-width: 560px) { .sv-qv { grid-template-columns: 1fr; width: min(420px, 92vw); } }
.sv-qv__close {
	position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: var(--surface); cursor: pointer;
}
.sv-qv__photo { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--surface); color: var(--ink-soft); font-size: 13px; }
.sv-qv__photo img { width: 100%; height: 100%; object-fit: cover; }
.sv-qv.is-on .sv-qv__photo img { animation: sv-qv-photo 320ms cubic-bezier(.4, 0, .2, 1); }
@keyframes sv-qv-photo { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.sv-qv__photo .sv-pill { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.sv-qv__info { display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; }
.sv-qv__store { font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.sv-qv__title { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; }
.sv-qv__rating { font-size: 12.5px; color: var(--ink-soft); }
.sv-qv__price { display: flex; gap: 8px; align-items: baseline; }
.sv-qv__price .sv-card__now { font-size: 22px; font-weight: 800; }
.sv-qv__price .sv-card__was { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.sv-qv__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sv-qv .sv-qv__sizes button {
	position: relative; overflow: hidden; width: auto; min-width: 40px; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px;
	background: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color 140ms ease;
}
.sv-qv .sv-qv__sizes button.is-sel { border: 2px solid var(--ink); font-weight: 800; }
.sv-qv .sv-qv__sizes button:disabled { color: #b5b2ab; text-decoration: line-through; cursor: not-allowed; }
.sv-qv__actions { display: flex; gap: 10px; margin-top: 8px; }
.sv-qv__actions > * {
	flex: 1; display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: 999px;
	font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-align: center;
}
.sv-qv__cart { border: 0; background: var(--ink); color: #fff; }
.sv-qv__cart:hover { color: #fff; }
.sv-qv__outline { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.sv-qv__link { margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); }
.sv-qv__link a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* ══ 5. Motion kit: toast · sizes · buy bar · stock · stars · progress · proof ══ */
/* 6. Toast */
.sv-toast {
	position: fixed; left: 50%; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px);
	padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap;
	box-shadow: none; pointer-events: none; transform: translate(-50%, calc(120% + 16px)); transition: transform 320ms cubic-bezier(.3, .8, .3, 1);
}
.sv-toast.is-on { transform: translate(-50%, 0); }
@media (max-width: 767px) { .sv-toast { bottom: 80px; transform: translate(-50%, calc(120% + 80px)); } }

/* 7. Size selector: select pulse + ripple */
.woocommerce div.product .sv-size {
	position: relative; overflow: hidden; min-width: 48px; height: 48px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px;
	background: #fff; color: var(--ink); font-size: 13px; font-weight: 700;
}
.woocommerce div.product .sv-size.is-active { border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.woocommerce div.product .sv-size.is-out { border-color: var(--line); background: var(--surface); color: #b5b2ab; }
.sv-size.is-active.is-pulse, .sv-qv__sizes button.is-pulse, .sv-card__sizes button.is-pulse { animation: sv-size-pulse 550ms ease; }
@keyframes sv-size-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 20, 15, .35); } 100% { box-shadow: 0 0 0 10px rgba(23, 20, 15, 0); } }
.sv-ripple { position: absolute; border-radius: 50%; background: rgba(23, 20, 15, .18); transform: scale(0); animation: sv-ripple 520ms ease-out forwards; pointer-events: none; }
@keyframes sv-ripple { to { transform: scale(2.6); opacity: 0; } }

/* 8. Sticky buy bar */
.sv-buybar {
	position: fixed; left: 0; right: 0; bottom: 64px; z-index: 47; display: flex; gap: 8px; padding: 10px 12px;
	border-top: 1px solid var(--line); background: #fff;
	transform: translateY(calc(100% + 64px)); transition: transform 280ms cubic-bezier(.3, .8, .3, 1);
}
.sv-buybar.is-on { transform: translateY(0); }
.sv-buybar__btn {
	flex: 1; height: 38px; padding: 0; border: 1.5px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink);
	font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; cursor: pointer;
}
.sv-buybar__btn--ink { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (min-width: 768px) { .sv-buybar { display: none; } }

/* 9. Low stock pulse */
.sv-stockpill {
	display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0; padding: 9px 16px; border-radius: 999px;
	background: #FFF0ED; color: var(--sale); font-size: 13px; font-weight: 700; animation: sv-stock-pulse 1.6s ease-in-out infinite;
}
.sv-stockpill > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--sale); }
@keyframes sv-stock-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.045); opacity: .82; } }
.woocommerce div.product .sv-sizes__note.sv-stockpill { margin-top: 10px; min-height: 0; }

/* 10. Stars fill in when the reviews block scrolls into view */
.sv-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.sv-star { width: 26px; height: 26px; opacity: .25; transform: scale(.7); transition: opacity 260ms ease, transform 260ms cubic-bezier(.34, 1.56, .64, 1); }
.sv-stars.in .sv-star { opacity: 1; transform: scale(1); }

/* 12. Checkout progress */
.sv-progress { margin: 0 0 24px; }
.woocommerce-cart .woocommerce > .sv-progress, .woocommerce-checkout .woocommerce > .sv-progress { grid-column: 1 / -1; }
.sv-progress__steps { display: flex; justify-content: space-between; margin: 0 0 12px; padding: 0; list-style: none; }
.sv-progress__steps li { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-soft); }
.sv-progress__dot {
	display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 50%;
	background: #fff; color: var(--ink-soft); font-size: 11px; font-weight: 800;
	transition: background 260ms ease, border-color 260ms ease, color 260ms ease;
}
.sv-progress__steps li.is-active .sv-progress__dot { border-color: var(--ink); color: var(--ink); }
.sv-progress__steps li.is-done .sv-progress__dot { border-color: var(--success); background: var(--success); color: #fff; }
.sv-progress__track { height: 5px; margin-bottom: 16px; overflow: hidden; border-radius: 999px; background: var(--line); }
.sv-progress__fill { width: var(--fill, 0%); height: 100%; background: var(--success); animation: sv-fill 420ms cubic-bezier(.3, .8, .3, 1) 120ms both; }
@keyframes sv-fill { from { width: var(--from, 0%); } to { width: var(--fill, 0%); } }

/* 13. Realtime buy popup */
.sv-proof {
	position: fixed; right: 20px; bottom: 20px; z-index: 46; display: flex; align-items: flex-start; gap: 14px;
	width: calc(100% - 40px); max-width: 360px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
	box-shadow: 0 16px 36px -14px rgba(23, 20, 15, .3);
	transform: translateX(130%); opacity: 0; pointer-events: none;
	transition: transform 380ms cubic-bezier(.3, .8, .3, 1), opacity 380ms ease;
}
.sv-proof.is-on { transform: translateX(0); opacity: 1; pointer-events: auto; }
.sv-proof__avatar {
	display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
	background: var(--ink); color: #fff; font-size: 17px; font-weight: 800;
}
.sv-proof__body { min-width: 0; }
.sv-proof__line { font-size: 15px; font-weight: 700; line-height: 1.4; }
.sv-proof__line b { color: var(--ink); }
.sv-proof__line a { color: var(--ink); }
.sv-proof__line a:hover { color: var(--accent); }
.sv-proof__meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--ink-soft); }
.sv-proof__live { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: sv-live-blink 1.4s ease-in-out infinite; }
@keyframes sv-live-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.sv-proof__close { flex: none; margin-left: auto; padding: 2px; border: 0; background: none; color: var(--ink-soft); cursor: pointer; }
@media (max-width: 767px) { .sv-proof { right: 16px; bottom: 80px; width: calc(100% - 32px); padding: 14px 16px; } .sv-proof__line { font-size: 14px; } }
.single-product .sv-proof { bottom: 132px; }
@media (min-width: 768px) { .single-product .sv-proof { bottom: 20px; } }

/* 1. Wishlist heart on the product page */
.sv-pdp__wish.is-pop .sv-icon { animation: sv-heart-pop 420ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes sv-heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }
.sv-pdp__wish.is-on { color: #F849C1; }
.sv-pdp__wish.is-on .sv-icon { fill: #FFA8DB; stroke: #F849C1; }

/* 3b. Hero parallax */
.sv-hero { position: relative; overflow: hidden; isolation: isolate; background: #2B2420; }
.sv-hero::before {
	content: ''; position: absolute; left: 0; right: 0; top: -40px; z-index: -1; height: calc(100% + 300px);
	background: linear-gradient(135deg, #17140F 0%, #2B2420 55%, #C53A00 100%);
	transform: translateY(var(--py, 0px)); will-change: transform;
}
@media (min-width: 1024px) { .sv-hero { background: #2B2420; } .sv-hero::before { background: linear-gradient(120deg, #17140F 0%, #2B2420 55%, #C53A00 100%); } }

/* ══ 6. Sticky product gallery (Sticky-Product-Gallery) ═════════════════ */
@media (min-width: 821px) {
	.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
	.woocommerce div.product div.images { position: sticky !important; top: calc(var(--sticky-top, 0px) + 84px); align-self: start; width: auto !important; float: none !important; }
	.woocommerce div.product div.summary { width: auto !important; float: none !important; }
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img { border-radius: 14px; }
.woocommerce div.product div.summary { gap: 16px; }
.sv-pdp__seller { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 0 !important; }
.woocommerce div.product .product_title { font-size: 26px; font-weight: 800; line-height: 1.3; }
.sv-pdp__reviews { font-size: 13px; }
.sv-pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.sv-pdp__price .sv-pdp__now, .sv-pdp__price ins, .sv-pdp__price > .amount { font-size: 30px; font-weight: 800; }
.sv-pdp__price del { font-size: 16px; color: var(--ink-soft); }
.sv-pdp__note { margin-top: 0 !important; font-size: 12px; }
.sv-pdp__rule { height: 1px; margin: 4px 0 !important; }
.woocommerce div.product form.cart .button, .woocommerce div.product form.cart .single_add_to_cart_button { min-height: 52px; height: 52px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.woocommerce div.product form.cart .quantity .qty { min-height: 52px; height: 52px; border-radius: 10px; }
.woocommerce div.product .sv-pdp__wish { flex: 0 0 54px; width: 54px; height: 52px; border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; }
.sv-trustbox { padding: 14px 16px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; }
.sv-pdp__block { padding-top: 10px; }
.sv-pdp__block h2 { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.sv-pdp__block p, .sv-pdp__block .sv-prose { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.sv-pdp__block table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sv-pdp__block th, .sv-pdp__block td { padding: 8px; border: 0; text-align: center; }
.sv-pdp__block th:first-child, .sv-pdp__block td:first-child { text-align: left; }
.sv-pdp__block tr { background: transparent; }
.sv-pdp__block tr:nth-child(even) { background: var(--surface); }
.sv-pdp__reviewsblock #reviews { max-width: none; }
.sv-pdp__reviewsblock .woocommerce-Reviews-title { display: none; }
.woocommerce .sv-pdp__reviewsblock #reviews #comments ol.commentlist li {
	display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
