/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4
   DoctorG Advent calendar — scoped to #doctorg-avvento / body.doctorg-avvento-active. */

body.doctorg-avvento-active {
	--dg-burgundy: #6e1218;
	--dg-burgundy-deep: #3a0c10;
	--dg-burgundy-soft: #8d2a30;
	--dg-night: #22080b;
	--dg-forest: #1f3a2c;
	--dg-cream: #f4eee7;
	--dg-ivory: #fbf7f2;
	--dg-gold: #c4a574;
	--dg-gold-soft: #e2d2b3;
	--dg-champagne: #f0e0c0;
	--dg-ink: #241618;
	--dg-muted: #7a6b66;
	--dg-door-gap: clamp(0.7rem, 1.8vw, 1.2rem);
	--dg-serif: "Times New Roman", Times, "Liberation Serif", serif;
	--dg-sans: Barlow, "Helvetica Neue", Arial, sans-serif;
	color: var(--dg-ink);
}

#doctorg-avvento {
	--dg-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='%23c4a574' fill-opacity='.08'%3E%3Ccircle cx='6' cy='10' r='.7'/%3E%3Ccircle cx='24' cy='22' r='.5'/%3E%3Ccircle cx='48' cy='8' r='.8'/%3E%3Ccircle cx='62' cy='30' r='.5'/%3E%3Ccircle cx='16' cy='46' r='.6'/%3E%3Ccircle cx='38' cy='58' r='.5'/%3E%3Ccircle cx='58' cy='50' r='.7'/%3E%3C/g%3E%3C/svg%3E");
	position: relative;
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: none !important;
	overflow: visible !important;
	background:
		radial-gradient(ellipse 70% 28% at 50% 0%, rgba(196, 165, 116, 0.18), transparent 62%),
		radial-gradient(ellipse 50% 40% at 100% 100%, rgba(110, 18, 24, 0.1), transparent 58%),
		var(--dg-paper),
		linear-gradient(180deg, #f8f2ea 0%, #efe4d6 48%, #e8d8cc 100%);
	padding: 2.25rem clamp(1rem, 4vw, 2.75rem) 2.6rem;
	max-width: none;
}

#doctorg-avvento .dg-avvento-deco {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

#doctorg-avvento .dg-avvento-deco__c {
	position: absolute;
	width: 72px;
	height: 72px;
	fill: none;
	stroke: var(--dg-gold);
	stroke-width: 1.15;
	opacity: 0.72;
}

#doctorg-avvento .dg-avvento-deco__c circle {
	fill: var(--dg-gold);
	stroke: none;
}

#doctorg-avvento .dg-avvento-deco__c--tl {
	top: 18px;
	left: 18px;
}

#doctorg-avvento .dg-avvento-deco__c--tr {
	top: 18px;
	right: 18px;
}

#doctorg-avvento .dg-avvento-deco__c--bl {
	bottom: 18px;
	left: 18px;
}

#doctorg-avvento .dg-avvento-deco__c--br {
	bottom: 18px;
	right: 18px;
}

#doctorg-avvento .dg-avvento-deco__snow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.85;
	animation: dg-avvento-drift 22s ease-in-out infinite alternate;
}

@keyframes dg-avvento-drift {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(0, 10px, 0);
	}
}

@keyframes dg-avvento-fall {
	from {
		transform: translate3d(0, -8%, 0);
		opacity: 0;
	}
	12% {
		opacity: 0.45;
	}
	to {
		transform: translate3d(12px, 108%, 0);
		opacity: 0;
	}
}

#doctorg-avvento .dg-avvento-deco__flakes span {
	position: absolute;
	top: -6%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0%, var(--dg-champagne) 55%, transparent 72%);
	opacity: 0.4;
	animation: dg-avvento-fall 18s linear infinite;
}

