/* Timed-offer frame, with the same full-cover card composition as homepage courses. */
#page .py-home-deals{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;padding:20px;margin:26px 0;border-radius:22px;background:linear-gradient(225deg,var(--deals-start),var(--deals-end));color:#fff;isolation:isolate;min-width:0;box-sizing:border-box}
#page .py-home-deals[hidden],.py-home-deals [hidden]{display:none!important}.py-deals-lead{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;min-width:0}.py-deals-kicker{font-size:12px;font-weight:500;line-height:1.9;color:#fff}html[data-py-theme] body #page .py-home-deals .py-deals-lead h2{font-size:25px;line-height:1.7;letter-spacing:-.7px;color:#fff;margin:0;font-weight:800;max-width:150px}.py-deals-art{width:82px;height:74px;flex:none;filter:drop-shadow(0 6px 12px #8b143633)}.py-deals-timer{display:grid;gap:6px}.py-deals-timer>span{font-size:12px;font-weight:500;line-height:1.8;color:#fff}.py-deals-clock{display:flex;align-items:center;justify-content:center;gap:4px;font-variant-numeric:tabular-nums}.py-deals-clock b{display:grid;place-items:center;min-width:32px;height:34px;border-radius:7px;background:#fff;color:#3f1831;font-size:17px;font-weight:700;box-shadow:0 3px 10px #6a142329}.py-deals-clock i{font-style:normal}.py-deals-all{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;color:#fff!important;font-size:14px;font-weight:650;line-height:1.8;text-decoration:none!important}.py-deals-all svg{width:16px;height:16px}.py-deals-catalog{min-width:0;position:relative}.py-deals-stage{min-width:0;border-radius:16px}.py-deals-stage:not(.swiper-initialized){overflow-x:auto}.py-home-deals ul.swiper-wrapper{list-style:none!important;display:flex;align-items:stretch;padding:0!important;margin:0!important;height:auto;box-sizing:content-box}
/* Cover padding and title sizes inherit the homepage course-card settings. */
#page .py-home-deals li.py-deal-card{margin-block:0!important;padding:var(--deals-cover-padding,4px);flex-shrink:0;height:auto;box-sizing:border-box;border:1px solid var(--py-c-border);border-radius:16px;background:var(--py-c-surface);color:var(--py-c-text);min-width:0;overflow:hidden;transition:border-color .2s,box-shadow .2s}.py-deals-stage:not(.swiper-initialized) .py-deal-card{width:230px;margin-inline-end:var(--deals-gap)!important}.py-deal-link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:inherit!important;min-width:0}.py-deal-cover{position:relative;display:block;width:100%;aspect-ratio:2/3;flex:none;align-self:center;overflow:hidden;border-radius:12px;background:var(--py-c-raised)}#page .py-deal-cover img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;border-radius:0;margin:0;user-select:none}.py-deal-overlay{position:absolute;inset:auto 0 0;padding:56px 12px 13px;background:linear-gradient(180deg,transparent 0%,rgba(4,15,29,.82) 40%,rgba(4,15,29,.97) 100%);color:#fff;text-shadow:0 1px 4px #0006;pointer-events:none}
html[data-py-theme] body #page .py-home-deals .py-deal-overlay h3{font-size:var(--deals-title-desktop,16px);font-weight:var(--deals-weight);line-height:1.85;color:#fff;-webkit-text-fill-color:#fff;margin:0;min-height:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.py-deal-badge{grid-column:2;grid-row:2;align-self:center;justify-self:end;display:inline-flex;align-items:center;white-space:nowrap;line-height:1.6;padding:4px 8px;border-radius:8px;background:var(--deals-end);color:white;font-size:15px;font-weight:700;box-shadow:0 3px 14px #0002}.py-deal-badge bdi{direction:ltr;unicode-bidi:isolate}.py-deal-empty{display:grid;place-items:center;height:100%;font-size:35px;color:var(--py-c-link)}
#page .py-deal-price{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 8px;align-content:end;align-items:center;flex:1;min-width:0;box-sizing:border-box;margin:0;padding:10px 9px 9px;width:100%;font-size:19px;color:var(--py-c-heading);font-weight:700}.py-home-deals .py-card-pricing{display:contents!important;font-variant-numeric:tabular-nums;line-height:1.6}.py-home-deals .py-catalog-price-discount{display:none!important}.py-home-deals .py-card-pricing del{grid-column:1 / -1;grid-row:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 6px;min-width:0;min-height:34px;margin:0;padding:5px 7px;border:1px solid var(--py-c-border);border-radius:5px;background:var(--py-c-raised);color:var(--py-c-priceold,var(--py-c-muted));font-size:14px;font-weight:650;line-height:1.6;opacity:1;text-decoration:none}.py-home-deals .py-card-pricing del:before{content:attr(data-py-price-label);font-size:10px;line-height:1.8;color:inherit;white-space:nowrap}.py-home-deals del .amount{display:inline-flex;white-space:nowrap;text-decoration:line-through;text-decoration-thickness:1px;color:inherit}.py-home-deals .amount bdi{display:inline-flex;align-items:baseline;gap:5px;direction:rtl;white-space:nowrap}.py-home-deals del bdi{text-decoration:none}.py-home-deals .py-card-pricing ins{grid-column:1;grid-row:2;display:flex;align-items:center;gap:5px;padding:0;margin:0;background:transparent;color:var(--py-c-heading);font-size:19px;font-weight:750;text-decoration:none;min-width:0}.py-home-deals .py-card-pricing>.amount{grid-column:1;grid-row:2}.py-home-deals .py-card-pricing .woocommerce-Price-currencySymbol{font-size:10px;font-weight:500}
/* Keep navigation over the card track so it adds no height. */
.py-deals-catalog{align-self:center}
.py-deals-controls{position:absolute;inset:0;z-index:4;pointer-events:none}
.py-deals-stage:not(.swiper-initialized) + .py-deals-controls{display:none}
#page .py-home-deals .py-deals-controls button{position:absolute;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;box-sizing:border-box;padding:0;margin:0;background:#fff;color:#8d1c36;border:1px solid #fff;border-radius:50%;box-shadow:0 2px 8px #1b142453;cursor:pointer;line-height:1;pointer-events:auto}
.py-deals-controls :is([data-deals-prev],[data-deals-next]){inset-block-start:50%;transform:translateY(-50%)}
.py-deals-controls [data-deals-prev]{inset-inline-start:8px}
.py-deals-controls [data-deals-next]{inset-inline-end:8px}
.py-deals-controls :is([data-deals-prev],[data-deals-next]):is(:disabled,.swiper-button-disabled,.swiper-button-lock){visibility:hidden}
.py-deals-controls svg{display:block;width:18px;height:18px;flex:none}
.py-deals-controls [data-deals-position]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;direction:ltr;unicode-bidi:isolate}
@media(max-width:1024px){#page .py-home-deals .py-deals-stage.py-deals-can-drag + .py-deals-controls :is([data-deals-prev],[data-deals-next]):not(:focus-visible){opacity:0;pointer-events:none}}
.py-home-deals :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:3px}.py-deal-link:focus-visible{outline-color:var(--py-c-link)!important;outline-offset:-2px!important;border-radius:12px}.py-home-deals .py-deal-card:focus-within{border-color:var(--py-c-link)}
@media(hover:hover){#page .py-home-deals .py-deal-card:hover{border-color:var(--py-c-link);box-shadow:0 5px 18px #0e294714}}
@media(min-width:601px) and (max-width:1024px){#page .py-home-deals{grid-template-columns:140px minmax(0,1fr);gap:12px;padding:16px;border-radius:18px;margin-block:22px}.py-deals-art{width:66px;height:60px}html[data-py-theme] body #page .py-home-deals .py-deals-lead h2{font-size:22px}html[data-py-theme] body #page .py-home-deals .py-deal-overlay h3{font-size:var(--deals-title-tablet,15px)}}
@media(max-width:600px){#page .py-home-deals{display:block;padding:14px 10px 10px;margin:18px 0;border-radius:16px}.py-deals-lead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;text-align:right;margin-bottom:12px}html[data-py-theme] body #page .py-home-deals .py-deals-lead h2{font-size:17px;max-width:none;letter-spacing:-.3px;grid-column:1;grid-row:1}.py-deals-art,.py-deals-kicker{display:none}.py-deals-timer{grid-column:2;grid-row:1 / span 2;gap:4px;text-align:center}.py-deals-clock b{min-width:26px;height:28px;font-size:14px;border-radius:5px}.py-deals-clock{gap:3px}.py-deals-timer>span{font-size:11px;font-weight:500}.py-deals-all{grid-column:1;grid-row:2;justify-content:flex-start;min-height:32px;font-size:12px;gap:4px}.py-deals-all svg{width:13px;height:13px}.py-deal-overlay{padding:40px 10px 11px}html[data-py-theme] body #page .py-home-deals .py-deal-overlay h3{font-size:var(--deals-title-mobile,14px)}.py-deal-badge{font-size:13px;padding:4px 7px}#page .py-deal-price{padding:8px 7px 7px}.py-home-deals .py-card-pricing ins{font-size:17px}.py-deals-stage{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.py-home-deals *{transition:none!important;animation:none!important}}
