.pdt-cpl-express,
.pdt-cpl-express * {
	box-sizing: border-box;
}

.pdt-cpl-express {
	--pdt-accent: #a73742;
	--pdt-accent-dark: #842832;
	--pdt-ink: #2e2a28;
	--pdt-copy: #514b47;
	--pdt-muted: #756e68;
	--pdt-line: #ddd3ca;
	--pdt-soft: #faf8f5;
	--pdt-soft-red: #f6e9ea;
	font-family: Poppins, Arial, sans-serif;
	color: var(--pdt-copy);
	margin: 8px 0 24px;
}

.pdt-cpl-express__intro h2 {
	font-family: Poppins, Arial, sans-serif;
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	color: var(--pdt-ink);
	margin: 0 0 7px;
}

.pdt-cpl-express__intro p {
	font-size: 14px;
	line-height: 1.55;
	color: var(--pdt-muted);
	margin: 0 0 17px;
}

.pdt-cpl-express__shell {
	background: #fff;
	border: 1px solid var(--pdt-line);
	border-top: 3px solid var(--pdt-accent);
	border-radius: 9px;
	padding: 17px;
}

.pdt-cpl-express__head {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 8px;
	margin-bottom: 13px;
}

.pdt-cpl-express__month {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--pdt-ink);
}

.pdt-cpl-express__nav {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--pdt-line);
	border-radius: 7px;
	background: var(--pdt-soft);
	color: var(--pdt-accent-dark);
	font: inherit;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.pdt-cpl-express__nav:hover,
.pdt-cpl-express__nav:focus-visible {
	border-color: var(--pdt-accent);
	background: var(--pdt-soft-red);
}

.pdt-cpl-express__nav:focus-visible,
.pdt-cpl-express__day.has-class:focus-visible {
	outline: 3px solid rgba(167, 55, 66, 0.23);
	outline-offset: 2px;
}

.pdt-cpl-express__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.pdt-cpl-express__weekdays,
.pdt-cpl-express__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 5px;
}

.pdt-cpl-express__weekdays {
	margin-bottom: 5px;
}

.pdt-cpl-express__weekdays span {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	color: var(--pdt-muted);
}

.pdt-cpl-express__day {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 59px;
	padding: 5px 2px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: var(--pdt-soft);
	color: #a59d96;
	font: inherit;
	line-height: 1;
}

.pdt-cpl-express__day > span {
	font-size: 14px;
	font-weight: 600;
}

.pdt-cpl-express__day small {
	display: block;
	max-width: 100%;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
	margin-top: 5px;
}

.pdt-cpl-express__day.is-empty {
	background: transparent;
}

.pdt-cpl-express__day.has-class {
	border-color: #ddb0b5;
	background: var(--pdt-soft-red);
	color: var(--pdt-accent-dark);
	cursor: pointer;
}

.pdt-cpl-express__day.has-class:hover {
	border-color: var(--pdt-accent);
	background: #fff;
}

.pdt-cpl-express__day.has-class.is-selected {
	border-color: var(--pdt-accent);
	background: var(--pdt-accent);
	color: #fff;
	box-shadow: 0 0 0 2px rgba(167, 55, 66, 0.16);
}

.pdt-cpl-express__day.has-class.is-sold {
	border-color: #d7d2ce;
	background: #efedeb;
	color: #6d6864;
	cursor: not-allowed;
	box-shadow: none;
}

.pdt-cpl-express__legend {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px 19px;
	font-size: 11px;
	color: var(--pdt-muted);
	margin-top: 12px;
}

.pdt-cpl-express__legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pdt-cpl-express__legend i {
	display: block;
	width: 11px;
	height: 11px;
	border-radius: 3px;
}

.pdt-cpl-express__legend .is-open {
	border: 1px solid #ddb0b5;
	background: var(--pdt-soft-red);
}

.pdt-cpl-express__legend .is-full {
	border: 1px solid #d7d2ce;
	background: #efedeb;
}

.pdt-cpl-express__selection {
	border-left: 3px solid var(--pdt-accent);
	background: #f7f1ec;
	padding: 14px 16px;
	margin-top: 14px;
}