#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(1) { left: 8%; animation-duration: 19s; animation-delay: -2s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(2) { left: 16%; width: 2px; height: 2px; animation-duration: 15s; animation-delay: -8s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(3) { left: 28%; animation-duration: 22s; animation-delay: -4s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(4) { left: 41%; width: 2px; height: 2px; animation-duration: 17s; animation-delay: -11s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(5) { left: 53%; animation-duration: 21s; animation-delay: -1s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(6) { left: 62%; width: 2px; height: 2px; animation-duration: 16s; animation-delay: -9s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(7) { left: 71%; animation-duration: 20s; animation-delay: -6s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(8) { left: 79%; width: 2px; height: 2px; animation-duration: 14s; animation-delay: -12s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(9) { left: 86%; animation-duration: 23s; animation-delay: -3s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(10) { left: 93%; width: 2px; height: 2px; animation-duration: 18s; animation-delay: -7s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(11) { left: 34%; animation-duration: 24s; animation-delay: -14s; }
#doctorg-avvento .dg-avvento-deco__flakes span:nth-child(12) { left: 48%; width: 2px; height: 2px; animation-duration: 13s; animation-delay: -5s; }

#doctorg-avvento .doctorg-avvento__intro {
	position: relative;
	z-index: 2;
	max-width: 48rem;
	margin: 0 auto 2.1rem;
	padding: 0 0.35rem;
	text-align: center;
}

#doctorg-avvento .doctorg-avvento__eyebrow {
	display: block;
	margin: 0 0 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--dg-burgundy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='8'%3E%3Cpath fill='none' stroke='%23c4a574' stroke-width='.8' d='M0 4 H62'/%3E%3Cpath fill='%23c4a574' d='M80 1.2 L83.2 4 L80 6.8 L76.8 4 Z'/%3E%3Cpath fill='none' stroke='%23c4a574' stroke-width='.8' d='M98 4 H160'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 1.55em;
	padding-bottom: 1.15rem;
}

#doctorg-avvento .doctorg-avvento__title {
	margin: 0 0 0.85rem;
	font-family: var(--dg-serif);
	font-size: clamp(1.55rem, 2.8vw, 2.1rem);
	font-weight: 500;
	font-style: normal;
	line-height: 1.12;
	color: var(--dg-ink);
	letter-spacing: -0.03em;
}

#doctorg-avvento .doctorg-avvento__lead {
	margin: 0 auto;
	max-width: 36rem;
	font-size: clamp(0.86rem, 2.2vw, 0.94rem);
	line-height: 1.55;
	color: var(--dg-muted);
	text-wrap: pretty;
}

#doctorg-avvento > .e-con-inner {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: none !important;
	overflow: visible !important;
}

#doctorg-avvento > .e-con-inner > .elementor-element {
	margin-bottom: 8px;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
}

#doctorg-avvento > .e-con-inner > .elementor-element:last-child {
	margin-bottom: 0;
}

#doctorg-avvento .elementor-widget-container,
#doctorg-avvento .elementor-shortcode {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
}

#doctorg-avvento .doctorg-avvento__note {
	position: relative;
	z-index: auto;
	margin: 1.75rem auto 0;
	max-width: 34rem;
	padding: 0 0.5rem;
	text-align: center;
	font-size: 0.92rem;
	letter-spacing: 0.01em;
	line-height: 1.5;
	text-transform: none;
	color: var(--dg-muted);
	text-wrap: pretty;
}

#doctorg-avvento .doctorg-avvento__note::before {
	content: "";
	display: block;
	width: 72px;
	height: 10px;
	margin: 0 auto 0.65rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='10'%3E%3Cpath fill='none' stroke='%23c4a574' stroke-opacity='.7' d='M0 5 H28'/%3E%3Ccircle cx='36' cy='5' r='1.4' fill='%23c4a574'/%3E%3Cpath fill='none' stroke='%23c4a574' stroke-opacity='.7' d='M44 5 H72'/%3E%3C/svg%3E") center / contain no-repeat;
}

