/* The big Black Friday and Cyber Monday section at the top of the pricing page
   (template-parts/offers/pricing-hero.php), ported from the Oxilab theme. Loaded only while it is live.
   Product Layouts purple on a dark indigo. */
.ox-hero {
	position: relative; z-index: 1; overflow: hidden; isolation: isolate; color: #fff; font-family: Lato, sans-serif;
	margin-top: var(--pl-nav, 70px);
	padding-block: clamp(52px, 6vw, 88px);
	background:
		radial-gradient(46% 90% at 4% 50%, rgba(255, 45, 63, .28), transparent 72%),
		radial-gradient(44% 90% at 96% 10%, rgba(81, 86, 252, .6), transparent 72%),
		linear-gradient(120deg, #0c0a33, #141052 58%, #1b1670);
}
.ox-hero[hidden] { display: none; }
.ox-hero p { margin: 0; }
.ox-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* With the section above it, the plans need less room at the top: the menu is no longer over them. */
#oxOfferHero:not([hidden]) ~ #pricing_page #pricing { padding-top: clamp(48px, 6vw, 72px); }
.ox-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ox-hero .ox-hero-title { font-size: clamp(38px, 5.2vw, 76px); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; background: linear-gradient(180deg, #fff 30%, #d9daff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ox-hero-title span { display: block; }
/* The offer with the countdown beside it, the countdown drops under it when there is no room. */
.ox-hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(16px, 2vw, 28px); margin-top: clamp(18px, 2vw, 26px); }
.ox-hero-count { --t: clamp(56px, 4.2vw, 66px); display: grid; gap: 8px; }
.ox-hero-count:not(.is-on) { visibility: hidden; }
.ox-hero-count-label { font-size: 14px; font-weight: 700; line-height: 1; color: #d9daff; }
.ox-hero-tiles { display: flex; gap: 6px; }
.ox-hero-tiles span { display: grid; justify-items: center; align-content: center; gap: 4px; width: var(--t); height: calc(var(--t) * 1.04); border-radius: 12px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ox-hero-tiles b { font-size: calc(var(--t) * .38); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.ox-hero-tiles small { font-size: 11px; font-weight: 400; line-height: 1; color: #d6d7f5; }
.ox-hero .ox-hero-deal { display: inline-flex; align-items: center; gap: clamp(8px, .9vw, 14px); padding: clamp(6px, .7vw, 10px) clamp(16px, 1.7vw, 24px); border-radius: 14px; background: linear-gradient(135deg, #ff3346, #dc1230); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 20px 46px -18px rgba(255, 34, 58, .85); color: #fff; }
.ox-hero-deal b { font-size: clamp(42px, 4.6vw, 68px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.ox-hero-deal span { font-size: clamp(16px, 1.5vw, 22px); font-weight: 700; line-height: 1; }
.ox-hero .ox-hero-line { margin-top: clamp(16px, 1.6vw, 22px); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.45; color: #e6e6fb; }
.ox-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(18px, 2vw, 26px); }
.ox-hero-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 12px; background: #fff; color: #141052; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.ox-hero-btn:hover { color: #141052; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.ox-hero-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ox-hero .ox-hero-safe { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #fff; }
.ox-hero-safe svg { flex: none; width: 20px; height: 20px; }

/* The coupon: gold paper with a notch on each side and a tear line, inside a dashed cut line with the
   scissors on it. */
.ox-hero-panel { --cut: 60px; --n: 12px; position: relative; margin: 11px; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .45)); }
.ox-hero-panel::before { content: ""; position: absolute; inset: -11px; border: 2px dashed rgba(255, 255, 255, .6); border-radius: 26px; pointer-events: none; }
.ox-hero-cut { position: absolute; z-index: 2; top: -26px; left: 12%; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: #fff; color: #141052; transition: left .9s cubic-bezier(.4, 0, .2, 1); }
.ox-hero-panel:hover .ox-hero-cut { left: calc(88% - 30px); }
.ox-hero-ticket {
	padding: 0 clamp(16px, 1.8vw, 24px) clamp(16px, 1.6vw, 20px); border-radius: 18px; color: #2a1800;
	background: linear-gradient(135deg, #fff2c2, #ffd978 55%, #ffc24d);
	-webkit-mask: radial-gradient(circle var(--n) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle var(--n) at 0 var(--cut), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% var(--cut), #0000 98%, #000) right / 51% 100% no-repeat;
}
.ox-hero .ox-hero-panel-title { display: flex; align-items: center; height: var(--cut); margin-bottom: 16px; border-bottom: 2px dashed rgba(90, 58, 8, .45); font-size: 17px; font-weight: 900; color: #2a1800; }
.ox-hero-codes { display: grid; gap: 10px; }
.ox-hero-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 8px 8px 8px 14px; border: 1.5px dashed rgba(90, 58, 8, .55); border-radius: 12px; background: rgba(255, 255, 255, .55); }
.ox-hero-code-for { flex: 1; font-size: 13px; font-weight: 700; white-space: nowrap; color: #5a3a08; }
.ox-hero-code strong { font-size: clamp(16px, 1.4vw, 19px); font-weight: 900; letter-spacing: .02em; white-space: nowrap; color: #241000; }
.ox-hero .ox-hero-copy { flex: none; min-width: 66px; height: 36px; margin: 0; padding: 0 12px; border: 0; border-radius: 9px; background: #3d41d8; color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s; }
.ox-hero .ox-hero-copy:hover { background: #2e32b8; }
.ox-hero .ox-hero-copy.is-done { background: #0a6b3a; color: #fff; }
.ox-hero .ox-hero-copy:focus-visible { outline: 2px solid #3d41d8; outline-offset: 2px; }
.ox-hero .ox-hero-note { margin-top: 12px; font-size: 14px; font-weight: 400; color: #5a3a08; }

/* Celebration emojis, behind the words. */
.ox-hero-party { position: absolute; inset: 0; z-index: 0; max-width: 1440px; margin-inline: auto; pointer-events: none; }
.ox-hero-party span { position: absolute; left: var(--x); top: var(--y); font-size: var(--z); line-height: 1; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); transform: rotate(var(--r)); animation: ox-hero-float 5s ease-in-out var(--d) infinite; }
@keyframes ox-hero-float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-10px) rotate(calc(var(--r) + 8deg)); } }
/* The emoji burst and shower (offer-hero.js), above the menu. */
.ox-confetti { position: fixed; inset: 0; z-index: 10000; overflow: hidden; pointer-events: none; }
.ox-confetti span { position: absolute; top: 0; left: 0; line-height: 1; will-change: transform, opacity; }

@media (max-width: 991.98px) {
	.ox-hero-in { grid-template-columns: minmax(0, 1fr); }
	.ox-hero-panel { max-width: 520px; }
	.ox-hero-party span:nth-child(-n+3) { display: none; }
	.ox-hero-party span:nth-child(4) { left: 88%; top: 14px; }
	.ox-hero-party span:nth-child(5) { display: none; }
}
/* The smallest phones: the label sits over its code. */
@media (max-width: 400px) {
	.ox-hero-party span:nth-child(4) { display: none; }
	.ox-hero-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 2px; }
	.ox-hero-code-for { grid-area: 1 / 1; }
	.ox-hero-code strong { grid-area: 2 / 1; }
	.ox-hero .ox-hero-copy { grid-area: 1 / 2 / 3 / 3; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
	.ox-hero-party span { animation: none; }
	.ox-hero .ox-hero-copy, .ox-hero-btn, .ox-hero-cut { transition: none; }
	.ox-hero-panel:hover .ox-hero-cut { left: 12%; }
}
