/*
 * Juventus Design Shortcodes — public pages (home, sign in, catalog, certificates,
 * contact, FAQs, standards, legal). Scoped under .juv; loads after juv.css and only
 * adds new classes, so the shop / cart / account styles are unaffected.
 * Author: Faran Waseem
 */

/* Shared bits ------------------------------------------------------------ */
:is(.juv-hero, .juv-auth, .juv-heading, .juv-faqs, .juv-features, .juv-contact-info, .juv-contact-form, .juv-legal, .juv-cat, .juv-editions, .juv-coa).juv { box-sizing: border-box; }
.juv .juv-corner { position: absolute; width: 16px; height: 16px; border: 0 solid var(--juv-text); pointer-events: none; z-index: 2; }
.juv .juv-corner--tl { top: -2px; left: -2px; border-top-width: 3px; border-left-width: 3px; }
.juv .juv-corner--tr { top: -2px; right: -2px; border-top-width: 3px; border-right-width: 3px; }
.juv .juv-corner--bl { bottom: -2px; left: -2px; border-bottom-width: 3px; border-left-width: 3px; }
.juv .juv-corner--br { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; }

body .juv.juv .juv-btn--lg { min-height: 48px; padding: 12px 24px; }
body .juv.juv .juv-btn--panel { background: var(--juv-panel); border-color: var(--juv-field-line); color: var(--juv-text); }
body .juv.juv .juv-btn--panel:hover { background: var(--juv-panel-2); color: var(--juv-text); }
body .juv.juv .juv-btn--ghost { background: transparent; border-color: var(--juv-field-line); color: var(--juv-text); }
body .juv.juv .juv-btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: var(--juv-text); color: var(--juv-text); }
body .juv.juv .juv-notice--ok { background: var(--juv-ok-bg); border-color: rgba(71, 233, 155, .25); border-left-color: var(--juv-ok); color: var(--juv-ok-text); }