#doctorg-avvento > .wp-block-heading,
#doctorg-avvento > p,
#doctorg-avvento .elementor-shortcode > .wp-block-heading,
#doctorg-avvento .elementor-shortcode > p,
body.doctorg-avvento-active .elementor-shortcode > .wp-block-heading,
body.doctorg-avvento-active .elementor-shortcode > p {
	display: none !important;
}

#doctorg-avvento .superac {
	--dg-damask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='168' viewBox='0 0 168 168'%3E%3Cg fill='none' stroke='%23D8B88A' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(38 32)' stroke-width='.7' stroke-opacity='.22'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3Cpath d='M-2-7.2 0-9.4 2-7.2M-2 7.2 0 9.4 2 7.2M-7.2-2-9.4 0-7.2 2M7.2-2 9.4 0 7.2 2M-5.9-5.2-7.6-7.6-5.2-5.9M5.9 5.2 7.6 7.6 5.2 5.9M-5.9 5.2-7.6 7.6-5.2 5.9M5.9-5.2 7.6-7.6 5.2-5.9'/%3E%3Cpath d='M-1.6-4.2H1.6M-1.6 4.2H1.6M-4.2-1.6V1.6M4.2-1.6V1.6'/%3E%3C/g%3E%3Cg transform='translate(122 58) scale(.78)' stroke-width='.75' stroke-opacity='.18'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3Cpath d='M-2-7.2 0-9.4 2-7.2M-2 7.2 0 9.4 2 7.2M-7.2-2-9.4 0-7.2 2M7.2-2 9.4 0 7.2 2M-5.9-5.2-7.6-7.6-5.2-5.9M5.9 5.2 7.6 7.6 5.2 5.9M-5.9 5.2-7.6 7.6-5.2 5.9M5.9-5.2 7.6-7.6 5.2-5.9'/%3E%3C/g%3E%3Cg transform='translate(70 124) scale(.52)' stroke-width='.85' stroke-opacity='.2'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3Cpath d='M-2-7.2 0-9.4 2-7.2M-2 7.2 0 9.4 2 7.2M-7.2-2-9.4 0-7.2 2M7.2-2 9.4 0 7.2 2'/%3E%3C/g%3E%3Cg transform='translate(148 138) scale(.64)' stroke-width='.8' stroke-opacity='.17'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3Cpath d='M-2-7.2 0-9.4 2-7.2M-2 7.2 0 9.4 2 7.2M-7.2-2-9.4 0-7.2 2M7.2-2 9.4 0 7.2 2'/%3E%3C/g%3E%3Cg transform='translate(18 96) scale(.4)' stroke-width='.9' stroke-opacity='.2'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3Cpath d='M-2-7.2 0-9.4 2-7.2M-2 7.2 0 9.4 2 7.2M-7.2-2-9.4 0-7.2 2M7.2-2 9.4 0 7.2 2'/%3E%3C/g%3E%3Cg transform='translate(96 16) scale(.36)' stroke-width='.95' stroke-opacity='.19'%3E%3Cpath d='M0-11V11M-11 0H11M-7.8-7.8 7.8 7.8M-7.8 7.8 7.8-7.8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	position: relative;
	z-index: 2;
	background-image:
		var(--dg-damask),
		radial-gradient(70% 42% at 50% -8%, rgba(240, 224, 192, 0.22), transparent 52%),
		radial-gradient(80% 50% at 50% 0%, rgba(141, 42, 48, 0.32), transparent 58%),
		linear-gradient(180deg, #64181e 0%, var(--dg-burgundy-deep) 62%, var(--dg-night) 100%) !important;
	background-size: 168px 168px, auto, auto, auto;
	background-color: var(--dg-burgundy-deep) !important;
	width: 100%;
	max-width: 70rem;
	margin-inline: auto;
	border-radius: 4px;
	padding: clamp(1.55rem, 3.6vw, 2.5rem) !important;
	box-shadow:
		0 0 0 1px rgba(196, 165, 116, 0.62),
		0 0 0 9px rgba(34, 8, 11, 0.42),
		0 0 48px rgba(196, 165, 116, 0.12),
		0 32px 64px rgba(36, 22, 24, 0.34);
	overflow: visible;
}