.pdt-cpl-express__selection span,
.pdt-cpl-express__selection strong,
.pdt-cpl-express__selection small {
	display: block;
}

.pdt-cpl-express__selection span {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pdt-muted);
	margin-bottom: 3px;
}

.pdt-cpl-express__selection strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--pdt-ink);
}

.pdt-cpl-express__selection small {
	font-size: 11px;
	line-height: 1.45;
	color: var(--pdt-muted);
	margin-top: 3px;
}

.pdt-cpl-express__message {
	grid-column: 1 / -1;
	padding: 20px 14px;
	text-align: center;
	font-size: 13px;
	color: var(--pdt-muted);
}

.pdt-cpl-express__error {
	border: 1px solid #e6c4c8;
	border-radius: 7px;
	background: var(--pdt-soft-red);
	color: var(--pdt-accent-dark);
	font-size: 13px;
	line-height: 1.5;
	padding: 12px 14px;
	margin-top: 12px;
}

/* The native selector remains available until the calendar loads successfully. */
form.variations_form.pdt-express-enhanced table.variations {
	display: none !important;
}

/* Remove the older embedded Google calendar only after the live selector is working. */
body.pdt-cpl-express-active.single-product.postid-1001 .summary p:has(> iframe[src*="calendar.google.com"]) {
	display: none !important;
}

@media (max-width: 600px) {
	.pdt-cpl-express {
		margin-bottom: 19px;
	}

	.pdt-cpl-express__shell {
		padding: 13px 10px;
	}

	.pdt-cpl-express__head {
		grid-template-columns: 42px minmax(0, 1fr) 42px;
	}

	.pdt-cpl-express__nav {
		width: 42px;
		height: 42px;
	}

	.pdt-cpl-express__month {
		font-size: 15px;
	}

	.pdt-cpl-express__weekdays,
	.pdt-cpl-express__grid {
		gap: 3px;
	}

	.pdt-cpl-express__weekdays span {
		font-size: 9px;
	}

	.pdt-cpl-express__day {
		min-height: 49px;
		border-radius: 6px;
		padding-inline: 1px;
	}

	.pdt-cpl-express__day > span {
		font-size: 13px;
	}

	.pdt-cpl-express__day small {
		font-size: 8px;
		margin-top: 4px;
	}
}