/* [juv_hero] ------------------------------------------------------------- */
.juv.juv-hero {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: var(--juv-hero-h, 700px);
	overflow: hidden;
	background: #000;
	border: 1px solid var(--juv-line);
	isolation: isolate;
}
.juv.juv-hero .juv-hero__poster,
.juv.juv-hero .juv-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.juv.juv-hero .juv-hero__shade { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, var(--juv-hero-shade, .64)); }
.juv.juv-hero .juv-hero__copy { width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px clamp(20px, 3vw, 40px); }
.juv.juv-hero .juv-eyebrow-bracket { margin-bottom: 26px; font-size: 11px; letter-spacing: .13em; }
body .juv.juv-hero .juv-hero__title {
	margin: 0 0 22px;
	font-family: var(--juv-display);
	font-size: clamp(40px, 5.6vw, 72px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -.021em;
	color: #fff;
}
.juv.juv-hero .juv-hero__intro { margin: 0 0 32px; font-size: 18px; line-height: 1.6; color: #fff; }
.juv.juv-hero .juv-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
body .juv.juv-hero .juv-hero__toggle {
	position: absolute; left: 24px; bottom: 24px;
	min-height: 42px; padding: 8px 22px;
	border: 1px solid var(--juv-field-line); border-radius: 4px;
	background: var(--juv-panel); color: var(--juv-text);
	font-family: var(--juv-body); font-size: 14px; font-weight: 500;
	cursor: pointer;
}
body .juv.juv-hero .juv-hero__toggle:hover { background: var(--juv-panel-2); }

/* [juv_signin] ----------------------------------------------------------- */
.juv.juv-auth {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	max-width: 1280px;
	min-height: 800px;
	margin: 80px auto;
	border: 1px solid #585858;
	background: #000;
}
.juv.juv-auth .juv-auth__art { position: relative; overflow: hidden; border-right: 1px solid #585858; background: #000; }
.juv.juv-auth .juv-auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.juv.juv-auth .juv-auth__panel { display: flex; align-items: center; padding: 64px 44px; }
.juv.juv-auth .juv-auth__content { width: 100%; max-width: 546px; }
.juv.juv-auth .juv-auth__logo { display: block; width: 128px; height: auto; margin: 0 0 36px; }
body .juv.juv-auth .juv-auth__title { margin: 0 0 16px; font-family: var(--juv-display); font-size: 23px; font-weight: 600; line-height: 1.2; color: #fff; letter-spacing: 0; text-transform: none; }
.juv.juv-auth .juv-auth__intro { margin: 0 0 24px; color: var(--juv-muted); font-size: 14px; line-height: 1.7; }
.juv.juv-auth .juv-auth__notices { margin-bottom: 18px; }
/* !important: beats the general field/label rules in juv.css, which use very specific selectors. */
body .juv.juv-auth label.juv-auth__label { margin: 0 0 10px !important; font-family: var(--juv-body) !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--juv-muted) !important; }
.juv.juv-auth .juv-auth__input {
	position: relative; display: flex; align-items: center;
	margin: 0 0 24px;
	border: 1px solid var(--juv-field-line); border-radius: 4px;
	background: var(--juv-panel-2);
	transition: border-color .15s, box-shadow .15s;
}
.juv.juv-auth .juv-auth__input:focus-within { border-color: var(--juv-link); box-shadow: 0 0 0 3px rgba(107, 183, 255, .2); }
.juv.juv-auth .juv-auth__input > .juv-icon { flex: none; margin: 0 0 0 20px; color: var(--juv-text); }
body .juv.juv-auth .juv-auth__input input { min-height: 48px !important; padding: 12px 14px 12px 16px !important; border: 0 !important; border-radius: 4px !important; background: transparent !important; box-shadow: none !important; font-size: 14px !important; }
body .juv.juv-auth .juv-auth__input--plain input { padding-left: 16px !important; }
.juv.juv-auth .juv-auth__password { margin-top: -6px; }
.juv.juv-auth .juv-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -12px 0 20px; }
body .juv.juv-auth .juv-auth__remember { display: inline-flex; align-items: center; margin: 0; font-family: var(--juv-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--juv-muted); }
body .juv.juv-auth .juv-auth__form .juv-btn--lg { min-height: 50px; }
body .juv.juv-auth .juv-auth__change { display: block; margin: 12px 0 0; padding: 0; min-height: 0; border: 0; background: none; color: var(--juv-link); font-family: var(--juv-body); font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body .juv.juv-auth .juv-auth__change[hidden] { display: none; }
/* Two-step sign in: with JavaScript the password appears after "Continue". */
.juv-js .juv.juv-auth form[data-juv-signin]:not([data-step="2"]) [data-juv-step2] { display: none; }
.juv.juv-auth .juv-auth__invite { margin-top: 40px; }
.juv.juv-auth .juv-auth__invite .juv-auth__title { margin-bottom: 10px; }
.juv.juv-auth .juv-auth__invite-text { margin: 0 0 28px; color: var(--juv-muted); font-size: 16px; font-weight: 500; line-height: 1.2; }
.juv.juv-auth .juv-auth__invite .juv-btn + .juv-btn { margin-top: 12px; }
.juv.juv-auth .juv-auth__stack { display: grid; gap: 12px; }

/* [juv_heading] ---------------------------------------------------------- */
.juv.juv-heading { margin: 0 0 40px; }
.juv.juv-heading .juv-eyebrow-bracket { margin-bottom: 30px; font-size: 11px; letter-spacing: .13em; }
body .juv.juv-heading .juv-heading__title { margin: 0; font-family: var(--juv-display); font-weight: 600; color: #fff; letter-spacing: -.02em; text-transform: none; }
body .juv.juv-heading--xl .juv-heading__title { font-size: clamp(38px, 4.4vw, 60px); line-height: 1; }
body .juv.juv-heading--lg .juv-heading__title { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
body .juv.juv-heading--md .juv-heading__title { font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.juv.juv-heading .juv-heading__text { max-width: 720px; margin: 22px 0 0; color: #e9ebf0; font-size: 15px; font-weight: 500; line-height: 1.5; }
.juv.juv-heading--md .juv-heading__text,
.juv.juv-heading .juv-heading__body { max-width: 722px; margin: 18px 0 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--juv-text); }
.juv.juv-heading .juv-heading__body p:last-child { margin-bottom: 0; }
.juv.juv-heading .juv-heading__body a { color: var(--juv-link); }
.juv.juv-heading--divider { padding-bottom: 28px; border-bottom: 1px solid var(--juv-line); }
.juv.juv-heading--center { text-align: center; }
.juv.juv-heading--center .juv-heading__text { margin-inline: auto; }

/* FAQs -------------------------------------------------------------------- */
.juv.juv-faqs { max-width: 760px; border-bottom: 1px solid var(--juv-line); }
.juv .juv-faq { border-top: 1px solid var(--juv-line); }
body .juv .juv-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 0 8px;
	list-style: none;
	font-family: var(--juv-display); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--juv-text);
	cursor: pointer;
}
.juv .juv-faq__q::-webkit-details-marker { display: none; }
.juv .juv-faq__q::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--juv-muted); border-bottom: 1.5px solid var(--juv-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.juv .juv-faq[open] > .juv-faq__q::after { transform: rotate(-135deg) translateY(-1px); }
.juv .juv-faq:not([open]) > .juv-faq__q { padding-bottom: 18px; }
.juv .juv-faq__a { padding: 0 0 18px; color: var(--juv-muted); font-size: 14px; line-height: 1.6; }
.juv .juv-faq__a p:last-child { margin-bottom: 0; }
.juv .juv-faq__a a { color: var(--juv-link); }

/* Features ---------------------------------------------------------------- */
.juv.juv-features { display: grid; grid-template-columns: repeat(var(--juv-cols, 3), minmax(0, 1fr)); gap: 32px; margin: 56px 0 0; }
.juv .juv-feature { padding-top: 18px; border-top: 1px solid var(--juv-line); display: flex; flex-direction: column; }
.juv .juv-feature__label { margin: 0 0 22px; font-family: var(--juv-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--juv-text); }
body .juv .juv-feature__title { margin: 0 0 28px; font-family: var(--juv-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: #fff; letter-spacing: -.01em; text-transform: none; }
.juv .juv-feature__text { margin: 0 0 20px; color: var(--juv-muted); font-size: 14px; line-height: 1.6; flex: 1; }
.juv .juv-feature__text p:last-child { margin-bottom: 0; }
body .juv.juv .juv-feature__link.juv-feature__link { text-decoration: none; }
.juv .juv-feature__link { display: inline-flex; align-items: center; gap: 10px; color: var(--juv-link); font-family: var(--juv-display); font-size: 13px; font-weight: 600; text-decoration: none; }
.juv .juv-feature__link:hover { color: #9fd0ff; }

/* Contact info + form ---------------------------------------------------- */
.juv.juv-contact-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 40px; border-top: 1px solid var(--juv-line); }
.juv .juv-contact-info__item { padding: 20px 28px 24px; border-left: 1px solid var(--juv-line); }
.juv .juv-contact-info__item:first-child { border-left: 0; padding-left: 28px; }
.juv .juv-contact-info dt { margin: 0 0 12px; font-family: var(--juv-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--juv-muted); }
.juv .juv-contact-info dd { margin: 0; font-size: 15px; color: var(--juv-text); }
.juv .juv-contact-info dd a { text-decoration: none; }
.juv .juv-contact-info dd a:hover { color: var(--juv-link); }

.juv.juv-contact-form .juv-form-note,
.juv .juv-form-note { margin: 0 0 32px; padding-bottom: 14px; border-bottom: 1px solid var(--juv-line); color: var(--juv-muted); font-size: 12px; }
.juv .juv-cf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 4px; }
.juv .juv-cf__field { margin: 0 0 22px; }
.juv .juv-cf__field--wide { grid-column: 1 / -1; }
body .juv .juv-cf textarea { min-height: 160px; }
.juv .juv-cf__error { display: block; margin-top: 6px; color: var(--juv-bad); font-size: 13px; }
body .juv .juv-cf .has-error :is(input, select, textarea) { border-color: var(--juv-bad); }
.juv .juv-cf__consent { margin: 8px 0 28px; padding-left: 16px; }
body .juv .juv-cf__consent label.checkbox { display: inline-flex; align-items: flex-start; gap: 4px; margin: 0; font-family: var(--juv-body); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--juv-text); line-height: 1.5; }
.juv .juv-cf__consent input { margin-top: 3px; }
.juv .juv-cf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.juv .juv-cf__actions { display: flex; justify-content: flex-end; gap: 14px; padding-top: 24px; border-top: 1px solid var(--juv-line); }

/* [juv_legal] ------------------------------------------------------------ */
.juv.juv-legal { padding: 0 0 40px; }
body .juv.juv-legal .juv-legal__title { margin: 0; font-family: var(--juv-display); font-weight: 600; color: #fff; letter-spacing: -.02em; text-transform: none; }
body .juv.juv-legal--divider .juv-legal__title { padding: 0 0 26px; max-width: 760px; border-bottom: 1px solid var(--juv-line); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; }
body .juv.juv-legal--notice .juv-legal__title { font-size: clamp(38px, 4.4vw, 60px); line-height: 1; }
.juv.juv-legal .juv-eyebrow-bracket { margin-bottom: 26px; font-size: 10px; }
.juv.juv-legal .juv-legal__body { max-width: 760px; margin-top: 26px; font-size: 15px; line-height: 1.7; color: var(--juv-text); }
.juv.juv-legal--notice .juv-legal__body { max-width: 980px; margin-top: 20px; color: var(--juv-muted); font-size: 15px; }
.juv.juv-legal .juv-legal__body :is(h2, h3) { margin: 1.6em 0 .6em; font-family: var(--juv-display); font-weight: 600; color: #fff; }
.juv.juv-legal .juv-legal__body h2 { font-size: 22px; }
.juv.juv-legal .juv-legal__body h3 { font-size: 18px; }
.juv.juv-legal .juv-legal__body :is(ul, ol) { padding-left: 1.3em; margin: 0 0 1em; }
.juv.juv-legal .juv-legal__body a { color: var(--juv-link); }
.juv.juv-legal .juv-legal__action { margin: 22px 0 0; }

/* Radio "cards" for an existing application form inside [juv_form] -------- */
body .juv.juv-form-skin :is(.wpforms-field-radio li, .gchoice, .wpcf7-radio .wpcf7-list-item, .elementor-field-type-radio .elementor-field-option, .juv-choice):has(input[type="radio"]) {
	position: relative;
	display: block;
	margin: 0 0 12px;
	padding: 22px 22px 22px 52px;
	border: 1px solid var(--juv-line);
	border-radius: 6px;
	background: var(--juv-panel);
	cursor: pointer;
	transition: border-color .15s;
}
body .juv.juv-form-skin :is(.wpforms-field-radio li, .gchoice, .wpcf7-radio .wpcf7-list-item, .elementor-field-type-radio .elementor-field-option, .juv-choice):has(input[type="radio"]:checked) { border-color: var(--juv-primary); box-shadow: 0 0 0 1px var(--juv-primary) inset; }
body .juv.juv-form-skin :is(.wpforms-field-radio li, .gchoice, .wpcf7-radio .wpcf7-list-item, .elementor-field-type-radio .elementor-field-option, .juv-choice) input[type="radio"] { position: absolute; left: 22px; top: 26px; }
body .juv.juv-form-skin :is(.wpforms-field-radio li, .gchoice, .wpcf7-radio .wpcf7-list-item, .elementor-field-type-radio .elementor-field-option, .juv-choice) label { margin: 0; font-family: var(--juv-display); font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.juv.juv-auth { margin: 40px auto; min-height: 0; }
	.juv.juv-auth .juv-auth__panel { padding: 48px 32px; }
}
@media (max-width: 782px) {
	.juv.juv-hero .juv-hero__intro { font-size: 16px; }
	.juv.juv-auth { grid-template-columns: 1fr; margin: 24px auto; width: calc(100% - 12px); }
	.juv.juv-auth .juv-auth__art { min-height: 220px; border-right: 0; border-bottom: 1px solid #585858; }
	.juv.juv-auth .juv-auth__art:not(:has(img)) { display: none; }
	.juv.juv-auth .juv-auth__panel { padding: 36px 20px; }
	.juv.juv-features { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
	body .juv .juv-feature__title { margin-bottom: 14px; }
	.juv.juv-contact-info { grid-template-columns: minmax(0, 1fr); }
	.juv .juv-contact-info__item,
	.juv .juv-contact-info__item:first-child { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--juv-line); }
	.juv .juv-cf__grid { grid-template-columns: minmax(0, 1fr); }
	.juv .juv-cf__actions { flex-direction: column-reverse; }
	body .juv .juv-cf__actions .juv-btn { width: 100%; }
}

/* ======================================================================
 * [juv_catalog] — reader. Pages are laid out on a 1244 × 700 canvas and
 * scaled to fit by juv-catalog.js (.is-fixed). On phones, or without
 * JavaScript, pages flow at their natural height instead.
 * ==================================================================== */
.juv.juv-cat,
.juv.juv-editions { container: juvcat / inline-size; }
.juv.juv-cat {
	--juv-cat-bar: 112px;
	--juv-cat-foot: 40px;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: var(--juv-cat-h, 100vh);
	min-height: 640px;
	overflow: hidden;
	background: #000;
	color: var(--juv-text);
}
.juv.juv-cat:fullscreen { height: 100vh; }

/* App bar (also used on the editions page) */
.juv .juv-cat__bar {
	position: relative; z-index: 5;
	flex: none;
	display: grid;
	grid-template-columns: auto minmax(160px, 440px) auto;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	min-height: var(--juv-cat-bar);
	padding: 16px 32px;
	background: var(--juv-glass);
	border: 1px solid var(--juv-glass-line);
	border-top: 0;
	border-radius: 0 0 24px 24px;
	box-shadow: var(--juv-glass-shadow);
}
.juv .juv-cat__bar--editions { grid-template-columns: auto auto; }
.juv .juv-cat__brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.juv .juv-cat__back { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--juv-text); text-decoration: none; }
.juv .juv-cat__back:hover { background: rgba(255, 255, 255, .08); }
.juv .juv-cat__logo { display: block; width: auto; max-width: 128px; max-height: 80px; }
.juv .juv-cat__search { position: relative; display: flex; align-items: center; width: 100%; height: 44px; border: 1px solid var(--juv-field-line); border-radius: 6px; background: var(--juv-panel); }
.juv .juv-cat__search > .juv-icon { margin: 0 0 0 16px; color: var(--juv-muted); }
body .juv.juv-cat .juv-cat__search input { min-height: 42px !important; padding: 8px 14px 8px 10px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px !important; font-weight: 400 !important; }
.juv .juv-cat__search:focus-within { border-color: var(--juv-link); box-shadow: 0 0 0 3px rgba(107, 183, 255, .2); }
.juv .juv-cat__results {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
	max-height: 320px; overflow: auto;
	margin: 0; padding: 6px; list-style: none;
	border: 1px solid var(--juv-field-line); border-radius: 6px;
	background: var(--juv-panel); box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.juv .juv-cat__results li { margin: 0; padding: 9px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.juv .juv-cat__results li small { font-family: var(--juv-mono); font-size: 10.5px; color: var(--juv-muted); letter-spacing: .06em; }
.juv .juv-cat__results li:hover,
.juv .juv-cat__results li[aria-selected="true"] { background: var(--juv-info-bg); }
.juv .juv-cat__results li.is-empty { cursor: default; color: var(--juv-muted); background: none; }
.juv .juv-cat__actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.juv .juv-cat__lang { display: inline-flex; padding: 1px; border: 1px solid var(--juv-field-line); border-radius: 6px; background: var(--juv-panel); }
.juv .juv-cat__lang a { display: grid; place-items: center; min-width: 46px; height: 36px; padding: 0 12px; border-radius: 999px; color: var(--juv-muted); font-size: 16px; letter-spacing: 1px; text-decoration: none; }
.juv .juv-cat__lang a.is-active { background: var(--juv-info-bg); color: #c0e0ff; }
.juv .juv-cat__lang a:not(.is-active):hover { color: var(--juv-text); }
body .juv.juv a.juv-cat__link, body .juv.juv .juv-cat__lang a, body .juv.juv a.juv-edition, body .juv.juv .juv-cat__toc a { text-decoration: none; }
.juv .juv-cat__link { display: inline-flex; align-items: center; height: 44px; padding: 0 13px; border: 1px solid var(--juv-field-line); border-radius: 4px; color: var(--juv-link); font-size: 13px; text-decoration: none; white-space: nowrap; }
.juv .juv-cat__link:hover { border-color: var(--juv-link); background: rgba(107, 183, 255, .06); color: #9fd0ff; }

/* Stage */
.juv .juv-cat__stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 24px 98px 70px; }
.juv .juv-cat__frame { position: relative; width: 100%; max-width: 1244px; }
.juv .juv-cat__frame > .juv-corner { z-index: 3; }
.juv .juv-cat__viewport { position: relative; overflow: hidden; border-radius: 4px; }
.juv .juv-cat__nav {
	position: absolute; top: 50%; z-index: 4;
	display: grid; place-items: center;
	width: 52px; height: 52px; margin-top: -26px; padding: 0;
	border: 1px solid var(--juv-field-line); border-radius: 50%;
	background: #101319; color: #fff; cursor: pointer;
}
body .juv.juv-cat .juv-cat__nav { min-height: 0; }
.juv .juv-cat__nav:hover:not(:disabled) { border-color: var(--juv-link); }
.juv .juv-cat__nav:disabled { opacity: .35; cursor: default; }
.juv .juv-cat__nav--prev { left: 26px; }
.juv .juv-cat__nav--next { right: 26px; }
.juv .juv-cat__tools { position: absolute; right: 24px; bottom: 8px; z-index: 4; display: flex; align-items: center; gap: 0; padding: 5px; border: 1px solid var(--juv-glass-line); border-radius: 18px; background: var(--juv-glass); box-shadow: var(--juv-glass-shadow); }
body .juv.juv-cat .juv-cat__tools button { display: grid; place-items: center; min-width: 44px; min-height: 0; height: 44px; padding: 0 6px; border: 0; border-radius: 12px; background: transparent; color: var(--juv-text); font-family: var(--juv-body); font-size: 16px; font-weight: 400; letter-spacing: .6px; cursor: pointer; }
body .juv.juv-cat .juv-cat__tools button:hover { background: rgba(255, 255, 255, .08); }
body .juv.juv-cat .juv-cat__tools .juv-cat__zoomval { min-width: 54px; }
.juv .juv-cat__tools .juv-cat__fs { margin-left: 4px; border-left: 1px solid rgba(235, 243, 255, .15) !important; border-radius: 0 12px 12px 0 !important; }

/* Footer bar */
.juv .juv-cat__foot {
	flex: none; position: relative; z-index: 5;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 420px) minmax(0, 1fr); align-items: center; gap: 24px;
	height: var(--juv-cat-foot); padding: 0 32px;
	background: var(--juv-glass); border: 1px solid var(--juv-glass-line); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: var(--juv-glass-shadow);
	font-family: var(--juv-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.juv .juv-cat__label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.juv .juv-cat__progress { position: relative; height: 3px; border-radius: 3px; background: #22262e; }
.juv .juv-cat__progress > span { position: absolute; top: 0; left: 0; height: 100%; min-width: 6px; border-radius: 3px; background: #008cff; transition: left .25s; }
.juv .juv-cat__counter { text-align: right; color: #8e949e; white-space: nowrap; }

/* Pages: shared */
.juv .juv-cat__page { position: relative; background: #000; color: var(--juv-text); overflow: hidden; }
.juv .juv-cat__eyebrow { margin: 0; font-family: var(--juv-mono); font-size: 11px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; line-height: 1.6; }
body .juv.juv .juv-cat__h2 { margin: 0; font-family: var(--juv-display); font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--juv-text); text-transform: none; }
body .juv.juv .juv-cat__h2 a { color: inherit; font: inherit; letter-spacing: inherit; text-decoration: none; }
body .juv.juv .juv-cat__h2 a:hover { color: var(--juv-link); }
.juv .juv-cat__pnum { position: absolute; left: 64px; bottom: 92px; margin: 0; font-family: var(--juv-mono); font-size: 9.6px; font-weight: 500; letter-spacing: .1em; color: var(--juv-muted); }

/* Product page */
.juv .juv-cat__page--product { display: grid; grid-template-columns: 519px 494px; column-gap: 58px; padding: 72px 86px; align-items: start; }
body .juv.juv .juv-cat__copy .juv-cat__h2 { margin: 32px 0 0; }
.juv .juv-cat__specs { margin: 0; padding: 11px 12px; border: 1px solid var(--juv-field-line); font-family: var(--juv-mono); font-size: 10.8px; font-weight: 500; line-height: 1.6; }
.juv .juv-cat__pill { display: inline-block; margin: 25px 0 16px; padding: 4px 11px; border-radius: 30px; background: #112438; color: var(--juv-link); font-family: var(--juv-mono); font-size: 10.7px; font-weight: 500; line-height: 1.35; }
.juv .juv-cat__specs + .juv-cat__desc { margin-top: 24px; }
.juv .juv-cat__desc { font-size: 13.1px; line-height: 1.6; color: var(--juv-text); max-height: 380px; overflow: auto; scrollbar-width: thin; }
.juv .juv-cat__desc p { margin: 0 0 12px; }
.juv .juv-cat__desc a { color: var(--juv-text); }
.juv .juv-cat__desc details { margin: 0; }
.juv .juv-cat__desc summary { display: inline-block; padding: 11px 14px; color: var(--juv-link); font-size: 13px; cursor: pointer; list-style: none; }
.juv .juv-cat__desc summary::-webkit-details-marker { display: none; }
.juv .juv-cat__desc ul { margin: 6px 0 0; padding-left: 20px; list-style: none; }
.juv .juv-cat__desc li { margin: 0 0 4px; }
.juv .juv-cat__art { position: relative; height: 556px; border-radius: 4px; overflow: hidden; }
.juv .juv-cat__art img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.juv .juv-cat__art.is-empty { background: radial-gradient(120% 90% at 70% 30%, #1b222d 0%, #000 70%); border: 1px solid #22262e; }

/* Contents page */
.juv .juv-cat__page--contents { padding: 72px 83px; }
body .juv.juv .juv-cat__contents-head .juv-cat__h2 { margin: 22px 0 0; }
.juv .juv-cat__contents-head .juv-cat__eyebrow span { opacity: .8; }
.juv .juv-cat__lede { max-width: 592px; margin: 6px 0 0; font-size: 13.7px; line-height: 1.5; }
.juv .juv-cat__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 36px; column-gap: 44px; row-gap: 5px; margin: 20px 0 0; padding: 0; list-style: none; }
.juv .juv-cat__toc li { margin: 0; }
.juv .juv-cat__toc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; border-bottom: 1px solid #22262e; color: var(--juv-text); font-size: 12.5px; text-decoration: none; }
.juv .juv-cat__toc a span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.juv .juv-cat__toc a:hover { color: var(--juv-link); border-bottom-color: var(--juv-link); }
.juv .juv-cat__page--contents .juv-cat__pnum { left: 70px; bottom: 30px; }

/* Cover page */
.juv .juv-cat__page--cover { background: radial-gradient(70% 90% at 75% 40%, #10141b 0%, #000 70%); }
.juv .juv-cat__cover-rails { position: absolute; left: 78px; top: 84px; width: 1040px; height: 532px; border: 1px solid rgba(255, 255, 255, .376); }
.juv .juv-cat__cover-rails > .juv-corner { width: 15px; height: 15px; border-color: rgba(255, 255, 255, .85); }
.juv .juv-cat__cover-brand { position: absolute; left: 63px; top: 49px; display: flex; align-items: center; gap: 24px; z-index: 2; }
.juv .juv-cat__cover-logo { width: 143px; height: auto; max-height: 120px; object-fit: contain; }
.juv .juv-cat__cover-brand .juv-cat__eyebrow { opacity: .7; }
.juv .juv-cat__cover-copy { position: absolute; left: 63px; top: 229px; bottom: 32px; width: 360px; display: flex; flex-direction: column; align-items: flex-start; z-index: 2; }
.juv .juv-cat__version { display: inline-block; padding: 4px 10px; border: 1px solid rgba(214, 206, 206, .5); border-radius: 20px; font-family: var(--juv-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; }
body .juv .juv-cat__cover-title { margin: 18px 0 0; font-family: var(--juv-display); font-size: 44px; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; color: #fff; text-transform: none; }
.juv .juv-cat__copyright { margin-top: auto; opacity: .7; }
.juv .juv-cat__vials { position: absolute; inset: 0; pointer-events: none; }
.juv .juv-cat__vial { position: absolute; overflow: hidden; border: 1px solid rgba(255, 255, 255, .35); background: #000; }
.juv .juv-cat__vial img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; opacity: .92; }
.juv .juv-cat__vial--1 { left: 512px; top: -85px; width: 340px; height: 338px; border-top: 0; }
.juv .juv-cat__vial--2 { left: 478px; top: 116px; width: 289px; height: 361px; }
.juv .juv-cat__vial--3 { left: 762px; top: 82px; width: 300px; height: 360px; border-right: 0; }

/* Fixed (desktop) mode — set by JS */
.juv.juv-cat.is-paged .juv-cat__page:not(.is-active) { display: none; }
.juv.juv-cat.is-fixed .juv-cat__sizer { position: relative; overflow: hidden; }
.juv.juv-cat.is-fixed .juv-cat__zoom { position: absolute; left: 0; top: 0; width: 1244px; height: 700px; transform-origin: 0 0; }
.juv.juv-cat.is-fixed .juv-cat__page { position: absolute; inset: 0; width: 1244px; height: 700px; }
.juv.juv-cat.is-fixed.is-zoomed .juv-cat__viewport { overflow: auto; cursor: grab; }
.juv.juv-cat .juv-cat__page.is-entering { animation: juvCatIn .32s ease both; }
.juv.juv-cat .juv-cat__page.is-entering.from-left { animation-name: juvCatInLeft; }
@keyframes juvCatIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes juvCatInLeft { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .juv.juv-cat .juv-cat__page.is-entering { animation: none; } }

/* Flow mode: phones and no-JS. Pages stack at natural height. */
.juv.juv-cat:not(.is-fixed) { height: auto; min-height: 0; overflow: visible; }
.juv.juv-cat:not(.is-fixed) .juv-cat__stage { padding: 16px 16px 76px; align-items: flex-start; }
.juv.juv-cat:not(.is-fixed) .juv-cat__page { margin: 0 0 16px; border: 1px solid #22262e; }
.juv.juv-cat.is-paged:not(.is-fixed) .juv-cat__page { margin: 0; }
.juv.juv-cat:not(.is-fixed) .juv-cat__page--product { grid-template-columns: minmax(0, 1fr); row-gap: 24px; padding: 28px 20px 44px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__art { height: auto; aspect-ratio: 4 / 3; }
.juv.juv-cat:not(.is-fixed) .juv-cat__desc { max-height: none; }
.juv.juv-cat:not(.is-fixed) .juv-cat__pnum { left: 20px; bottom: 16px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__page--contents { padding: 28px 20px 48px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__toc { grid-template-columns: minmax(0, 1fr); }
.juv.juv-cat:not(.is-fixed) .juv-cat__page--cover { min-height: 420px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__cover-rails { left: 16px; top: 16px; right: 16px; bottom: 16px; width: auto; height: auto; }
.juv.juv-cat:not(.is-fixed) .juv-cat__cover-brand { left: 20px; top: 24px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__cover-copy { left: 20px; top: auto; bottom: 24px; width: auto; }
.juv.juv-cat:not(.is-fixed) .juv-cat__copyright { margin-top: 24px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__vials { display: none; }
.juv.juv-cat:not(.is-fixed) .juv-cat__tools { display: none; }
.juv.juv-cat:not(.is-fixed) .juv-cat__nav { top: auto; bottom: 14px; margin: 0; width: 44px; height: 44px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__nav--prev { left: 16px; }
.juv.juv-cat:not(.is-fixed) .juv-cat__nav--next { right: 16px; }
.juv.juv-cat:not(.is-paged) .juv-cat__nav { display: none; }

@container juvcat (max-width: 1080px) {
	.juv .juv-cat__bar { gap: 12px; padding: 14px 20px; }
	.juv .juv-cat__actions { gap: 10px; }
	.juv .juv-cat__logo { max-width: 96px; max-height: 56px; }
}
@container juvcat (max-width: 860px) {
	.juv .juv-cat__bar { grid-template-columns: auto minmax(0, 1fr); border-radius: 0 0 18px 18px; }
	.juv .juv-cat__bar .juv-cat__search { grid-column: 1 / -1; grid-row: 2; }
	.juv .juv-cat__bar--editions { grid-template-columns: auto minmax(0, 1fr); }
}
@container juvcat (max-width: 600px) {
	.juv .juv-cat__actions { gap: 8px; flex-wrap: wrap; }
	.juv .juv-cat__link { height: 38px; padding: 0 10px; font-size: 12px; }
	.juv .juv-cat__lang a { min-width: 40px; height: 32px; font-size: 14px; }
	.juv .juv-cat__foot { grid-template-columns: minmax(0, 1fr) auto; padding: 0 16px; border-radius: 16px 16px 0 0; }
	.juv .juv-cat__progress { display: none; }
}

/* ======================================================================
 * [juv_catalog_editions]
 * ==================================================================== */
.juv.juv-editions { background: radial-gradient(80% 60% at 50% 0%, #0d1118 0%, #000 70%); }
.juv .juv-editions__body { max-width: 900px; margin: 0 auto; padding: 104px 20px 96px; text-align: center; }
.juv .juv-editions__lang { margin: 0 auto 30px; }
.juv .juv-editions__kicker { margin: 0 0 18px; font-family: var(--juv-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
body .juv .juv-editions__title { margin: 0 0 12px; font-family: var(--juv-display); font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; color: #fff; text-transform: none; }
.juv .juv-editions__text { max-width: 440px; margin: 0 auto 72px; font-size: 15px; line-height: 1.55; color: #d9dde5; }
.juv .juv-editions__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 428px)); justify-content: center; gap: 24px; text-align: left; }
.juv .juv-edition { display: flex; flex-direction: column; padding: 23px; border: 1px solid #5a6474; border-radius: 8px; background: #14161c; color: var(--juv-text); text-decoration: none; transition: border-color .15s, transform .15s; }
a.juv-edition:hover { border-color: var(--juv-link); transform: translateY(-2px); }
.juv .juv-edition__cover { position: relative; display: block; height: 215px; margin: 0 0 26px; overflow: hidden; border-radius: 6px; background: #000; }
.juv .juv-edition__cover > .juv-corner { width: 14px; height: 14px; }
.juv .juv-edition__cover > .juv-corner--tl { top: 26px; left: 25px; }
.juv .juv-edition__cover > .juv-corner--tr { top: 26px; right: 25px; }
.juv .juv-edition__cover > .juv-corner--bl { bottom: 26px; left: 25px; }
.juv .juv-edition__cover > .juv-corner--br { bottom: 26px; right: 25px; }
.juv .juv-edition__brand { position: absolute; left: 46px; top: 48px; display: flex; align-items: center; gap: 10px; font-family: var(--juv-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.juv .juv-edition__logo { width: 28px; height: auto; }
.juv .juv-edition__frame { position: absolute; border: 1px solid rgba(255, 255, 255, .7); }
.juv .juv-edition__frame--1 { left: 214px; top: -2px; width: 108px; height: 104px; }
.juv .juv-edition__frame--2 { left: 203px; top: 64px; width: 92px; height: 110px; }
.juv .juv-edition__ver { position: absolute; left: 47px; top: 86px; width: 18px; height: 9px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 8px; }
.juv .juv-edition__ctitle { position: absolute; left: 47px; top: 102px; font-family: var(--juv-display); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.03em; color: #fff; }
.juv .juv-edition__copy { position: absolute; left: 47px; bottom: 26px; font-family: var(--juv-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.juv .juv-edition__kicker { font-family: var(--juv-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #0a84ff; }
.juv .juv-edition__title { margin: 8px 0 4px; font-family: var(--juv-display); font-size: 26px; font-weight: 600; line-height: 1.2; color: #fff; }
.juv .juv-edition.is-current .juv-edition__title { color: #fff; }
a.juv-edition:hover .juv-edition__title { color: var(--juv-link); }
.juv .juv-edition__text { font-size: 14px; color: var(--juv-muted); }
.juv .juv-edition__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--juv-line); font-family: var(--juv-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--juv-muted); }
.juv .juv-edition__read { display: inline-flex; align-items: center; gap: 2px; font-family: var(--juv-display); font-size: 13px; font-weight: 700; letter-spacing: 0; color: #0a84ff; }
@media (max-width: 782px) {
	.juv .juv-editions__body { padding: 56px 16px 64px; }
	.juv .juv-editions__text { margin-bottom: 40px; }
	.juv .juv-editions__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================================
 * [juv_coa] — certificates of analysis
 * ==================================================================== */
.juv.juv-coa { background: #000; }
.juv .juv-coa__hero { position: relative; background: linear-gradient(90deg, #000 0%, #1c2028 65%, #343944 100%); }
.juv .juv-coa__hero.has-image::before { content: ""; position: absolute; inset: 0; background: var(--juv-coa-img) center / cover no-repeat; opacity: .5; }
.juv .juv-coa__rails { position: relative; max-width: var(--juv-max); margin: 0 auto; border-inline: 1px solid var(--juv-line); background: #000; }
.juv .juv-coa__grid { display: grid; grid-template-columns: minmax(0, 1fr) 431px; gap: 70px; align-items: center; min-height: 720px; padding: 82px 40px; }
.juv .juv-coa__copy .juv-eyebrow-bracket { margin-bottom: 42px; font-size: 11px; letter-spacing: .13em; }
body .juv.juv .juv-coa__title { margin: 0 0 34px; font-family: var(--juv-display); font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #fff; text-transform: none; }
.juv .juv-coa__text { max-width: 510px; margin: 0; font-size: 16px; font-weight: 500; line-height: 1.2; color: #f7f0f0; }
.juv .juv-coa__frame { position: relative; padding: 28px; min-height: 448px; }
.juv .juv-coa__frame > .juv-corner { width: 22px; height: 22px; border-width: 0; border-color: #fff; }
.juv .juv-coa__frame > .juv-corner--tl { border-top-width: 1px; border-left-width: 1px; }
.juv .juv-coa__frame > .juv-corner--tr { border-top-width: 1px; border-right-width: 1px; }
.juv .juv-coa__frame > .juv-corner--bl { border-bottom-width: 1px; border-left-width: 1px; }
.juv .juv-coa__frame > .juv-corner--br { border-bottom-width: 1px; border-right-width: 1px; }
.juv .juv-coa__code,
.juv .juv-coa__serial { position: absolute; font-family: var(--juv-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; color: #fff; }
.juv .juv-coa__code { left: 36px; top: 12px; }
.juv .juv-coa__serial { right: 20px; bottom: 8px; }
.juv .juv-coa__card { display: flex; align-items: center; min-height: 392px; padding: 44px; border-radius: 3px; background: linear-gradient(rgba(8, 10, 16, .65), rgba(8, 10, 16, .65)), radial-gradient(120% 100% at 80% 0%, #1b222d 0%, #080a10 70%); background-color: #080a10; }
.juv .juv-coa__form,
.juv .juv-coa__result { width: 100%; }
body .juv.juv .juv-coa__card-title { margin: 0 0 28px; font-family: var(--juv-display); font-size: 17px; font-weight: 600; line-height: 1.18; color: #fff; letter-spacing: 0; text-transform: none; }
.juv .juv-coa__field { margin: 0 0 16px; }
.juv .juv-coa__error { display: block; margin-top: 8px; color: var(--juv-bad); font-size: 13px; line-height: 1.4; }
body .juv.juv .juv-coa__field.has-error input { border-color: var(--juv-bad); }
.juv .juv-coa__ok { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 4px 12px; border: 1px solid rgba(71, 233, 155, .35); border-radius: 30px; background: var(--juv-ok-bg); color: var(--juv-ok-text); font-family: var(--juv-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.juv .juv-coa__meta { margin: 0 0 22px; }
.juv .juv-coa__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--juv-line); }
.juv .juv-coa__meta dt { font-family: var(--juv-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--juv-muted); }
.juv .juv-coa__meta dd { margin: 0; font-size: 14px; text-align: right; }
body .juv.juv .juv-coa__again { display: inline-block; margin-top: 14px; color: var(--juv-link); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.juv .juv-coa__info .juv-coa__rails { min-height: 332px; }
.juv .juv-coa__info-inner { max-width: 800px; padding: 72px 40px 80px; }
.juv .juv-coa__info .juv-eyebrow-bracket { margin-bottom: 24px; font-size: 11px; letter-spacing: .13em; }
body .juv.juv .juv-coa__info-title { margin: 0 0 20px; font-family: var(--juv-display); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--juv-text); text-transform: none; letter-spacing: 0; }
.juv .juv-coa__info-text { max-width: 722px; margin: 0; font-size: 16px; line-height: 1.5; }
body .juv.juv .juv-coa__info-text a { color: var(--juv-link); }
@media (max-width: 900px) {
	.juv .juv-coa__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; padding: 56px 20px; }
	.juv .juv-coa__frame { min-height: 0; padding: 22px 14px; }
	.juv .juv-coa__card { min-height: 0; padding: 32px 20px; }
	.juv .juv-coa__info-inner { padding: 48px 20px 56px; }
}