#doctorg-avvento .superac::before {
	display: block !important;
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(196, 165, 116, 0.28);
	pointer-events: none;
	z-index: 0;
}

#doctorg-avvento .superac::after {
	content: "";
	position: absolute;
	top: 14px;
	left: 50%;
	width: 112px;
	height: 14px;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='14'%3E%3Cpath fill='none' stroke='%23c4a574' stroke-opacity='.55' d='M0 7 H44'/%3E%3Cpath fill='%23c4a574' fill-opacity='.7' d='M56 2.2 L59.4 7 L56 11.8 L52.6 7 Z'/%3E%3Cpath fill='none' stroke='%23c4a574' stroke-opacity='.55' d='M68 7 H112'/%3E%3C/svg%3E") center / contain no-repeat;
}

#doctorg-avvento .superac.is-layout-grid,
#doctorg-avvento .wp-block-super-advent-calendar-advent-calendar.is-layout-grid {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
	grid-auto-flow: row dense !important;
	gap: var(--dg-door-gap) !important;
	align-items: start;
	justify-items: stretch;
	height: auto !important;
	min-height: 0 !important;
	position: relative;
	z-index: 2;
}

#doctorg-avvento .superac > .superac-dialog-container {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
}

#doctorg-avvento .superac-day {
	width: auto !important;
	min-width: 0 !important;
	min-height: auto;
	height: auto;
	aspect-ratio: 1 / 1 !important;
}

#doctorg-avvento .superac-day:nth-child(1 of .superac-day) {
	grid-column: 1 / span 4 !important;
}

#doctorg-avvento .superac-day:nth-child(2 of .superac-day) {
	grid-column: 5 / span 4 !important;
}

#doctorg-avvento .superac-day:nth-child(3 of .superac-day) {
	grid-column: 9 / span 4 !important;
}

#doctorg-avvento .superac-card {
	border-radius: 3px 11px 11px 3px;
	padding: 1rem;
	overflow: hidden;
}

#doctorg-avvento .superac-card--front {
	background:
		linear-gradient(118deg, rgba(255, 244, 224, 0.2) 0%, transparent 26%, transparent 68%, rgba(0, 0, 0, 0.16) 100%),
		linear-gradient(180deg, rgba(255, 236, 214, 0.1), transparent 32%),
		repeating-linear-gradient(
			135deg,
			rgba(255, 245, 230, 0.05) 0 5px,
			transparent 5px 13px
		),
		linear-gradient(165deg, #9a343b, var(--dg-burgundy) 52%, #4c1015) !important;
	color: var(--dg-ivory) !important;
	border: 1px solid var(--dg-gold);
	box-shadow:
		3px 0 0 rgba(31, 58, 44, 0.38),
		inset 12px 0 16px rgba(255, 236, 214, 0.1),
		inset -1px 0 0 rgba(0, 0, 0, 0.32),
		0 16px 24px rgba(36, 22, 24, 0.34);
}

#doctorg-avvento .superac-card--front::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 12px;
	width: 13px;
	height: 13px;
	margin-top: -6px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, #fff8ea, var(--dg-gold) 46%, #7a5a2e 78%);
	box-shadow:
		0 0 0 3px rgba(34, 8, 11, 0.28),
		0 0 0 4px rgba(196, 165, 116, 0.55),
		0 2px 3px rgba(36, 22, 24, 0.45);
	z-index: 2;
	pointer-events: none;
}

#doctorg-avvento .superac-card--front::after {
	content: "";
	position: absolute;
	inset: 10px 22px 10px 10px;
	border: 1px solid rgba(196, 165, 116, 0.48);
	box-shadow:
		inset 0 0 0 5px rgba(58, 12, 16, 0.14),
		inset 0 0 28px rgba(240, 224, 192, 0.08);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c4a574' stroke-opacity='.45' stroke-width='1'%3E%3Cpath d='M8 28 V8 H28'/%3E%3Cpath d='M112 28 V8 H92'/%3E%3Cpath d='M8 92 V112 H28'/%3E%3Cpath d='M112 92 V112 H92'/%3E%3C/g%3E%3Ccircle cx='60' cy='14' r='1.2' fill='%23c4a574' fill-opacity='.55'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