@media (max-width: 360px) {
	.pdt-cpl-express__shell {
		padding-inline: 7px;
	}

	.pdt-cpl-express__day small {
		font-size: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdt-cpl-express * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}


/* v2: quick list + availability colors */
.pdt-cpl-express { --pdt-green:#267a46; --pdt-green-soft:#edf7f0; --pdt-yellow:#9a6a00; --pdt-yellow-soft:#fff7d6; --pdt-red:#a73742; --pdt-red-soft:#f8e8ea; }
.pdt-cpl-express__quick-shell{background:#fff;border:1px solid var(--pdt-line);border-radius:9px;padding:15px;margin:0 0 14px;}
.pdt-cpl-express__quick-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px;}
.pdt-cpl-express__quick-head strong{font-size:16px;color:var(--pdt-ink);}.pdt-cpl-express__quick-head span{font-size:10px;color:var(--pdt-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:700;}
.pdt-cpl-express__quick-list{display:grid;gap:7px;}.pdt-cpl-express__quick-row{appearance:none;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:11px 12px;border:1px solid;border-radius:7px;font:inherit;cursor:pointer;}
.pdt-cpl-express__quick-date strong,.pdt-cpl-express__quick-date small{display:block}.pdt-cpl-express__quick-date strong{font-size:13px;line-height:1.25}.pdt-cpl-express__quick-date small{font-size:9px;line-height:1.2;margin-top:3px;text-transform:uppercase;letter-spacing:.05em;opacity:.75}.pdt-cpl-express__quick-row em{font-style:normal;font-size:11px;font-weight:800;white-space:nowrap;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.7)}
.pdt-cpl-express__quick-row.is-open{border-color:#a9d2b7;background:var(--pdt-green-soft);color:var(--pdt-green)}.pdt-cpl-express__quick-row.is-low{border-color:#e3c45f;background:var(--pdt-yellow-soft);color:var(--pdt-yellow)}.pdt-cpl-express__quick-row.is-sold{border-color:#dfb2b7;background:var(--pdt-red-soft);color:var(--pdt-red);cursor:not-allowed;opacity:1}.pdt-cpl-express__quick-row.is-selected{box-shadow:0 0 0 2px currentColor inset}.pdt-cpl-express__quick-note{font-size:11px;color:var(--pdt-muted);margin:10px 1px 0}
.pdt-cpl-express__day.has-class.is-open{border-color:#9bcaaa;background:var(--pdt-green-soft);color:var(--pdt-green)}.pdt-cpl-express__day.has-class.is-low{border-color:#dec052;background:var(--pdt-yellow-soft);color:var(--pdt-yellow)}.pdt-cpl-express__day.has-class.is-sold{border-color:#dfb2b7;background:var(--pdt-red-soft);color:var(--pdt-red);cursor:not-allowed}.pdt-cpl-express__day.has-class.is-selected{border-color:var(--pdt-accent);background:var(--pdt-accent);color:#fff}.pdt-cpl-express__legend .is-open{border:1px solid #9bcaaa;background:var(--pdt-green-soft)}.pdt-cpl-express__legend .is-low{border:1px solid #dec052;background:var(--pdt-yellow-soft)}.pdt-cpl-express__legend .is-full{border:1px solid #dfb2b7;background:var(--pdt-red-soft)}
@media(max-width:600px){.pdt-cpl-express__quick-head{align-items:flex-start;flex-direction:column;gap:3px}.pdt-cpl-express__quick-row{padding:10px 9px;gap:7px}.pdt-cpl-express__quick-date strong{font-size:12px}.pdt-cpl-express__quick-row em{font-size:9px;padding:5px 6px}}

/* Express: clicking a date is the registration action, so hide the old variation/add-to-cart UI only after the new interface initializes successfully. */
form.variations_form.pdt-express-enhanced table.variations,
form.variations_form.pdt-express-enhanced .single_variation_wrap,
form.variations_form.pdt-express-enhanced #pdt1001-box {
	display: none !important;
}

.pdt-cpl-express.is-loading {
	opacity: .72;
	pointer-events: none;
}

.pdt-cpl-express__quick-row:not(:disabled),
.pdt-cpl-express__day.has-class:not(:disabled) {
	cursor: pointer;
}

/* Renewal / refresher date list */
.pdt-renewal-registration{margin:18px 0 24px;}
.pdt-renewal-registration .pdt-cpl-express__quick-shell{margin-bottom:0;}
.pdt-renewal-format{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:800;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;}
.pdt-renewal-format.is-zoom{background:#eef3f8;color:#355b78;border:1px solid #cbd9e4;}
.pdt-renewal-format.is-inperson{background:#f4eee8;color:#6e4b35;border:1px solid #dfcdbd;}
.pdt-renewal-row .pdt-cpl-express__quick-date small{margin-top:6px;}
form.variations_form.pdt-renewal-enhanced table.variations,
form.variations_form.pdt-renewal-enhanced .single_variation_wrap,
body.pdt-renewal-registration-active.single-product.postid-4498 #pd4498-wrap{display:none!important;}
.pdt-renewal-registration.is-loading{opacity:.72;pointer-events:none;}
@media(max-width:600px){.pdt-renewal-format{font-size:8px;padding:3px 7px}.pdt-renewal-row{align-items:center}}

/* v2.1: Renewal now uses the same live calendar pattern as the full CPL class. */
.pdt-renewal-registration .pdt-cpl-express__quick-shell{margin-bottom:14px;}
.pdt-renewal-calendar-day{min-height:72px;}
.pdt-renewal-calendar-day .pdt-renewal-calendar-format{margin-top:4px;font-size:7px;line-height:1.05;font-weight:800;letter-spacing:.025em;}
.pdt-renewal-calendar-day .pdt-renewal-calendar-stock{margin-top:3px;font-size:8px;line-height:1.05;font-weight:800;}
body.pdt-renewal-registration-active.single-product.postid-4498 .summary p:has(> iframe[src*="calendar.google.com"]){display:none!important;}
@media(max-width:600px){
	.pdt-renewal-calendar-day{min-height:62px;}
	.pdt-renewal-calendar-day .pdt-renewal-calendar-format{font-size:6px;letter-spacing:0;}
	.pdt-renewal-calendar-day .pdt-renewal-calendar-stock{font-size:7px;}
}

/* v2.2: one shared WooCommerce calendar on both product pages. */
.pdt-unified-calendar-title{
	margin:0 0 8px;
	font-size:10px;
	font-weight:800;
	line-height:1.2;
	letter-spacing:.07em;
	text-align:center;
	text-transform:uppercase;
	color:var(--pdt-muted);
}
.pdt-unified-calendar-day{
	align-items:stretch;
	justify-content:flex-start;
	min-height:88px;
	padding:4px;
	border-color:#e5ded8;
	background:#fff;
	color:var(--pdt-ink);
}
.pdt-unified-calendar-day > .pdt-unified-day-number{
	display:block;
	align-self:center;
	margin:1px 0 4px;
	font-size:12px;
	font-weight:700;
	line-height:1;
	color:var(--pdt-ink);
}
.pdt-unified-day-events{
	display:grid;
	gap:3px;
	width:100%;
}
.pdt-unified-class-event{
	appearance:none;
	display:block;
	width:100%;
	min-width:0;
	padding:4px 2px;
	border:1px solid;
	border-radius:4px;
	font:inherit;
	line-height:1.05;
	text-align:center;
	cursor:pointer;
}
.pdt-unified-class-event strong,
.pdt-unified-class-event small{
	display:block;
	max-width:100%;
	margin:0;
	white-space:normal;
	overflow-wrap:anywhere;
}
.pdt-unified-class-event strong{
	font-size:8px;
	font-weight:900;
	letter-spacing:.025em;
}
.pdt-unified-class-event small{
	margin-top:2px;
	font-size:6.5px;
	font-weight:800;
	line-height:1.12;
}
.pdt-unified-class-event.is-open{border-color:#9bcaaa;background:var(--pdt-green-soft);color:var(--pdt-green)}
.pdt-unified-class-event.is-low{border-color:#dec052;background:var(--pdt-yellow-soft);color:var(--pdt-yellow)}
.pdt-unified-class-event.is-sold{border-color:#dfb2b7;background:var(--pdt-red-soft);color:var(--pdt-red);cursor:not-allowed;opacity:1}
.pdt-unified-class-event:not(:disabled):hover{filter:brightness(.98);box-shadow:0 0 0 1px currentColor inset}
.pdt-unified-class-event:focus-visible{outline:2px solid rgba(167,55,66,.28);outline-offset:1px}
@media(max-width:600px){
	.pdt-unified-calendar-day{min-height:78px;padding:3px 2px}
	.pdt-unified-calendar-day > .pdt-unified-day-number{font-size:11px;margin-bottom:3px}
	.pdt-unified-day-events{gap:2px}
	.pdt-unified-class-event{padding:3px 1px;border-radius:3px}
	.pdt-unified-class-event strong{font-size:6.5px;letter-spacing:0}
	.pdt-unified-class-event small{font-size:5.5px;line-height:1.05}
	.pdt-unified-calendar-title{font-size:9px}
}


/* v2.2.2: balanced desktop shared calendar.
   The calendar remains below the product summary, but is centered at a comfortable
   reading width with larger class labels and availability details. */
.pdt-unified-calendar-shell{
    --pdt-accent:#a73742;
    --pdt-accent-dark:#842832;
    --pdt-ink:#2e2a28;
    --pdt-copy:#514b47;
    --pdt-muted:#756e68;
    --pdt-line:#ddd3ca;
    --pdt-soft:#faf8f5;
    --pdt-soft-red:#f6e9ea;
    --pdt-green:#267a46;
    --pdt-green-soft:#edf7f0;
    --pdt-yellow:#9a6a00;
    --pdt-yellow-soft:#fff7d6;
    --pdt-red:#a73742;
    --pdt-red-soft:#f8e8ea;
    box-sizing:border-box;
    font-family:Poppins,Arial,sans-serif;
    color:var(--pdt-copy);
}
.pdt-unified-calendar-shell *{box-sizing:border-box;}

@media (min-width:1024px){
    .pdt-unified-calendar-shell.is-desktop-wide{
        clear:both;
        float:none;
        width:calc(100% - 48px);
        max-width:960px;
        margin:32px auto 36px;
        padding:22px 24px 24px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-calendar-title{
        margin-bottom:12px;
        font-size:12px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__head{
        grid-template-columns:50px minmax(0,1fr) 50px;
        margin-bottom:16px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__nav{
        width:50px;
        height:50px;
        font-size:28px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__month{
        font-size:21px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__weekdays,
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__grid{
        gap:8px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__weekdays{
        margin-bottom:8px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__weekdays span{
        font-size:13px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__day{
        min-height:104px;
        padding:7px 5px;
        border-radius:8px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-calendar-day{
        min-height:104px;
        padding:6px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-calendar-day > .pdt-unified-day-number{
        margin:2px 0 6px;
        font-size:16px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-day-events{
        gap:5px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-class-event{
        padding:8px 5px;
        border-radius:6px;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-class-event strong{
        font-size:12.5px;
        line-height:1.08;
        letter-spacing:.02em;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-unified-class-event small{
        margin-top:4px;
        font-size:10px;
        line-height:1.18;
    }
    .pdt-unified-calendar-shell.is-desktop-wide .pdt-cpl-express__legend{
        margin-top:14px;
        gap:18px;
        font-size:11px;
    }
}


/* v2.2.3: improve calendar legibility on tablets and phones without making the calendar itself oversized. */
@media (min-width:601px) and (max-width:1023px){
    .pdt-unified-calendar-shell .pdt-unified-calendar-title{
        margin-bottom:10px;
        font-size:11px;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__month{
        font-size:18px;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__weekdays span{
        font-size:11px;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__weekdays,
    .pdt-unified-calendar-shell .pdt-cpl-express__grid{
        gap:5px;
    }
    .pdt-unified-calendar-shell .pdt-unified-calendar-day{
        min-height:94px;
        padding:5px 4px;
    }
    .pdt-unified-calendar-shell .pdt-unified-calendar-day > .pdt-unified-day-number{
        margin:1px 0 5px;
        font-size:14px;
    }
    .pdt-unified-calendar-shell .pdt-unified-day-events{
        gap:4px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event{
        padding:6px 3px;
        border-radius:5px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event strong{
        font-size:10.5px;
        line-height:1.08;
        letter-spacing:.01em;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event small{
        margin-top:3px;
        font-size:8.5px;
        line-height:1.12;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__legend{
        font-size:11px;
    }
}

@media (max-width:600px){
    .pdt-unified-calendar-shell .pdt-unified-calendar-title{
        margin-bottom:8px;
        font-size:10px;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__month{
        font-size:16px;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__weekdays span{
        font-size:10px;
    }
    .pdt-unified-calendar-shell .pdt-unified-calendar-day{
        min-height:84px;
        padding:4px 2px;
    }
    .pdt-unified-calendar-shell .pdt-unified-calendar-day > .pdt-unified-day-number{
        margin-bottom:4px;
        font-size:12px;
    }
    .pdt-unified-calendar-shell .pdt-unified-day-events{
        gap:3px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event{
        padding:4px 2px;
        border-radius:4px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event strong{
        font-size:clamp(7.5px,2.15vw,9px);
        line-height:1.08;
        letter-spacing:0;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event small{
        margin-top:2px;
        font-size:clamp(6.25px,1.75vw,7.5px);
        line-height:1.08;
    }
    .pdt-unified-calendar-shell .pdt-cpl-express__legend{
        gap:8px 13px;
        font-size:10px;
    }
}

@media (max-width:360px){
    .pdt-unified-calendar-shell .pdt-unified-calendar-day{
        min-height:80px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event strong{
        font-size:7.5px;
    }
    .pdt-unified-calendar-shell .pdt-unified-class-event small{
        font-size:6.25px;
    }
}
