/* BookFlow — Item availability calendar.
 * A large month calendar shown beside a single rental item. Palette tracks the
 * active niche via --wdz-ic-primary / --wdz-ic-accent (set inline on the root). */

.wdz-itemcal {
	--wdz-ic-primary: #0F3460;
	--wdz-ic-accent: #C9A227;
	--wdz-ic-ink: #1f2733;
	--wdz-ic-muted: #6b7280;
	--wdz-ic-line: #e6e9f0;
	--wdz-ic-open: #ecfdf3;
	--wdz-ic-open-bd: #b6ebc9;
	box-sizing: border-box;
	width: 100%;
	padding: 40px 20px;
	font-family: var(--wdz-font, inherit);
}
.wdz-itemcal *, .wdz-itemcal *::before, .wdz-itemcal *::after { box-sizing: border-box; }
.wdz-itemcal__inner { max-width: 1140px; margin: 0 auto; }

/* One cohesive white card (matches a typical product card) — floats on any page
   background, so the heading is always readable and it never looks pasted-in. */
.wdz-itemcal__card {
	background: #fff;
	border-radius: 22px;
	padding: 34px 36px 30px;
	box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .5);
}

.wdz-itemcal__head { text-align: center; margin-bottom: 26px; }
.wdz-itemcal__title { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 800; color: var(--wdz-ic-primary); margin: 0 0 8px; line-height: 1.15; }
.wdz-itemcal__sub { color: var(--wdz-ic-muted); font-size: 1rem; margin: 0; }

.wdz-itemcal__body {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 26px;
	align-items: stretch;
}