#doctorg-avvento .superac-card--front .superac-card-title {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding-right: 10px;
	font-family: var(--dg-serif);
	font-size: clamp(1.2rem, 2.5vw, 1.85rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-shadow: 0 1px 0 rgba(36, 22, 24, 0.4);
}

#doctorg-avvento .superac-card--back {
	background:
		radial-gradient(90% 70% at 50% 18%, #fffdf8 0%, #f3e6d4 58%, #e6d3bc 100%) !important;
	color: var(--dg-burgundy) !important;
	border: 1px solid var(--dg-gold);
	box-shadow:
		inset 0 0 0 7px rgba(196, 165, 116, 0.18),
		inset 0 0 42px rgba(58, 12, 16, 0.16);
}

#doctorg-avvento .superac-card--back .superac-card-title:empty {
	display: none;
}

#doctorg-avvento .superac-card--back .superac-card-content {
	position: relative;
	z-index: 1;
	max-width: 11em;
	padding: 0 0.4rem;
	font-family: var(--dg-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.45;
	color: var(--dg-burgundy);
}

#doctorg-avvento .superac-card--back .superac-card-content::before {
	content: "";
	display: block;
	width: 28px;
	height: 8px;
	margin: 0 auto 0.55rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8'%3E%3Cpath fill='none' stroke='%23c4a574' d='M0 4 H10'/%3E%3Cpath fill='%23c4a574' d='M14 1.4 L16.2 4 L14 6.6 L11.8 4 Z'/%3E%3Cpath fill='none' stroke='%23c4a574' d='M18 4 H28'/%3E%3C/svg%3E") center / contain no-repeat;
}

#doctorg-avvento .superac-day:not(.is-unlocked) {
	cursor: default;
}

#doctorg-avvento .superac-day:not(.is-unlocked) .superac-card--front {
	filter: saturate(0.82) brightness(0.78);
	box-shadow:
		3px 0 0 rgba(31, 58, 44, 0.22),
		inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

#doctorg-avvento .superac-day:not(.is-unlocked) .superac-card--front::before {
	opacity: 0.45;
}

#doctorg-avvento .superac-day.is-unlocked:not(.is-open) {
	cursor: pointer;
}

#doctorg-avvento .superac-day.is-unlocked:not(.is-open) .superac-card--front {
	filter: brightness(1.04);
	box-shadow:
		3px 0 0 rgba(31, 58, 44, 0.4),
		inset 10px 0 14px rgba(255, 236, 214, 0.14),
		0 16px 26px rgba(36, 22, 24, 0.36);
}

#doctorg-avvento .superac-day.is-unlocked:not(.is-open):hover .superac-card--front {
	filter: brightness(1.1);
}

#doctorg-avvento .superac-day.is-unlocked:not(.is-open):focus-visible {
	outline: 2px solid var(--dg-gold);
	outline-offset: 4px;
}

#doctorg-avvento .superac-day.is-open .superac-card--back .superac-card-title {
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dg-burgundy);
}

body.doctorg-avvento-active .superac-dialog-overlay {
	background: rgba(22, 8, 10, 0.82) !important;
	position: fixed !important;
	inset: 0 !important;
}

body.doctorg-avvento-active .superac-dialog-container {
	position: fixed !important;
	inset: 0 !important;
	z-index: 100000;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
	width: 100vw !important;
	height: 100dvh !important;
	max-width: none !important;
	max-height: none !important;
}

body.doctorg-avvento-active .superac-dialog-container[aria-hidden="true"] {
	display: none !important;
}

