/* Event detail uses the listing cards, shared buttons and native Woo controls. */
.unbox-detail--event { --detail-ink:#20231f; --detail-line:#e4e1d6; --game-paper:#fffef8; --game-soft:#edeae0; --game-accent:#d6ee3f; max-width:1216px; margin-inline:auto; padding-block:0 80px!important; }
.unbox-event-hero { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(20px,4vw,56px); align-items:start; }
.unbox-event-hero__main { display:flex; flex-direction:column; gap:20px; min-width:0; }
.unbox-event-heading { display:flex; flex-direction:column; gap:12px; }
.unbox-detail--event .unbox-detail-context { padding:0; }
.unbox-detail--event .unbox-detail-tags { gap:8px; margin:0; }
.unbox-detail--event .unbox-detail-tags :is(a,span) { border:0; border-radius:999px; padding:4px 12px; background:var(--game-soft); font-size:13px; font-weight:600; text-decoration:none; }
.unbox-detail--event .sp-product__title { font-size:clamp(38px,5vw,60px); font-weight:900; letter-spacing:-2px; line-height:1.02; text-wrap:balance; margin:0 0 12px; }
.unbox-detail--event .unbox-detail-lead { max-width:560px; font-size:clamp(17px,1.6vw,19px); line-height:1.5; color:#3e413a; text-wrap:pretty; }
.unbox-detail--event .unbox-detail-gallery { grid-area:auto; border:0; border-radius:22px; background:var(--game-soft); }
.unbox-detail--event .unbox-detail-gallery .woocommerce-product-gallery__image img { height:auto; aspect-ratio:16/10; object-fit:cover; padding:0; }
.unbox-detail--event .unbox-detail-gallery.is-illustration { min-height:0; aspect-ratio:16/10; }
.unbox-detail--event .unbox-purchase-panel { grid-area:auto; position:sticky; top:calc(var(--unbox-header-height,70px) + var(--unbox-admin-offset,0px) + 18px); width:100%; padding:clamp(18px,2.4vw,24px); border-radius:22px; background:var(--game-paper); }
.unbox-event-date-picker { min-width:0; margin-bottom:16px; }
.unbox-event-date-picker__heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.unbox-event-date-picker__heading > strong { font-size:13px; color:#6b6e63; }
.unbox-event-date-picker .ubx-shelf-navigation button { display:block; width:32px; height:32px; font-family:inherit; font-weight:700; font-size:14px; line-height:1; cursor:pointer; }
.unbox-event-date-picker .ubx-shelf-navigation button:disabled { cursor:default; }
.unbox-event-date-track { width:100%; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; }
.unbox-event-date-track:not(.swiper-initialized) .swiper-wrapper { gap:8px; }
.unbox-event-date-track.swiper-initialized { overflow:hidden; scroll-snap-type:none; touch-action:pan-y; }
.unbox-detail--event .unbox-event-date { box-sizing:border-box; flex-shrink:0; width:calc((100% - 16px)/3); height:auto; scroll-snap-align:start; display:flex; flex-direction:column; align-items:center; gap:3px; padding:10px 3px; border:1.5px solid var(--detail-line); border-radius:14px; background:var(--game-paper); color:var(--detail-ink); text-align:center; text-decoration:none; line-height:1.15; user-select:none; -webkit-user-drag:none; }
.unbox-event-date > span { font-size:12px; font-weight:600; }
.unbox-event-date > strong { font-size:24px; font-weight:900; }
.unbox-event-date > em { font-size:11px; font-style:normal; color:#6b6e63; margin-top:3px; }
.unbox-detail--event .unbox-event-date.is-past { border-style:dashed; background:#f6f4ed; color:#787b70; }
.unbox-detail--event .unbox-event-date.is-selected { border-color:var(--detail-ink); border-style:solid; background:var(--detail-ink); color:#f6f4ed; }
.unbox-detail--event .unbox-event-date.is-full { background:#f6f4ed; color:#8e9185; }
.unbox-event-date.is-low > em { color:#c8431f; }
.unbox-event-date:is(.is-past,.is-full) > em { color:#8e9185; }
.unbox-detail--event .unbox-event-date.is-selected { background:var(--detail-ink); color:#f6f4ed; }
.unbox-event-date.is-selected > em { color:var(--game-accent); }
.unbox-event-seats { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.unbox-event-seats__label { display:flex; justify-content:space-between; gap:8px; font-size:14px; }
.unbox-event-seats__label strong { font-weight:700; color:#4b5a1e; }
.unbox-event-seats__label > span { color:#6b6e63; }
.unbox-event-seats__track { height:6px; border-radius:999px; background:var(--game-soft); overflow:hidden; }
.unbox-event-seats__track > span { display:block; height:100%; border-radius:inherit; background:var(--game-accent); }
.unbox-event-seats.is-low strong { color:#c8431f; }
.unbox-event-seats.is-low .unbox-event-seats__track > span { background:#f08a5d; }
.unbox-event-date:focus-visible { outline-offset:-4px; }
.unbox-event-booking-facts { border-top:1px solid var(--game-soft); margin-bottom:16px; }
.unbox-event-booking-facts > p { display:flex; gap:12px; align-items:center; padding:12px 0; margin:0; border-bottom:1px solid var(--game-soft); font-size:15px; line-height:1.5; }
.unbox-event-booking-facts .unbox-icon { width:20px; height:20px; flex:none; }
.unbox-event-booking-facts a { text-decoration:none; }
.unbox-event-booking-facts__tags { display:flex; flex-wrap:wrap; gap:12px 20px; padding-top:12px; font-size:14px; }
.unbox-event-booking-facts__tags > span { display:flex; align-items:center; gap:8px; }
.unbox-detail--event .summary > .price { float:none; font-size:24px!important; margin-bottom:12px!important; }
.unbox-detail--event .summary .stock { text-align:start; font-size:14px; }
.unbox-detail--event .summary form.cart { align-items:center; }
.unbox-detail--event .summary form.cart:not(.variations_form):not(.grouped_form)::before { content:'כמה מגיעים?'; flex:1; font-weight:700; font-size:14px; }
.woocommerce .unbox-detail--event .summary .single_add_to_cart_button { flex-basis:100%; width:100%; }
.unbox-detail--event .summary .woocommerce-variation-add-to-cart { width:100%; }
.unbox-event-past { padding:18px; border-radius:18px; background:var(--game-soft); }
.unbox-event-past > strong { font-size:17px; }
.unbox-event-past > p { font-size:14px; line-height:1.6; margin:6px 0 14px; }
.unbox-event-past .unbox-button { width:100%; text-align:center; }
.unbox-event-content { display:flex; flex-direction:column; gap:20px; margin-top:clamp(48px,7vw,88px); padding-top:clamp(32px,5vw,56px); border-top:1px solid var(--detail-line); }
.unbox-event-about-program { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:clamp(12px,1.6vw,20px); }
.unbox-event-about-program > :only-child { grid-column:1/-1; }
.unbox-event-about { padding:clamp(22px,3vw,40px); border:1px solid var(--detail-line); border-radius:22px; background:var(--game-paper); min-width:0; }
.unbox-detail--event .unbox-detail-section { border:0; padding:0; }
.unbox-detail--event .unbox-detail-section h2 { font-size:clamp(26px,3vw,34px); font-weight:900; letter-spacing:-.8px; line-height:1.1; margin:0 0 18px; }
.unbox-event-about :is(.unbox-detail-copy,.unbox-detail-excerpt) { font-size:18px; line-height:1.7; text-wrap:pretty; }
.unbox-event-about .unbox-detail-excerpt { margin:0; }
.unbox-event-perk { display:flex; align-items:center; gap:10px; width:fit-content; margin:24px 0 0; padding:12px 14px; border-radius:14px; background:#f6f4ed; font-size:14px; font-weight:600; }
.unbox-detail--event .unbox-event-program { padding:clamp(22px,3vw,32px); border-radius:22px; background:var(--game-soft); }
.unbox-detail--event .unbox-event-program h2 { font-size:clamp(22px,2.2vw,26px); letter-spacing:-.5px; }
.unbox-detail--event .unbox-program-day { border:0; border-bottom:1px solid #d8d5c9; border-radius:0; background:transparent; margin:0; }
.unbox-detail--event .unbox-program-day:last-child { border-bottom:0; }
.unbox-detail--event .unbox-program-day > summary { padding:12px 0; gap:10px; }
.unbox-detail--event .unbox-program-day > div { padding:0; }
.unbox-detail--event .unbox-event-timeline { margin:0; }
.unbox-detail--event .unbox-event-timeline li { grid-template-columns:56px minmax(0,1fr); gap:14px; padding:14px 0; margin:0; border-bottom:1px solid #d8d5c9; }
.unbox-detail--event .unbox-event-timeline li:last-child { border:0; }
.unbox-detail--event .unbox-event-timeline time { font-size:17px; font-weight:900; color:var(--detail-ink); }
.unbox-detail--event .unbox-event-timeline h3 { font-size:16px; font-weight:800; margin:0 0 4px; }
.unbox-detail--event .unbox-event-timeline p { font-size:14px; line-height:1.5; }
.unbox-event-places { scroll-margin-top:calc(var(--unbox-header-height,70px) + 20px); display:grid; gap:20px; }
.unbox-event-place { display:grid; border-radius:22px; overflow:hidden; background:var(--detail-ink); color:#f6f4ed; }
.unbox-event-place.has-photo { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.unbox-event-place__photo { position:relative; min-height:240px; }
.unbox-event-place__photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.unbox-event-place__body { display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding:clamp(22px,3vw,40px); min-width:0; }
.unbox-event-place__body .unbox-event-place__eyebrow { color:var(--game-accent); font-size:13px; font-weight:700; margin:0; }
.unbox-event-place__body h2 { color:inherit; font-size:clamp(24px,2.6vw,30px); font-weight:900; line-height:1.15; letter-spacing:-.5px; margin:0; }
.unbox-event-place__body dl { width:100%; margin:0; display:grid; gap:10px; font-size:15px; }
.unbox-event-place__body dl > div { display:flex; gap:12px; }
.unbox-event-place__body dt { min-width:64px; color:#b9bbb0; }
.unbox-event-place__body dd { margin:0; }
.unbox-event-place__body .unbox-button--outline { margin-top:auto; color:var(--game-accent)!important; border-color:var(--game-accent); }
.unbox-event-place__body details { font-size:14px; line-height:1.6; width:100%; }
.unbox-event-place__body summary { cursor:pointer; }
.unbox-detail--event .unbox-detail-related { margin-top:clamp(36px,5vw,64px); }
.unbox-detail--event .unbox-detail-related .unbox-product-grid { margin-top:20px; }
.unbox-detail--event .unbox-event-faq { margin-top:32px; }
@media(max-width:899px) {
	.unbox-event-hero,.unbox-event-about-program { grid-template-columns:minmax(0,1fr); }
	.unbox-detail--event .unbox-purchase-panel { position:static; }
}
@media(max-width:639px) {
	.unbox-event-place.has-photo { grid-template-columns:minmax(0,1fr); }
	.unbox-detail--event .summary .sp-product__qty-button { width:36px; }
}