/* ---- calendar (sits inside the card) ---- */
.wdz-itemcal__calwrap { }
.wdz-itemcal__calwrap.is-loading { opacity: .75; cursor: progress; } /* still clickable: a tap while booked days load is checked live on its own */
.wdz-itemcal__cal { user-select: none; }
.wdz-itemcal__calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wdz-itemcal__month { font-weight: 800; font-size: 1.25rem; color: var(--wdz-ic-primary); }
.wdz-itemcal__nav {
	width: 42px; height: 42px; border: 1px solid var(--wdz-ic-line); background: #fff;
	border-radius: 12px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--wdz-ic-primary);
	transition: background .15s, color .15s, border-color .15s;
}
.wdz-itemcal__nav:hover:not(:disabled) { background: var(--wdz-ic-primary); color: var(--wdz-ic-primary-ink, #fff); border-color: var(--wdz-ic-primary); }
.wdz-itemcal__nav:disabled { opacity: .3; cursor: default; }

.wdz-itemcal__wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.wdz-itemcal__wd span { text-align: center; font-size: .74rem; font-weight: 700; color: #9aa3b2; text-transform: uppercase; letter-spacing: .04em; }

.wdz-itemcal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wdz-itemcal__cell {
	position: relative; aspect-ratio: 1 / 1; min-height: 52px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	border: 1.5px solid transparent; border-radius: 12px; background: #f5f7fb;
	font-size: 1rem; font-weight: 600; color: var(--wdz-ic-ink); cursor: pointer;
	transition: background .12s, color .12s, border-color .12s, transform .06s, box-shadow .12s;
}
.wdz-itemcal__cell.is-empty { background: transparent; cursor: default; }
.wdz-itemcal__cell.is-open { background: var(--wdz-ic-open); border-color: var(--wdz-ic-open-bd); color: #14663a; }
.wdz-itemcal__cell.is-open:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(20,102,58,.4); border-color: #34c77a; }
.wdz-itemcal__cell.is-past { background: #f3f4f6; color: #c2c7d0; cursor: default; }
/* Bookings could not be read, so this date is neither confirmed open nor booked.
   Deliberately NOT green: still clickable, because the per-date live check is
   the authority, but it must never read as "available". */
.wdz-itemcal__cell.is-unconfirmed { background: #f5f7fb; border-color: #dfe4ee; color: #4a5163; border-style: dashed; }
.wdz-itemcal__cell.is-unconfirmed:hover { transform: translateY(-2px); border-color: #b9c2d6; }
.wdz-itemcal__cell.is-booked {
	background: repeating-linear-gradient(-45deg, #f4f0f0, #f4f0f0 5px, #efe8e8 5px, #efe8e8 10px);
	color: #b0959a; cursor: not-allowed;
}
.wdz-itemcal__cell.is-booked .wdz-itemcal__dnum { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.wdz-itemcal__cell.is-selected {
	background: var(--wdz-ic-primary) !important; border-color: var(--wdz-ic-primary) !important; color: #fff !important;
	box-shadow: 0 10px 24px -8px rgba(15, 52, 96, .5);
	box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--wdz-ic-primary) 60%, transparent);
}
.wdz-itemcal__cell:focus-visible { outline: 3px solid var(--wdz-ic-accent); outline-offset: 2px; }
.wdz-itemcal__dnum { line-height: 1; }
.wdz-itemcal__dtag { margin-top: 3px; font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; opacity: .85; white-space: nowrap; max-width: 100%; overflow: hidden; } /* 1.8.20: one line, never wider than the day */

.wdz-itemcal__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--wdz-ic-line); font-size: .82rem; color: var(--wdz-ic-muted); }
.wdz-itemcal__legend span { display: inline-flex; align-items: center; gap: 7px; }
.wdz-itemcal__dot { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.wdz-itemcal__dot--open { background: var(--wdz-ic-open); border: 1.5px solid var(--wdz-ic-open-bd); }
.wdz-itemcal__dot--booked { background: repeating-linear-gradient(-45deg, #f4f0f0, #f4f0f0 3px, #efe8e8 3px, #efe8e8 6px); border: 1px solid #e0d3d3; }
.wdz-itemcal__dot--unconfirmed { background: #f5f7fb; border: 1.5px dashed #b9c2d6; }
.wdz-itemcal__dot--sel { background: var(--wdz-ic-primary); }
/* 1.8.11: inside the notice period: too soon to book online (not booked) */
.wdz-itemcal__cell.is-past .wdz-itemcal__dtag--soon { color: #8a6d1f; opacity: 1; white-space: nowrap; line-height: 1.05; text-align: center; letter-spacing: 0; max-width: 100%; overflow: hidden; }
/* 1.8.20: no theme button padding inside a day. A theme's 16px side padding (button { padding: .5rem 1rem })
   left about 6px for the day's label on a 390px phone, so it wrapped one letter per line. */
.wdz-itemcal__cell { padding: 0; }
/* 1.8.20: the full label ("24h notice") on wide cells, the short one ("24h") on phones
   and in the narrow details-column layouts */
.wdz-itemcal__dtag-short { display: none; }
.wdz-itemcal.is-beside .wdz-itemcal__dtag-full, .wdz-itemcal.is-inplace .wdz-itemcal__dtag-full { display: none; }
.wdz-itemcal.is-beside .wdz-itemcal__dtag-short, .wdz-itemcal.is-inplace .wdz-itemcal__dtag-short { display: inline; }
@media (max-width: 560px) {
	.wdz-itemcal__dtag-full { display: none; }
	.wdz-itemcal__dtag-short { display: inline; }
}
.wdz-itemcal__dot--soon { background: #f3f4f6; border: 1.5px solid #e2c97a; }

/* ---- side panel ---- */
.wdz-itemcal__panel {
	background: linear-gradient(180deg, #f7f9fc, #eef2f8);
	border: 1px solid #e6e9f0; border-radius: 16px; padding: 28px 26px;
	display: flex; flex-direction: column; justify-content: center; min-height: 180px;
}
.wdz-itemcal__panel-empty { color: var(--wdz-ic-muted); font-size: 1.02rem; line-height: 1.55; text-align: center; }
.wdz-itemcal__pempty { text-align: center; }
.wdz-itemcal__picon { display: inline-flex; color: var(--wdz-ic-primary); opacity: .55; margin-bottom: 12px; }
.wdz-itemcal__pprompt { color: var(--wdz-ic-muted); font-size: 1.02rem; line-height: 1.55; margin: 0; }
.wdz-itemcal__pcall { margin: 16px 0 0; font-size: .9rem; color: var(--wdz-ic-muted); }
.wdz-itemcal__pcall a { color: var(--wdz-ic-primary); font-weight: 700; text-decoration: none; }
.wdz-itemcal__pcall a:hover { text-decoration: underline; }
.wdz-itemcal__checking { display: flex; align-items: center; gap: 12px; color: var(--wdz-ic-muted); font-size: 1rem; justify-content: center; }
.wdz-itemcal__spin { width: 18px; height: 18px; border: 2.5px solid var(--wdz-ic-line); border-top-color: var(--wdz-ic-primary); border-radius: 50%; display: inline-block; animation: wdzIcSpin .7s linear infinite; }
@keyframes wdzIcSpin { to { transform: rotate(360deg); } }

.wdz-itemcal__psel { text-align: center; }
.wdz-itemcal__pbadge { font-weight: 800; font-size: 1.12rem; line-height: 1.3; margin-bottom: 6px; }
.wdz-itemcal__pbadge--ok { color: #14663a; }
.wdz-itemcal__pbadge--no { color: #b4232a; }
.wdz-itemcal__pmsg { color: var(--wdz-ic-muted); font-size: .95rem; margin: 6px 0 0; }
.wdz-itemcal__price { font-size: 2rem; font-weight: 800; color: var(--wdz-ic-primary); margin: 10px 0 18px; letter-spacing: -.02em; }
.wdz-itemcal__price span { display: block; font-size: .8rem; font-weight: 600; color: var(--wdz-ic-muted); letter-spacing: 0; margin-top: 2px; }
.wdz-itemcal__book {
	appearance: none; border: 0; cursor: pointer; width: 100%;
	background: var(--wdz-ic-accent); color: var(--wdz-ic-accent-ink, #1a1206); font-weight: 800; font-size: 1.02rem;
	padding: 15px 20px; border-radius: 12px; margin-top: 6px;
	box-shadow: 0 12px 28px -10px rgba(201, 162, 39, .55);
	box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--wdz-ic-accent) 65%, transparent);
	transition: transform .15s, box-shadow .15s, filter .15s;
}
.wdz-itemcal__book:hover { transform: translateY(-2px); filter: brightness(1.04); }

/* ---- responsive ---- */
@media (max-width: 820px) {
	.wdz-itemcal { padding: 30px 16px; }
	.wdz-itemcal__card { padding: 26px 22px 22px; }
	.wdz-itemcal__body { grid-template-columns: 1fr; gap: 16px; }
	.wdz-itemcal__cell { min-height: 44px; font-size: .95rem; }
	.wdz-itemcal__panel { min-height: 0; }
}
/* Narrow phones — keep the 7-column grid inside the viewport (aspect-ratio +
   min-height set a minimum cell width, so padding/gaps must stay small). */
@media (max-width: 480px) {
	.wdz-itemcal { padding: 24px 10px; }
	.wdz-itemcal__card { padding: 22px 14px 18px; border-radius: 18px; }
	.wdz-itemcal__title { font-size: 1.35rem; }
	.wdz-itemcal__wd, .wdz-itemcal__grid { gap: 4px; }
	.wdz-itemcal__wd span { font-size: .64rem; }
	.wdz-itemcal__cell { min-height: 38px; font-size: .9rem; border-radius: 9px; }
	.wdz-itemcal__dnum { font-size: .92rem; }
	.wdz-itemcal__dtag { font-size: .5rem; }
	.wdz-itemcal__nav { width: 36px; height: 36px; }
	.wdz-itemcal__month { font-size: 1.1rem; }
	.wdz-itemcal__panel { padding: 22px 18px; }
	/* keep the 3-column ("beside") calendar within the viewport once it stacks */
	.wdz-itemcal.is-beside .wdz-itemcal__card { padding: 22px 12px 16px; }
	.wdz-itemcal.is-beside .wdz-itemcal__cell { min-height: 38px; }
	.wdz-itemcal.is-beside .wdz-itemcal__title { font-size: 1.3rem; }
}

/* ============================================================
   3-COLUMN "beside" layout — the calendar becomes a third column
   inside the product's flex row (image | details | calendar).
   ============================================================ */
.wdz-itemcal-row { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 26px; }
.wdz-itemcal-row > .io_product_picbox { flex: 1 1 300px !important; min-width: 260px; max-width: 480px; width: auto !important; }
.wdz-itemcal-row > .io_product_infobox { flex: 1 1 360px !important; min-width: 300px; width: auto !important; }
.wdz-itemcal-row .io_image_big,
.wdz-itemcal-row .io_product_picbox img { max-width: 100% !important; height: auto !important; }
/* Calendar column: compact and capped so it doesn't grow into a huge block. */
.wdz-itemcal-row > #wdz-itemcal.is-beside { flex: 1 1 340px; min-width: 290px; max-width: 388px; }

/* Calendar, when it's a column: no section padding, compact card, stacked body. */
.wdz-itemcal.is-beside { padding: 0; width: auto; }
.wdz-itemcal.is-beside .wdz-itemcal__inner { max-width: none; margin: 0; }
.wdz-itemcal.is-beside .wdz-itemcal__card { padding: 20px 18px 16px; border-radius: 18px; }
.wdz-itemcal.is-beside .wdz-itemcal__head { text-align: left; margin-bottom: 14px; }
.wdz-itemcal.is-beside .wdz-itemcal__title { font-size: 1.1rem; line-height: 1.2; }
.wdz-itemcal.is-beside .wdz-itemcal__sub { font-size: .84rem; }
.wdz-itemcal.is-beside .wdz-itemcal__body { grid-template-columns: 1fr; gap: 14px; }
.wdz-itemcal.is-beside .wdz-itemcal__calhead { margin-bottom: 10px; }
.wdz-itemcal.is-beside .wdz-itemcal__month { font-size: 1rem; }
.wdz-itemcal.is-beside .wdz-itemcal__nav { width: 32px; height: 32px; font-size: 1.05rem; border-radius: 9px; }
.wdz-itemcal.is-beside .wdz-itemcal__wd { gap: 4px; margin-bottom: 5px; }
.wdz-itemcal.is-beside .wdz-itemcal__wd span { font-size: .6rem; }
.wdz-itemcal.is-beside .wdz-itemcal__grid { gap: 4px; }
.wdz-itemcal.is-beside .wdz-itemcal__cell { min-height: 34px; font-size: .84rem; border-radius: 8px; }
.wdz-itemcal.is-beside .wdz-itemcal__dnum { font-size: .84rem; }
.wdz-itemcal.is-beside .wdz-itemcal__dtag { font-size: .46rem; margin-top: 1px; }
.wdz-itemcal.is-beside .wdz-itemcal__legend { font-size: .72rem; gap: 12px; margin-top: 12px; padding-top: 10px; }
.wdz-itemcal.is-beside .wdz-itemcal__panel { min-height: 0; padding: 18px 16px; }
.wdz-itemcal.is-beside .wdz-itemcal__pbadge { font-size: 1rem; }
.wdz-itemcal.is-beside .wdz-itemcal__price { font-size: 1.55rem; margin: 8px 0 14px; }
.wdz-itemcal.is-beside .wdz-itemcal__book { padding: 12px 16px; font-size: .95rem; }
.wdz-itemcal.is-beside .wdz-itemcal__picon svg { width: 28px; height: 28px; }

/* If three columns can't fit, drop the calendar to its own full-width row. */
@media (max-width: 1000px) {
	.wdz-itemcal-row > #wdz-itemcal.is-beside { flex-basis: 100%; }
	.wdz-itemcal.is-beside .wdz-itemcal__body { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 820px) {
	.wdz-itemcal.is-beside .wdz-itemcal__body { grid-template-columns: 1fr; }
	/* stack the product row (image, details, calendar) full-width on phones/tablets */
	.wdz-itemcal-row { flex-direction: column; }
	.wdz-itemcal-row > .io_product_picbox,
	.wdz-itemcal-row > .io_product_infobox,
	.wdz-itemcal-row > #wdz-itemcal.is-beside {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wdz-itemcal__cell, .wdz-itemcal__book, .wdz-itemcal__nav { transition: none !important; }
	.wdz-itemcal__cell.is-open:hover { transform: none; }
	.wdz-itemcal__spin { animation-duration: 1.4s; }
}

/* Item page "Set Date" brings the visitor here: a short highlight so they see where to pick. */
.wdz-itemcal.is-attention { box-shadow: 0 0 0 4px rgba(26, 86, 219, .35); transition: box-shadow .3s ease; }
@media (prefers-reduced-motion: reduce) { .wdz-itemcal.is-attention { transition: none; } }

/* Item page with an event date: the platform's "Check Delivery" (its old address pop-up) is not needed. */
/* Doubled id: themes style this button with id + several classes and !important. */
html body.wdz-hide-check-delivery #checkDeliveryButton#checkDeliveryButton { display: none !important; }

/* Item with no price in the platform: no Add to Cart (it would send a $0 quote). */
html body.wdz-no-price #bookNowBtn#bookNowBtn, html body.wdz-no-price .item_add_set_date.item_add_set_date { display: none !important; }
a.wdz-itemcal__book { display: block; text-align: center; text-decoration: none; }

/* Rental-length choices under the picked date (setting: Checkout · Form → Rental lengths). */
.wdz-itemcal__lens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.wdz-itemcal__lenshead { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 14px; text-align: left; }
.wdz-itemcal__len { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; min-height: 56px; border: 2px solid #d7dbe0; border-radius: 12px; background: #fff; color: #1f2733; font: inherit; text-align: left; cursor: pointer; }
.wdz-itemcal__len span { font-size: 13px; font-weight: 600; }
.wdz-itemcal__len strong { font-size: 17px; }
.wdz-itemcal__len .wdz-itemcal__lenup { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: rgba(15, 52, 96, .08); color: var(--wdz-ic-primary, #0f3460); font-size: 11px; font-style: normal; font-weight: 800; }
/* start time (no silent default) + note when the cart is on another date */
.wdz-itemcal__timelab { display: block; margin: 12px 0 6px; font-weight: 700; font-size: 14px; text-align: left; }
.wdz-itemcal__time { width: 100%; min-height: 44px; padding: 8px 12px; border: 2px solid #d7dbe0; border-radius: 10px; background: #fff; color: #1f2733; font: inherit; font-size: 15px; }
.wdz-itemcal__time:focus { outline: none; border-color: var(--wdz-ic-primary, #0f3460); box-shadow: 0 0 0 3px rgba(15, 52, 96, .14); }
.wdz-itemcal__time.is-missing { border-color: #c8102e; box-shadow: 0 0 0 3px rgba(200, 16, 46, .12); }
.wdz-itemcal__timemsg { margin: 6px 0 0; color: #c8102e; font-size: 13px; font-weight: 600; text-align: left; }
.wdz-itemcal__pnote { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff7e6; color: #7a4b00; font-size: 13px; line-height: 1.4; text-align: left; }
.wdz-itemcal__len.is-on { border-color: var(--wdz-ic-primary, #0f3460); box-shadow: 0 0 0 3px rgba(15, 52, 96, .14); }
.wdz-itemcal__len:focus-visible { outline: 3px solid var(--wdz-ic-primary, #0f3460); outline-offset: 2px; }

/* One place to book on item pages: the platform's Add to Cart is hidden (still
   used under the hood) and a line points at the calendar. Doubled selectors beat
   the themes' own !important button rules. */
html body.wdz-itemcal-on .io_product_container [class*="add_cart"][class*="add_cart"],
html body.wdz-itemcal-on .io_product_container [class*="unavailable_message_"][class*="unavailable_message_"] { display: none !important; }
.wdz-itemcal-jump { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; font-weight: 700; font-size: 16px; color: var(--wdz-ic-primary, #0f3460); text-decoration: underline; text-underline-offset: 3px; }
.wdz-itemcal-jump:hover { text-decoration-thickness: 2px; }
.wdz-itemcal__addonly { display: block; width: 100%; margin: 10px 0 2px; padding: 8px 4px; border: 0; background: none; color: var(--wdz-ic-primary, #0f3460); font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wdz-itemcal__addonly:hover { text-decoration-thickness: 2px; }
.wdz-itemcal__addonly:focus-visible { outline: 3px solid var(--wdz-ic-primary, #0f3460); outline-offset: 2px; border-radius: 6px; }
/* Check Delivery too: with the calendar there, delivery is asked for at checkout. */
html body.wdz-itemcal-on #checkDeliveryButton#checkDeliveryButton, html body.wdz-itemcal-on .io_product_container .delivery_charge_check_container.delivery_charge_check_container { display: none !important; }

/* Length cards are white on every design: keep their text dark (dark themes set light span text). */
#wdz-itemcal .wdz-itemcal__len, #wdz-itemcal .wdz-itemcal__len span, #wdz-itemcal .wdz-itemcal__len strong { color: #1f2733; }
#wdz-itemcal .wdz-itemcal__len .wdz-itemcal__lenup { color: var(--wdz-ic-primary, #0f3460); }

/* 1.8.8 — the booking platform's own per-item pricing calendar/table (newer
   platform plugin builds) duplicated ours and offered a second way to book.
   With BookFlow's calendar on the page, it stands down. */
html body.wdz-itemcal-on .io_product_container .io-item-pricing-tabs.io-item-pricing-tabs,
html body.wdz-itemcal-on .io_product_container .io-item-pricing-table-panel.io-item-pricing-table-panel,
html body.wdz-itemcal-on .io_product_container .io-item-pricing-calendar-panel.io-item-pricing-calendar-panel { display: none !important; }

/* 1.8.8 — phones and narrow product columns: every day of the week fits. A cell's
   52px minimum used to push Saturday past the card edge at 390px. */
.wdz-itemcal__cell { min-width: 0; }
@media (max-width: 560px) {
	.wdz-itemcal { padding: 24px 0; }
	.wdz-itemcal__card { padding: 22px 14px 20px; border-radius: 18px; }
	.wdz-itemcal__body { grid-template-columns: minmax(0, 1fr); }
	.wdz-itemcal__grid, .wdz-itemcal__wd { gap: 4px; }
	.wdz-itemcal__cell { min-height: 0; border-radius: 9px; font-size: .95rem; }
	.wdz-itemcal__wd span { font-size: .66rem; letter-spacing: 0; }
}

/* 1.8.8 — weekend extension offer (setting: Checkout · Form → Weekend extensions) */
.wdz-itemcal__ext { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 12px; border: 2px solid var(--wdz-ic-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; }
.wdz-itemcal__ext input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--wdz-ic-primary); }
.wdz-itemcal__ext strong { display: block; color: var(--wdz-ic-primary); font-size: 15px; }
.wdz-itemcal__ext span { display: block; color: var(--wdz-ic-ink); font-size: 13px; line-height: 1.4; }
.wdz-itemcal__ext.is-on { border-color: var(--wdz-ic-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdz-ic-primary) 16%, transparent); }
.wdz-itemcal__ext.is-off { cursor: default; opacity: .7; }
.wdz-itemcal__extmsg[hidden] { display: none !important; }
.wdz-itemcal__extmsg { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #b42318; }

/* Placed where the platform's own pricing calendar was (details column). */
.wdz-itemcal.is-inplace{width:100%;max-width:400px;margin:14px 0 22px;flex:none;}
/* With the calendar already in the details column, the "Book <date>" jump link is redundant. */
body:has(.wdz-itemcal.is-inplace) .wdz-itemcal-jump{display:none!important;}

/* 1.8.9 — the day's price under the date number (setting: Item calendar → Price on every date).
   Booked days carry "Booked" and no price. Sizes step down with the cell so a
   7-column month still fits a 390px phone. */
.wdz-itemcal__dprice { display: block; margin-top: 3px; font-size: .68rem; font-weight: 700; line-height: 1; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; color: #14663a; }
.wdz-itemcal__cell.is-unconfirmed .wdz-itemcal__dprice { color: #4a5163; }
.wdz-itemcal__cell.is-selected .wdz-itemcal__dprice { color: #fff; }
.wdz-itemcal.is-beside .wdz-itemcal__dprice { font-size: .62rem; margin-top: 2px; }
@media (max-width: 560px) {
	.wdz-itemcal__dprice, .wdz-itemcal.is-beside .wdz-itemcal__dprice { font-size: .6rem; margin-top: 2px; letter-spacing: -.02em; }
	.wdz-itemcal__cell.has-price .wdz-itemcal__dnum { font-size: .86rem; }
}
@media (max-width: 360px) {
	.wdz-itemcal__dprice, .wdz-itemcal.is-beside .wdz-itemcal__dprice { font-size: .54rem; }
}
/* prices arriving for the month just shown */
.wdz-itemcal__calwrap.is-pricing .wdz-itemcal__month::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; vertical-align: middle; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: .5; animation: wdzIcSpin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .wdz-itemcal__calwrap.is-pricing .wdz-itemcal__month::after { animation: none; } }

/* 1.8.10 — weekend extension box with terms */
.wdz-itemcal__ext { flex-direction: column; gap: 6px; cursor: default; }
.wdz-itemcal__extrow { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.wdz-itemcal__ext .wdz-ext__terms { margin: 2px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.45; color: var(--wdz-ic-muted); text-align: left; }

/* 1.8.12 (QA6): on phones "Book this date" stays reachable: while the date panel is on screen and the
   button would sit below the bottom edge or under a consent tab (e.g. "Privacy choices"), BookFlow moves
   it up to just above the edge / the tab (wdz-checkout-io-bridge.js, stickBook; done in script because
   some themes clip overflow, which stops CSS position:sticky). A site's chat bubble moves up above it. */
@media (max-width: 820px) {
	.wdz-itemcal__book { position: relative; z-index: 3; transition: box-shadow .15s, filter .15s; }
	.wdz-itemcal__book:hover { transform: none; }
	/* lifted: a band of the panel's colour around it, so it reads as a bar over the text behind it */
	.wdz-itemcal__book.is-stuck { box-shadow: 0 0 0 12px #f1f4f9, 0 14px 26px -6px rgba(0, 0, 0, .35); }
}

/* 1.8.18: the item's long description, moved out of the details column into a
   full-width strip right under the photo + details/calendar row. */
.wdz-itemcal-fullinfo { display: block; width: 100%; max-width: 100%; box-sizing: border-box; clear: both; margin: 28px 0 0; }
.wdz-itemcal-fullinfo > .io_product_detailbox,
.wdz-itemcal-fullinfo > .io_product_detail_box { width: auto !important; max-width: none !important; float: none !important; box-sizing: border-box; }
.wdz-itemcal-fullinfo .io_product_desc img { max-width: 100%; height: auto; }
@media (max-width: 767px) {
	.wdz-itemcal-fullinfo { margin-top: 18px; }
}

/* ============================================================
   1.8.21 — cleaner item calendar. Spacing on an 8px rhythm, lighter
   day boxes, past weeks not drawn (the JS starts the month at the week
   holding today), a one-line legend, and no empty prompt box.
   ============================================================ */
.wdz-itemcal__head { margin-bottom: 16px; }
.wdz-itemcal__title { margin: 0 0 4px; }
.wdz-itemcal__sub { font-size: .92rem; line-height: 1.5; text-wrap: pretty; }
.wdz-itemcal__calhead { margin-bottom: 8px; }
.wdz-itemcal__wd { margin-bottom: 8px; }

/* day boxes: thinner border, softer fill */
.wdz-itemcal__cell { border-width: 1px; font-weight: 600; }
.wdz-itemcal__cell.is-open { background: #f3fbf6; border-color: #cfeeda; color: #17683c; }
.wdz-itemcal__cell.is-open:hover { border-color: #5fd093; box-shadow: 0 6px 14px -8px rgba(20, 102, 58, .45); }
.wdz-itemcal__cell.is-booked { border-color: transparent; color: #b59ca1; }
.wdz-itemcal__cell.is-unconfirmed { border-width: 1px; }
/* inside the notice period: a quiet box, no border */
.wdz-itemcal__cell.is-past { background: #f6f7f9; border-color: transparent; color: #a9b0bb; }
/* a day that is over (first week of the current month): just a faint number */
.wdz-itemcal__cell.is-over { background: transparent; border-color: transparent; color: #c9ced6; font-weight: 500; cursor: default; box-shadow: none; transform: none; }
/* the day's price: readable, not heavy */
.wdz-itemcal__dprice { font-weight: 600; color: #2b7a4e; letter-spacing: 0; }
.wdz-itemcal__cell.is-selected .wdz-itemcal__dprice { color: #fff; opacity: .9; }

/* legend: one short line */
.wdz-itemcal__legend { gap: 8px 16px; margin-top: 16px; padding-top: 12px; font-size: .78rem; line-height: 1.2; }
.wdz-itemcal__legend span { gap: 6px; white-space: nowrap; }
.wdz-itemcal__dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wdz-itemcal__dot--open { border-width: 1px; }
.wdz-itemcal__dot--soon { background: #f6f7f9; border: 1px solid #e2c97a; }

/* before a day is picked: no box, only the "Prefer to talk?" line (or nothing) */
.wdz-itemcal__panel.is-idle { background: none; border: 0; border-radius: 0; padding: 0; min-height: 0; justify-content: flex-start; }
.wdz-itemcal__panel.is-idle:empty { display: none; }
.wdz-itemcal__panel.is-idle .wdz-itemcal__pempty { text-align: left; }
.wdz-itemcal__panel.is-idle .wdz-itemcal__pcall { margin: 0; font-size: .88rem; }
.wdz-itemcal__panel.is-idle .wdz-itemcal__picon { display: none; }
/* while booked days load (can take several seconds on a big account) the month stays crisp:
   a small spinner beside the month name instead of fading the whole calendar */
.wdz-itemcal__calwrap.is-loading { opacity: 1; }
.wdz-itemcal__calwrap.is-loading .wdz-itemcal__month::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; vertical-align: middle; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: .5; animation: wdzIcSpin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .wdz-itemcal__calwrap.is-loading .wdz-itemcal__month::after { animation: none; } }
/* full-width layout has a centred heading: the call line and, once stacked, the legend follow it */
.wdz-itemcal:not(.is-beside) .wdz-itemcal__panel.is-idle .wdz-itemcal__pempty { text-align: center; }
@media (max-width: 820px) { .wdz-itemcal:not(.is-beside) .wdz-itemcal__legend { justify-content: center; } }
/* wide full-width layout (calendar | panel side by side): the panel keeps a quiet box of its own,
   with the icon and the call line in the middle, so the column is not left blank */
@media (min-width: 821px) {
	.wdz-itemcal:not(.is-beside) .wdz-itemcal__panel.is-idle { background: #f7f9fc; border: 1px dashed #dfe4ee; border-radius: 16px; padding: 24px; justify-content: center; }
	.wdz-itemcal:not(.is-beside) .wdz-itemcal__panel.is-idle .wdz-itemcal__pempty { text-align: center; }
	.wdz-itemcal:not(.is-beside) .wdz-itemcal__panel.is-idle .wdz-itemcal__picon { display: inline-flex; margin-bottom: 8px; }
}

/* compact column layouts (beside the item, or in the details column) */
.wdz-itemcal.is-beside .wdz-itemcal__card { padding: 24px 24px 20px; }
.wdz-itemcal.is-beside .wdz-itemcal__head { margin-bottom: 16px; }
.wdz-itemcal.is-beside .wdz-itemcal__title { font-size: 1.2rem; margin-bottom: 4px; }
.wdz-itemcal.is-beside .wdz-itemcal__sub { font-size: .86rem; }
.wdz-itemcal.is-beside .wdz-itemcal__calhead { margin-bottom: 8px; }
.wdz-itemcal.is-beside .wdz-itemcal__wd { margin-bottom: 4px; }
.wdz-itemcal.is-beside .wdz-itemcal__body { gap: 16px; }
.wdz-itemcal.is-beside .wdz-itemcal__legend { font-size: .74rem; gap: 8px 14px; margin-top: 16px; padding-top: 12px; }
.wdz-itemcal.is-beside .wdz-itemcal__panel { padding: 16px; }
.wdz-itemcal.is-beside .wdz-itemcal__panel.is-idle { padding: 0; }
/* the picked-day panel in a column reads top to bottom on one left edge, like the form fields in it */
.wdz-itemcal.is-beside .wdz-itemcal__psel { text-align: left; }
.wdz-itemcal.is-beside .wdz-itemcal__pbadge { font-size: 1rem; margin-bottom: 8px; text-wrap: balance; }
.wdz-itemcal.is-beside .wdz-itemcal__price { margin: 16px 0; font-size: 1.5rem; }
.wdz-itemcal.is-beside .wdz-itemcal__price span { display: inline; margin: 0 0 0 4px; }
.wdz-itemcal.is-beside .wdz-itemcal__book { margin-top: 0; }
.wdz-itemcal.is-beside .wdz-itemcal__addonly { margin: 8px 0 0; }
.wdz-itemcal.is-beside .wdz-itemcal__psel .wdz-itemcal__pcall { margin: 8px 0 0; text-align: center; }

@media (max-width: 560px) {
	.wdz-itemcal__card, .wdz-itemcal.is-beside .wdz-itemcal__card { padding: 20px 16px 16px; }
	.wdz-itemcal__legend, .wdz-itemcal.is-beside .wdz-itemcal__legend { font-size: .72rem; gap: 6px 12px; }
}
@media (max-width: 380px) {
	.wdz-itemcal__card, .wdz-itemcal.is-beside .wdz-itemcal__card { padding: 16px 12px 14px; }
	.wdz-itemcal__legend, .wdz-itemcal.is-beside .wdz-itemcal__legend { gap: 6px 10px; }
}