#doctorg-avvento .superac-day.is-open .superac-card--front {
	pointer-events: none;
}

body.doctorg-avvento-active .superac-dialog-content,
#doctorg-avvento .superac-dialog-content {
	position: relative;
	z-index: 1;
	width: min(30rem, calc(100vw - 2rem)) !important;
	max-width: 30rem !important;
	max-height: min(90vh, 44rem) !important;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1.45rem 1.55rem 1.7rem !important;
	background:
		radial-gradient(90% 40% at 50% 0%, rgba(196, 165, 116, 0.16), transparent 48%),
		linear-gradient(180deg, #fffdf8 0%, var(--dg-ivory) 100%) !important;
	color: var(--dg-ink) !important;
	border: 1px solid var(--dg-gold) !important;
	border-radius: 2px !important;
	box-shadow:
		0 0 0 1px rgba(251, 247, 242, 0.4),
		0 0 0 8px rgba(34, 8, 11, 0.18),
		0 32px 80px rgba(22, 8, 10, 0.45) !important;
	font-size: 1rem !important;
	line-height: 1.55 !important;
	font-family: var(--dg-sans) !important;
}

body.doctorg-avvento-active .superac-dialog-top-bar {
	margin: -0.35rem -0.35rem 0.35rem auto;
}

body.doctorg-avvento-active .superac-dialog-top-bar .superac-dialog-button {
	width: 2.1rem;
	height: 2.1rem;
	color: var(--dg-burgundy) !important;
	background: transparent !important;
	opacity: 0.7;
}

body.doctorg-avvento-active .superac-dialog-top-bar .superac-dialog-button:hover,
body.doctorg-avvento-active .superac-dialog-top-bar .superac-dialog-button:focus-visible {
	opacity: 1;
}

body.doctorg-avvento-active .dg-avvento-modal__media {
	margin: 0 0 0.15rem;
	width: min(11.5rem, 58%);
	padding: 0.45rem;
	background:
		linear-gradient(180deg, #fffdf8, #f3e6d6);
	border: 1px solid var(--dg-gold);
	box-shadow:
		0 0 0 4px rgba(196, 165, 116, 0.12),
		0 10px 22px rgba(36, 22, 24, 0.12);
}

body.doctorg-avvento-active .dg-avvento-modal__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--dg-ivory);
}

body.doctorg-avvento-active .dg-avvento-modal__label,
body.doctorg-avvento-active .superac-dialog-content .dg-avvento-modal__label {
	margin: 0 0 0.45rem;
	font-family: var(--dg-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dg-gold);
	text-align: center;
}

