/* YayCrate buy box (yaycrate-moments 1.6.0): gallery, price lock, delivery card, live facts, trust panel, buttons,
   zoom, full-screen photos, videos, the story beats and specs, reviews and stars. Uses site.css's tokens (--yc-gold,
   --yc-orange, --yc-ink...). Motion stops under prefers-reduced-motion. */

/* ---- gallery: one video, one photo, then the rest ---- */
.yc-media { position: relative; }
.yc-media__track { position: relative; display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto;
	scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; background: #f6f4ef; }
.yc-media__track::-webkit-scrollbar { display: none; }
.yc-media__item { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; margin: 0; scroll-snap-align: start; overflow: hidden; }
.yc-media--square .yc-media__item { aspect-ratio: 1; }
.yc-media__item img, .yc-media__item video { display: block; width: 100%; height: 100%; object-fit: contain; }
.yc-media__item.is-video video { object-fit: cover; background: #111; cursor: pointer; }
.yc-media__item a { display: block; height: 100%; cursor: zoom-in; }
.yc-media__thumbs { display: flex; gap: .45rem; margin: .6rem 0 0; padding: 0 0 .2rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.yc-media__thumbs button { position: relative; display: block; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px;
	overflow: hidden; background: #f6f4ef; cursor: pointer; }
.yc-media__thumbs button.is-on { border-color: var(--yc-orange, #e8590c); }
.yc-media__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yc-media__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: rgba(0, 0, 0, .28); }
@media (min-width: 782px) {
	.yc-media__track { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; overflow: visible; background: none; border-radius: 0; }
	.yc-media__item { aspect-ratio: 1; border-radius: 16px; background: #f6f4ef; }
	.yc-media__item:nth-child(-n+2) { grid-column: 1 / -1; }
	.yc-media__item.is-video { aspect-ratio: 4 / 5; }
	.yc-media__item.is-video.is-square { aspect-ratio: 1; }
	.yc-media__thumbs { display: none; }
	.akpp-top > .wp-block-column.akpp-buy { position: sticky; top: 1rem; align-self: flex-start; }
}

/* ---- full-screen photo ---- */
.yc-lb { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; background: rgba(12, 14, 20, .92); cursor: zoom-out; }
.yc-lb img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.yc-lb__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #111;
	font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---- price lock ---- */
.yc-lock { margin: .6rem 0 .9rem; padding: .85rem 1rem; border-radius: 16px; color: var(--yc-ink, #141824);
	background: linear-gradient(135deg, #fff6dc 0%, #ffe8b0 100%); border: 2px solid var(--yc-gold, #f5b82e);
	box-shadow: 0 6px 18px rgba(232, 89, 12, .14); animation: yc-drop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.yc-lock[hidden] { display: none; }
.yc-lock__top { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.yc-lock__ico { font-size: 1.15rem; animation: yc-wiggle 2.8s ease-in-out infinite; }
.yc-lock__clock { margin-left: auto; font: 800 1.7rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums;
	color: #fff; background: var(--yc-ink, #141824); padding: .3rem .55rem; border-radius: 10px; letter-spacing: .04em;
	box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .12); }
.yc-lock.is-low { border-color: #dc2626; animation: yc-pulse-red 1s ease-in-out infinite; }
.yc-lock.is-low .yc-lock__clock { background: #dc2626; }
.yc-lock__note { margin: .45rem 0 0; font-size: .84rem; color: #4b5563; }
.yc-lock__note b { color: var(--yc-orange-dk, #c94a06); font-size: 1rem; }
.yc-lock.is-over { background: #f1f5f9; border-color: #cbd5e1; box-shadow: none; }
.yc-lock.is-over .yc-lock__ico { animation: none; }
.yc-lock__refresh { margin-top: .6rem; padding: .55rem 1rem; border: 0; border-radius: 999px; background: var(--yc-orange, #e8590c); color: #fff;
	font-weight: 800; cursor: pointer; }
.yc-lock__refresh[disabled] { opacity: .7; cursor: progress; }
.yc-mini-lock { display: inline-block; margin-left: .5rem; padding: .1rem .45rem; border-radius: 8px; background: var(--yc-ink, #141824);
	color: #fff; font: 700 .8rem/1.4 ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.yc-mini-lock.is-low { background: #dc2626; }
.yc-mini-lock[hidden] { display: none; }
.yc-lock-bar { margin: 0 auto 1rem; max-width: var(--wp--style--global--wide-size, 1200px); padding: .7rem 1rem; border-radius: 12px;
	background: #fff6dc; border: 1.5px solid var(--yc-gold, #f5b82e); font-weight: 600; }
.yc-lock-bar b { font-variant-numeric: tabular-nums; }
.yc-lock-bar.is-low { border-color: #dc2626; }

/* ---- live facts ---- */
.yc-live { margin: 0 0 .8rem; font-size: .9rem; font-weight: 600; line-height: 1.6; color: #9a3412; }
.yc-live[hidden] { display: none; }
.yc-live__dot { display: inline-block; width: .55rem; height: .55rem; margin-right: .45rem; border-radius: 50%; background: #16a34a;
	box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: yc-ping 1.8s ease-out infinite; vertical-align: .05em; }

/* ---- delivery card ---- */
.akpp-delivery[hidden] { display: none; }
.yc-ship { margin: .5rem 0 1rem; padding: .85rem 1rem; border-radius: 16px; background: #effaf3; border: 1.5px solid #86d3a4; }
.yc-ship__head { display: flex; gap: .7rem; align-items: center; }
.yc-ship__truck { font-size: 1.6rem; display: inline-block; animation: yc-drive 2.6s ease-in-out infinite; }
.yc-ship__title { display: block; font-size: 1.02rem; line-height: 1.3; }
.yc-ship__date { color: #15803d; background: linear-gradient(transparent 62%, #bbf7d0 62%); padding: 0 .1em; }
.yc-ship__cut { display: block; margin-top: .15rem; font-size: .88rem; color: #374151; }
.yc-ship__cut b { color: #c2410c; font-variant-numeric: tabular-nums; }
.yc-ship__steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: .75rem 0 0; padding: 0; list-style: none; position: relative; }
.yc-ship__steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: .55rem; height: 3px; border-radius: 3px;
	background: repeating-linear-gradient(90deg, #22c55e 0 10px, transparent 10px 16px); }
.yc-ship__steps li { position: relative; text-align: center; padding-top: 1.35rem; font-size: .78rem; color: #4b5563; }
.yc-ship__steps li::before { content: ""; position: absolute; top: .2rem; left: 50%; width: .8rem; height: .8rem; margin-left: -.4rem;
	border-radius: 50%; background: #fff; border: 3px solid #22c55e; }
.yc-ship__steps li:first-child::before { background: #22c55e; }
.yc-ship__steps b { display: block; color: var(--yc-ink, #141824); font-size: .84rem; }

/* ---- trust panel (replaces the plain assurances row) ---- */
.yc-trust-box { margin: 1rem 0 .5rem; padding: .8rem .95rem; border-radius: 14px; background: #f8fafc; border: 1px solid var(--yc-line, rgba(31, 36, 48, .1)); }
.yc-tb { display: flex; gap: .6rem; margin: 0 0 .5rem; font-size: .88rem; line-height: 1.4; color: #374151; }
.yc-tb strong { color: var(--yc-ink, #141824); }
.yc-tb a { color: inherit; text-decoration: underline; }
.yc-cards { display: flex; flex-wrap: wrap; gap: .35rem; margin: .65rem 0 0; }
.yc-card { padding: .2rem .5rem; border-radius: 6px; border: 1px solid #d1d5db; background: #fff; font: 800 .72rem/1.3 system-ui, sans-serif; letter-spacing: .02em; }
.yc-card--visa { color: #1a1f71; font-style: italic; }
.yc-card--mc { color: #eb001b; }
.yc-card--amex { color: #fff; background: #2e77bc; border-color: #2e77bc; }
.yc-card--disc { color: #e65c00; }

/* ---- buy buttons: a shine that says "press me"; greyed out while opening soon or out of stock ---- */
.single-product .single_add_to_cart_button, .akpp-sticky-buy { position: relative; overflow: hidden; }
.single-product .single_add_to_cart_button:not([disabled])::after, .akpp-sticky-buy:not([disabled])::after { content: ""; position: absolute; top: 0; left: -60%;
	width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
	animation: yc-shine 3.6s ease-in-out infinite; pointer-events: none; }
.single-product .akpp-buy-now { animation: yc-nudge 4.5s ease-in-out infinite; }
.single_add_to_cart_button[disabled], .akpp-sticky-buy[disabled], .yc-off, .yc-closed .add_to_cart_button { opacity: .55; filter: grayscale(.5);
	cursor: not-allowed; pointer-events: none; }
.yc-off { width: 100%; margin-top: .5rem; }
.yc-soon-note { margin: .55rem 0 0; font-size: .86rem; color: #4b5563; }

/* ---- zoom ---- */
.yc-zoom-pane { display: none; position: fixed; z-index: 9999; background: #fff no-repeat; border: 1px solid #e5e7eb; border-radius: 12px;
	box-shadow: 0 18px 50px rgba(20, 24, 36, .22); pointer-events: none; }
.yc-zoom-lens { display: none; position: absolute; z-index: 5; border: 2px solid rgba(232, 89, 12, .85); background: rgba(255, 255, 255, .28);
	border-radius: 6px; pointer-events: none; }
.yc-zoom-hint { margin: .4rem 0 0; text-align: center; font-size: .78rem; color: var(--yc-muted, #5b6170); }

/* ---- videos ---- */
video.yc-play { display: block; }
.yc-video__sound { position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .55); color: #fff; font-size: 1rem; cursor: pointer; }

/* ---- the story: a video, then a photo, each with its words ---- */
.yc-story { display: grid; gap: clamp(2.2rem, 5vw, 4.5rem); margin: 2.5rem auto 3rem; }
.yc-beat { display: grid; gap: 1.2rem; align-items: center; }
.yc-beat__media { position: relative; margin: 0; width: 100%; border-radius: 22px; overflow: hidden; background: #f6f4ef;
	box-shadow: var(--yc-shadow, 0 10px 30px rgba(20, 24, 36, .09)); }
.yc-beat__media img, .yc-beat__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.yc-beat__media a { display: block; height: 100%; cursor: zoom-in; }
.yc-beat__media.is-tall { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; background: #111; }
.yc-beat__media.is-square { aspect-ratio: 1; }
.yc-beat__kicker { margin: 0 0 .35rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--yc-orange, #e8590c); }
.yc-beat__copy h2 { margin: 0 0 .6rem; font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.15rem); line-height: 1.15; }
.yc-beat__copy p { margin: 0 0 .7rem; font-size: 1.02rem; line-height: 1.6; color: #374151; }
.yc-ticks { display: grid; gap: .45rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.yc-ticks li { position: relative; padding-left: 1.75rem; line-height: 1.45; }
.yc-ticks li::before { content: "✓"; position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
	border-radius: 50%; background: #dcfce7; color: #15803d; font-size: .78rem; font-weight: 900; }
@media (min-width: 782px) {
	.yc-beat { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
	.yc-beat.is-flip .yc-beat__media { order: 2; }
}
.yc-specs { margin: 2.5rem auto; }
.yc-specs h2 { text-align: center; }
.yc-specs table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 14px; border: 1px solid var(--yc-line, rgba(31, 36, 48, .1)); }
.yc-specs th, .yc-specs td { padding: .7rem .9rem; text-align: left; vertical-align: top; font-size: .95rem; }
.yc-specs th { width: 40%; font-weight: 700; color: var(--yc-ink, #141824); }
.yc-specs tr:nth-child(odd) { background: #f8fafc; }

/* ---- reviews ---- */
.yc-rv { max-width: var(--wp--style--global--wide-size, 1200px); margin: 3rem auto; padding: 0 1rem; }
.yc-rv h2 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.yc-rv__top { display: flex; align-items: center; gap: .9rem; }
.yc-rv__avg { font: 800 3rem/1 var(--wp--preset--font-family--heading, inherit); }
.yc-rv__top .yc-stars { font-size: 1.35rem; }
.yc-rv__basis { margin: .25rem 0 0; font-size: .88rem; color: #4b5563; }
.yc-rv__wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.yc-rv__wall li { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f6f4ef; }
.yc-rv__wall img, .yc-rv__wall video { display: block; width: 100%; height: 100%; object-fit: cover; }
.yc-rv__wall a { display: block; height: 100%; cursor: zoom-in; }
@media (min-width: 782px) { .yc-rv__wall { grid-template-columns: repeat(6, 1fr); } }
.yc-rv__filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 .4rem; }
.yc-rv__f { padding: .35rem .8rem; border: 1.5px solid #d1d5db; border-radius: 999px; background: #fff; font-weight: 700; font-size: .85rem; cursor: pointer; }
.yc-rv__f span { color: #6b7280; font-weight: 600; }
.yc-rv__f.is-on { border-color: var(--yc-ink, #141824); background: var(--yc-ink, #141824); color: #fff; }
.yc-rv__f.is-on span { color: #d1d5db; }
.yc-rv__list { margin: 0; padding: 0; list-style: none; }
.yc-rv__item { padding: 1rem 0; border-bottom: 1px solid var(--yc-line, rgba(31, 36, 48, .1)); }
.yc-rv__item[hidden] { display: none; }
.yc-rv__head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .92rem; }
.yc-rv__country { padding: .05rem .35rem; border-radius: 5px; background: #f1f5f9; font-size: .72rem; font-weight: 700; color: #475569; }
.yc-rv__head time { color: #6b7280; font-size: .82rem; }
.yc-rv__badge { display: inline-block; margin: .35rem 0 0; padding: .1rem .5rem; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .76rem; font-weight: 700; }
.yc-rv__variant { margin: .3rem 0 0; font-size: .8rem; color: #6b7280; }
.yc-rv__text p { margin: .45rem 0 0; line-height: 1.55; }
.yc-rv__media { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.yc-rv__media img { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.yc-rv__video { width: 160px; aspect-ratio: 9 / 16; border-radius: 12px; background: #111; object-fit: cover; }
.yc-rv__morebox { text-align: center; }
.yc-rv__more { margin-top: 1rem; padding: .7rem 1.4rem; border: 2px solid var(--yc-ink, #141824); border-radius: 999px; background: #fff; font-weight: 800; cursor: pointer; }
.yc-rv__more[hidden] { display: none; }

/* ---- stars ---- */
.yc-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; color: #d6d3d1; font-size: 1.05em; vertical-align: -.05em; }
.yc-stars::before { content: "★★★★★"; }
.yc-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #f59e0b; white-space: nowrap; }

@keyframes yc-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes yc-wiggle { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } }
@keyframes yc-pulse-red { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .35); } 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } }
@keyframes yc-ping { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } }
@keyframes yc-drive { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes yc-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes yc-nudge { 0%, 88%, 100% { transform: none; } 92% { transform: scale(1.035); } 96% { transform: scale(.99); } }
@media (prefers-reduced-motion: reduce) {
	.yc-lock, .yc-lock__ico, .yc-lock.is-low, .yc-live__dot, .yc-ship__truck, .single-product .akpp-buy-now { animation: none; }
	.single-product .single_add_to_cart_button::after, .akpp-sticky-buy::after { display: none; }
	.yc-media__track { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------------------------- quantity tiers (1.9). */
/* The picker: dollars saved in a pill, the price bought singly struck through, a true reason to take that many. */
.yc-tiers .yc-tier { align-items: center; gap: .25em .55em; padding: .8em .9em; border-width: 1.5px; border-radius: 12px; background: #fff; }
.yc-tiers .yc-tier:has(input:checked) { border-color: var(--yc-ink, #141824); box-shadow: 0 0 0 1.5px var(--yc-ink, #141824); background: #fffdf6; }
.yc-tier__save { padding: .12em .55em; border-radius: 999px; background: #e7f6ec; color: #0b6b34; font-size: .8em; font-weight: 700; white-space: nowrap; }
.yc-tier__sub { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1em .6em;
	padding-left: 1.75em; font-size: .85em; }
.yc-tier__why { color: var(--yc-orange-dk, #c94a06); font-weight: 600; }
.yc-tier__right { margin-left: auto; white-space: nowrap; }
.yc-tier__was { color: #6b7280; margin-right: .35em; }
.yc-tiers .aislekit-tier-each { flex-basis: auto; opacity: 1; font-size: 1em; color: #374151; }
.yc-tiers .aislekit-tier-badge { background: var(--yc-orange, #e8590c); color: #fff; }
.yc-tier-total { margin: -.2rem 0 .9rem; font-size: .92rem; color: #374151; }
.yc-tier-total b { color: var(--yc-ink, #141824); font-size: 1.05rem; }
/* The cart's next tier in one tap, and what the shopper gets, under the cart's and the checkout's button. */
.yc-more { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 auto 1rem; padding: .85rem 1rem; box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1200px); border-radius: 12px; background: #e7f6ec; border: 1.5px solid #9bd3ae; }
.yc-more__text { flex: 1 1 15rem; margin: 0; }
.yc-more__text span { display: block; font-size: .92rem; }
.yc-more__text .yc-more__why { color: #0b6b34; font-weight: 700; }
.yc-more__btn { flex: 0 0 auto; border: 0; border-radius: 999px; padding: .7rem 1.2rem; background: #0b6b34; color: #fff; font-weight: 700; cursor: pointer; }
.yc-more__btn:hover, .yc-more__btn:focus-visible { background: #095428; }
/* :root, since the theme zeroes a layout's last child's bottom margin with (0,2,0). */
:root .yc-trust-box.yc-assure { margin: 1rem auto 2rem; max-width: 34rem; }
.yc-one-country .wc-block-components-address-form__country { display: none; }