body.doctorg-avvento-active .superac-dialog-content:has(.dg-avvento-modal__title) .superac-dialog-title {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.doctorg-avvento-active .superac-dialog-title,
#doctorg-avvento .superac-dialog-title,
body.doctorg-avvento-active .superac-dialog-content .superac-dialog-title,
body.doctorg-avvento-active .dg-avvento-modal__title {
	margin: 0 0 0.85rem !important;
	font-family: var(--dg-serif) !important;
	font-style: normal !important;
	font-weight: 500 !important;
	font-size: clamp(1.45rem, 2.6vw, 1.9rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	color: var(--dg-burgundy) !important;
	text-align: center;
}

body.doctorg-avvento-active .superac-dialog-body,
#doctorg-avvento .superac-dialog-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	text-align: center;
}

body.doctorg-avvento-active .superac-dialog-body p,
body.doctorg-avvento-active .dg-avvento-modal__desc {
	margin: 0;
	max-width: 22rem;
	color: var(--dg-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

body.doctorg-avvento-active .dg-avvento-modal__price,
body.doctorg-avvento-active .superac-dialog-body .dg-avvento-modal__price {
	margin: 0.15rem 0 0;
	font-family: var(--dg-serif);
	font-size: 1.45rem;
	letter-spacing: 0.04em;
	color: var(--dg-burgundy-deep);
}

body.doctorg-avvento-active .superac-dialog-body a,
#doctorg-avvento .superac-dialog-body a,
body.doctorg-avvento-active .dg-avvento-modal__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.7rem 1.4rem;
	margin-top: 0.35rem;
	background: var(--dg-burgundy);
	color: var(--dg-ivory) !important;
	border: 1px solid var(--dg-burgundy-deep);
	text-decoration: none !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
}

body.doctorg-avvento-active .superac-dialog-body a:hover,
body.doctorg-avvento-active .dg-avvento-modal__cta:hover {
	background: var(--dg-burgundy-deep);
	color: var(--dg-champagne) !important;
}

body.doctorg-avvento-active .superac-dialog-body a:focus-visible,
body.doctorg-avvento-active .dg-avvento-modal__cta:focus-visible {
	outline: 2px solid var(--dg-gold);
	outline-offset: 3px;
}

body.doctorg-avvento-active .dg-avvento-modal__stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	width: 100%;
}

body.doctorg-avvento-active .dg-avvento-modal__fallback {
	margin: 0;
	color: var(--dg-muted);
	font-size: 0.95rem;
}

body.doctorg-avvento-active .superac-preview-notice {
	display: none !important;
}

body.doctorg-avvento-active .dg-avvento-preview {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 100001;
	width: min(22rem, calc(100vw - 24px));
	padding: 0.85rem 0.95rem 0.95rem;
	background: rgba(251, 247, 242, 0.97);
	border: 1px solid var(--dg-gold);
	box-shadow: 0 16px 40px rgba(36, 22, 24, 0.2);
	color: var(--dg-ink);
	font-family: var(--dg-sans);
}

body.doctorg-avvento-active .dg-avvento-preview__label,
body.doctorg-avvento-active .dg-avvento-preview__status {
	margin: 0 0 0.55rem;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dg-burgundy);
}

body.doctorg-avvento-active .dg-avvento-preview__status {
	margin: 0.65rem 0 0;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--dg-muted);
	line-height: 1.4;
}

body.doctorg-avvento-active .dg-avvento-preview__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.65rem;
}

body.doctorg-avvento-active .dg-avvento-preview__chip,
body.doctorg-avvento-active .dg-avvento-preview__btn {
	appearance: none;
	border: 1px solid var(--dg-gold);
	background: transparent;
	color: var(--dg-ink);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	padding: 0.32rem 0.5rem;
	cursor: pointer;
}

body.doctorg-avvento-active .dg-avvento-preview__chip.is-active,
body.doctorg-avvento-active .dg-avvento-preview__btn {
	background: var(--dg-burgundy);
	border-color: var(--dg-burgundy);
	color: var(--dg-ivory);
}

body.doctorg-avvento-active .dg-avvento-preview__btn--ghost {
	background: transparent;
	color: var(--dg-ink);
	border-color: var(--dg-gold-soft);
}

body.doctorg-avvento-active .dg-avvento-preview__row {
	display: flex;
	gap: 0.4rem;
	align-items: center;
}

body.doctorg-avvento-active .dg-avvento-preview__date {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--dg-gold-soft);
	background: #fff;
	padding: 0.32rem 0.4rem;
	font-size: 0.78rem;
}

@media (max-width: 781px) {
	#doctorg-avvento .superac {
		background-size: 126px 126px, auto, auto, auto;
	}

	body.doctorg-avvento-active .dg-avvento-modal__media {
		width: min(9.4rem, 54%);
		padding: 0.35rem;
	}

	body.doctorg-avvento-active .superac-dialog-content,
	#doctorg-avvento .superac-dialog-content {
		padding: 1.15rem 1.1rem 1.35rem !important;
		max-height: 88vh !important;
	}

	body.doctorg-avvento-active .superac-dialog-title,
	body.doctorg-avvento-active .superac-dialog-content .superac-dialog-title,
	body.doctorg-avvento-active .dg-avvento-modal__title {
		font-size: 1.35rem !important;
		margin-bottom: 0.55rem !important;
	}

	#doctorg-avvento .dg-avvento-deco__c {
		width: 48px;
		height: 48px;
	}

	#doctorg-avvento .dg-avvento-deco__c--tl,
	#doctorg-avvento .dg-avvento-deco__c--tr {
		top: 10px;
	}

	#doctorg-avvento .dg-avvento-deco__c--tl,
	#doctorg-avvento .dg-avvento-deco__c--bl {
		left: 10px;
	}

	#doctorg-avvento .dg-avvento-deco__c--tr,
	#doctorg-avvento .dg-avvento-deco__c--br {
		right: 10px;
	}

	#doctorg-avvento .dg-avvento-deco__c--bl,
	#doctorg-avvento .dg-avvento-deco__c--br {
		bottom: 10px;
	}

	#doctorg-avvento .superac.is-layout-grid,
	#doctorg-avvento .wp-block-super-advent-calendar-advent-calendar.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	#doctorg-avvento .superac-day:nth-child(1 of .superac-day),
	#doctorg-avvento .superac-day:nth-child(2 of .superac-day) {
		grid-column: auto !important;
	}

	#doctorg-avvento .superac-day:nth-child(3 of .superac-day) {
		grid-column: 1 / -1 !important;
		width: calc((100% - var(--dg-door-gap)) / 2) !important;
		max-width: none;
		justify-self: center;
	}

	body.doctorg-avvento-active .dg-avvento-preview {
		right: 8px;
		left: 8px;
		bottom: 8px;
		width: auto;
	}

	#doctorg-avvento .superac-card--front .superac-card-title {
		font-size: clamp(1.15rem, 4.8vw, 1.45rem);
	}

	#doctorg-avvento .doctorg-avvento__eyebrow {
		letter-spacing: 0.14em;
		font-size: 1.1rem;
	}
}

@media (max-width: 479px) {
	#doctorg-avvento .superac.is-layout-grid,
	#doctorg-avvento .wp-block-super-advent-calendar-advent-calendar.is-layout-grid {
		gap: 0.65rem !important;
	}

	#doctorg-avvento .superac-card--front .superac-card-title {
		font-size: 1.22rem;
		letter-spacing: 0.01em;
		padding-right: 6px;
	}

	#doctorg-avvento .doctorg-avvento__eyebrow {
		letter-spacing: 0.06em;
		font-size: 0.82rem;
		background-position: center 1.7em;
	}

	#doctorg-avvento .doctorg-avvento__title {
		font-size: clamp(1.35rem, 6vw, 1.6rem);
	}
}

body.doctorg-avvento-active .tippy-box[data-theme~="superac-tooltip"] {
	background: var(--dg-burgundy-deep);
	color: var(--dg-cream);
	border: 1px solid var(--dg-gold);
	border-radius: 2px;
	padding: 0.55rem 0.75rem;
	font-family: var(--dg-sans);
	font-size: 0.78rem;
	line-height: 1.4;
	letter-spacing: 0.01em;
	box-shadow: 0 12px 28px rgba(34, 8, 11, 0.32);
}

body.doctorg-avvento-active .tippy-box[data-theme~="superac-tooltip"] .tippy-content {
	color: var(--dg-cream);
	padding: 0;
}

body.doctorg-avvento-active .tippy-box[data-theme~="superac-tooltip"][data-placement^="top"] > .tippy-arrow::before {
	border-top-color: var(--dg-burgundy-deep);
}

body.doctorg-avvento-active .tippy-box[data-theme~="superac-tooltip"][data-placement^="bottom"] > .tippy-arrow::before {
	border-bottom-color: var(--dg-burgundy-deep);
}

@media (prefers-reduced-motion: reduce) {
	#doctorg-avvento .superac-day.is-unlocked:not(.is-open) .superac-card--front {
		transition: none;
	}

	#doctorg-avvento .dg-avvento-deco__snow,
	#doctorg-avvento .dg-avvento-deco__flakes span {
		animation: none;
	}
}
