/* ═══════════════════════════════════════════════════════════
   Webstore — Modern Component Overrides
   Loaded last to restyle legacy markup without changing JS
   ═══════════════════════════════════════════════════════════ */

/* ── Section titles ── */
.tit1 {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--ws-muted) !important;
    text-align: center !important;
    padding: 1rem 1.25rem 0.75rem !important;
    border-bottom: 1px solid var(--ws-line);
    background: #f8fafc;
}

.tit1 i { display: none !important; }

/* Tickets / Rentals / Promos header sits above the visit-date card */
.tit1.tit1--dated {
    display: none !important;
    margin: 0 0 0.75rem !important;
    border-radius: var(--ws-radius-sm);
    border: 1px solid var(--ws-line);
}

.tit1.tit1--dated.is-visible,
.tit1.tit1--dated:not([hidden]) {
    display: block !important;
}

.tit2 a.lin2 {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    background: var(--ws-brand);
    color: #fff !important;
    border-radius: var(--ws-radius-pill);
    font-weight: 700;
    text-decoration: none !important;
}

/* ── Item cards (catalog) ── */
/*
  DOM: .items > .items-panel > .container > .contentN > .item-row
  Cards append into .contentN. Only one .contentN is visible at a time.
  NEVER put display:grid !important on .contentN without also forcing
  .contentN.hidden { display:none !important } — otherwise all 4 panels
  stay visible and crush the layout.
*/

.ws-app .items,
.ws-app .items-panel,
.ws-app .items .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.ws-app .items-panel {
    display: none;
    flex-direction: column;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    border-radius: 0 !important;
}

.ws-app .items.is-active .items-panel {
    display: flex !important;
}

.ws-app .items .container {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    position: static !important;
}

.ws-app .itemTabs {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hidden must beat grid — critical */
.ws-app .items .content1.hidden,
.ws-app .items .content2.hidden,
.ws-app .items .content3.hidden,
.ws-app .items .content4.hidden,
.items-panel .content1.hidden,
.items-panel .content2.hidden,
.items-panel .content3.hidden,
.items-panel .content4.hidden {
    display: none !important;
}

/* Visible panels become the card grid */
.ws-app .items .content1:not(.hidden),
.ws-app .items .content2:not(.hidden),
.ws-app .items .content3:not(.hidden),
.ws-app .items .content4:not(.hidden):not(.is-lockers-form),
.items-panel .content1:not(.hidden),
.items-panel .content2:not(.hidden),
.items-panel .content3:not(.hidden),
.items-panel .content4:not(.hidden):not(.is-lockers-form) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    row-gap: 1rem !important;
    column-gap: 1rem !important;
    padding: 0.75rem 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    align-items: stretch;
    box-sizing: border-box;
}

/* Lockers form: single centered panel, not a card grid */
.ws-app .items .content4.is-lockers-form:not(.hidden),
.items-panel .content4.is-lockers-form:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.85rem !important;
    padding: 0 0 1.5rem !important;
    grid-template-columns: none !important;
}

.ws-app .items .content4.is-lockers-form .tit1--lockers,
.items-panel .content4.is-lockers-form .tit1--lockers {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 0.15rem !important;
    border: 1px solid var(--ws-line);
    border-radius: var(--ws-radius-sm);
}

.ws-app .items .content4.is-lockers-form #lockersContent,
.ws-app .items .content4.is-lockers-form #lockersInfo,
.items-panel .content4.is-lockers-form #lockersContent,
.items-panel .content4.is-lockers-form #lockersInfo {
    width: min(640px, 100%) !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-column: auto !important;
}

.ws-app .items .content4.is-lockers-form .lockers-panel,
.items-panel .content4.is-lockers-form .lockers-panel {
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.ws-app .items .content1 > .tit1,
.ws-app .items .content2 > .tit1,
.ws-app .items .content3 > .tit1,
.ws-app .items .content4 > .tit1,
.items-panel .content1 > .tit1,
.items-panel .content2 > .tit1,
.items-panel .content3 > .tit1,
.items-panel .content4 > .tit1 {
    grid-column: 1 / -1;
    border-radius: var(--ws-radius-sm);
    margin: 0 !important;
}

.items-message {
    grid-column: 1 / -1;
    padding: 1.25rem !important;
    border-radius: var(--ws-radius-sm);
    margin: 0 !important;
}

@media (min-width: 641px) {
    .ws-app .items .content1:not(.hidden),
    .ws-app .items .content2:not(.hidden),
    .ws-app .items .content3:not(.hidden),
    .ws-app .items .content4:not(.hidden):not(.is-lockers-form),
    .items-panel .content1:not(.hidden),
    .items-panel .content2:not(.hidden),
    .items-panel .content3:not(.hidden),
    .items-panel .content4:not(.hidden):not(.is-lockers-form) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        padding: 0.85rem 0 !important;
    }
}

@media (min-width: 900px) {
    .ws-app .items .content1:not(.hidden),
    .ws-app .items .content2:not(.hidden),
    .ws-app .items .content3:not(.hidden),
    .ws-app .items .content4:not(.hidden):not(.is-lockers-form),
    .items-panel .content1:not(.hidden),
    .items-panel .content2:not(.hidden),
    .items-panel .content3:not(.hidden),
    .items-panel .content4:not(.hidden):not(.is-lockers-form) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

.item-row,
.item-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #dbe7f2 !important;
    border-bottom: 1px solid #dbe7f2 !important;
    border-radius: 16px !important;
    background: var(--ws-surface) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 6px 16px rgba(15, 23, 42, 0.08),
        0 14px 28px -12px rgba(9, 118, 188, 0.22) !important;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

/* Overrides item-row display:flex when toggling family permit visibility */
.item-row.ws-item-row--hidden,
.item-card.ws-item-row--hidden {
    display: none !important;
}

/* Family Trail Permit — locked (prerequisites not met) */
.ws-family-trail-permit--locked {
    opacity: 0.72;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.ws-family-trail-permit--locked .item-qty-btn.plus,
.ws-family-trail-permit--locked .item-qty-btn.ws-item-qty-btn--disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.ws-family-trail-notice {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.3rem 0.65rem;
    display: inline-block;
}

.item-row:hover,
.item-card:hover {
    background: #fff !important;
    border-color: #b9d7ef !important;
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.05),
        0 12px 28px rgba(15, 23, 42, 0.1),
        0 18px 36px -14px rgba(9, 118, 188, 0.28) !important;
}

.item-row--tall {
    min-height: auto;
}

.item-row__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, #e8f3fb 0%, #d7e8f6 55%, #c4daf0 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.item-row__media img,
.item-row__media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.item-row__media-img.is-loaded {
    opacity: 1;
}

.item-row__media-img.is-failed {
    display: none;
}

.item-row__media-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    background: inherit;
}

.item-row__media-fallback i {
    font-size: 2rem;
    color: rgba(9, 118, 188, 0.55);
}

.item-row__media--has-image:not(.is-ready)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.35) 45%,
        transparent 65%
    );
    background-size: 200% 100%;
    animation: itemMediaShimmer 1.2s ease-in-out infinite;
}

.item-row__media--has-image.is-ready::after,
.item-row__media--has-image.is-failed::after {
    display: none;
}

@keyframes itemMediaShimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -80% 0; }
}

.item-row__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-row__media--placeholder i {
    font-size: 2rem;
    color: rgba(9, 118, 188, 0.55);
}

.item-row[data-cat="rental"] .item-row__media--placeholder,
.item-row[data-cat="rental"] .item-row__media--has-image {
    background: linear-gradient(145deg, #e8f7ff, #d0ebf8);
}
.item-row[data-cat="promo"] .item-row__media--placeholder,
.item-row[data-cat="promo"] .item-row__media--has-image {
    background: linear-gradient(145deg, #f3e8ff, #e9d5ff);
}
.item-row[data-cat="lesson"] .item-row__media--placeholder,
.item-row[data-cat="lesson"] .item-row__media--has-image {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
}
.item-row[data-cat="pass"] .item-row__media--placeholder,
.item-row[data-cat="pass"] .item-row__media--has-image {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
}
.item-row[data-cat="parking"] .item-row__media--placeholder,
.item-row[data-cat="parking"] .item-row__media--has-image {
    background: linear-gradient(145deg, #fff7ed, #ffedd5);
}
.item-row[data-cat="limited"] .item-row__media--placeholder,
.item-row[data-cat="limited"] .item-row__media--has-image {
    background: linear-gradient(145deg, #fefce8, #fef08a);
}
.item-row[data-cat="event"] .item-row__media--placeholder,
.item-row[data-cat="event"] .item-row__media--has-image {
    background: linear-gradient(145deg, #7bcbed, #9cadfd);
}

.item-row__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 0.9rem 0.95rem 0.95rem;
}

.item-row__info {
    min-width: 0;
    flex: 1;
    margin-bottom: 0.85rem;
}

.item-row__title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--ws-text) !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem;
}

.item-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    background: #eff6ff;
    color: var(--ws-brand);
    border-radius: 4px;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.item-row__desc,
.item-row__meta {
    font-size: 0.8rem !important;
    color: var(--ws-muted) !important;
    margin-top: 0.2rem;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-row__more {
    display: inline-flex;
    align-items: center;
    margin-top: 0.45rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--ws-brand);
    font-family: var(--ws-font);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.item-row__more:hover { color: var(--ws-brand-deep); }

.item-row__footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ws-line);
}

.item-row__aside {
    display: none !important;
}

.item-row__commerce {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    min-width: 0;
}

.item-row__price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--ws-brand-deep) !important;
    background: transparent !important;
    padding: 0 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.item-row__stock {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: var(--ws-muted) !important;
    text-align: left;
    line-height: 1.3 !important;
    background: transparent !important;
    padding: 0 !important;
}

.item-row__stock-val { font-weight: 800; color: var(--ws-text); }

.item-qty-group {
    display: inline-flex !important;
    align-items: center;
    background: #f1f5f9;
    border-radius: var(--ws-radius-pill);
    padding: 0.2rem;
    border: 1px solid var(--ws-line);
    flex-shrink: 0;
}

.item-qty-btn,
.minus, .plus,
.minus2, .plus2, .minus3, .plus3,
.minus8, .plus8, .minus9, .plus9 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.1rem !important;
    height: 2.1rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--ws-brand) !important;
    background: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    transition: background 0.12s, transform 0.1s;
    line-height: 1 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
}

.item-qty-btn:hover,
.minus:hover, .plus:hover {
    background: var(--ws-brand) !important;
    color: #fff !important;
    transform: scale(1.05);
}

.item-row__count,
.item-qty-group [id^="cont"],
.item-qty-group [id$="_count"] {
    min-width: 1.75rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ws-text);
}

.scheduled-item {
    display: contents;
}

.scheduled-item .item-row {
    width: 100%;
}

.scheduled-item__details,
.scheduled-item__toggle {
    display: none !important;
}

/* Item details modal */
.item-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.item-detail-modal[style*="display: block"],
.item-detail-modal[style*="display:flex"],
.item-detail-modal[style*="display: flex"] {
    display: flex !important;
}

.item-detail-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(420px, 94vw);
    max-height: min(80vh, 640px);
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--ws-line);
    box-shadow: var(--ws-shadow-lg);
    padding: 0;
}

.item-detail-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 1rem 1rem 0.95rem 1.15rem;
    background: #fff;
    border-bottom: 1px solid var(--ws-line);
}

.item-detail-modal__close {
    position: static;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--ws-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.item-detail-modal__close:hover {
    background: #e2e8f0;
    color: var(--ws-text);
}

.item-detail-modal__media {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--ws-brand);
    margin: 0;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.item-detail-modal__title {
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ws-text);
    line-height: 1.3;
}

.item-detail-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.15rem 1.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(9, 118, 188, 0.5) #f1f5f9;
}

.item-detail-modal__body::-webkit-scrollbar {
    width: 8px;
}

.item-detail-modal__body::-webkit-scrollbar-thumb {
    background: rgba(9, 118, 188, 0.55);
    border-radius: 999px;
}

.item-detail-modal__desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
    white-space: pre-wrap;
}

.items-message {
    padding: 2rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--ws-muted);
}

.items-notice {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 500;
}

.items-warn,
#warn2.items-message {
    grid-column: 1 / -1;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 500;
}

.items-warn strong,
#warn2.items-message strong {
    font-weight: 700;
    color: #b91c1c;
}

/* Skeleton shimmer (shared) */
.ws-skel {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.ws-skel::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
    animation: wsShimmer 1.1s ease-in-out infinite;
}

@keyframes wsShimmer {
    100% { transform: translateX(100%); }
}

.ws-items-skeleton {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 0.25rem 0 0.5rem;
}

@media (min-width: 900px) {
    .ws-items-skeleton {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ws-item-skeleton-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.95rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ws-skel--thumb {
    width: 100%;
    height: 128px;
    border-radius: 14px;
    background: #e5e7eb;
}

.ws-skel--line {
    margin-top: 10px;
    height: 14px;
    width: 88%;
    border-radius: 10px;
}

.ws-skel--line-lg {
    height: 16px;
    width: 95%;
}

.ws-skel--line-sm {
    width: 70%;
}

.viewImageButton {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem !important;
    margin-top: 0.15rem;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--ws-brand) !important;
    background: #eff6ff !important;
    border-radius: 999px !important;
    cursor: pointer;
    border: 1px solid #dbeafe;
}

.items-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.items-panel .container > br,
.items-panel .content1 > br,
.items-panel .content2 > br,
.items-panel .content3 > br,
.items-panel .content4 > br {
    display: none !important;
}
.itemTab {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0.75rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--ws-muted) !important;
    background: transparent !important;
    border: none !important;
    border-radius: var(--ws-radius-sm) !important;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    text-transform: none !important;
    letter-spacing: 0 !important;
    position: static !important;
    top: auto !important;
    width: auto !important;
    margin: 0 !important;
}

.itemTab i, .itemTab .tabIcon { color: inherit !important; font-size: 0.95rem !important; }

.itemTab.active,
.active.itemTab {
    background: #fff !important;
    color: var(--ws-brand) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

/* ── Modals / overlays ── */
.hover_bkgr_fricc,
.hover_bkgr_fricc2,
.hover_bkgr_fricc3,
.hover_bkgr_fricc5 {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000 !important;
}

/* Skier-type help must stack above the rental modal (fricc2) */
.hover_bkgr_fricc5 {
    z-index: 2100 !important;
}

.hover_bkgr_fricc .helper,
.hover_bkgr_fricc2 .helper,
.hover_bkgr_fricc3 .helper,
.hover_bkgr_fricc5 .helper {
    display: none !important;
}

.hover_bkgr_fricc > div,
.hover_bkgr_fricc2 > div,
.hover_bkgr_fricc3 > div,
.hover_bkgr_fricc5 > div {
    position: relative !important;
    width: min(440px, 94vw) !important;
    max-height: min(90vh, 720px) !important;
    overflow-y: auto !important;
    margin: auto !important;
    top: auto !important;
    left: auto !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
    background: var(--ws-surface) !important;
    border-radius: var(--ws-radius) !important;
    box-shadow: var(--ws-shadow-lg) !important;
    border: 1px solid var(--ws-line);
}

/* Cart modal shell: narrow for waiver/refund; wide only with --checkout */
body.cart-store .hover_bkgr_fricc2 {
    overflow: hidden !important;
    padding: 0.75rem !important;
    box-sizing: border-box !important;
}

body.cart-store .hover_bkgr_fricc2 > div {
    width: min(520px, 100%) !important;
    max-width: min(520px, 100%) !important;
    max-height: min(90dvh, 780px) !important;
    height: min(90dvh, 720px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Wide shell only while checkout form (#msg3) is active */
body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout > div {
    width: min(1180px, 100%) !important;
    max-width: min(1180px, 100%) !important;
    height: min(92dvh, 920px) !important;
    max-height: min(92dvh, 920px) !important;
}

body.cart-store .hover_bkgr_fricc2 .popupCloseButton2 {
    position: absolute !important;
    top: 0.65rem !important;
    right: 0.65rem !important;
    z-index: 5 !important;
}

body.cart-store .hover_bkgr_fricc2 #msg2.ws-step,
body.cart-store .hover_bkgr_fricc2 #msg2 {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box;
    color: var(--ws-text);
}

body.cart-store .hover_bkgr_fricc2 #msg66 {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 2.35rem 1.15rem 0.85rem !important;
    box-sizing: border-box;
}

body.cart-store .hover_bkgr_fricc2 #msg3 {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden !important;
    padding: 0 !important;
    box-sizing: border-box;
    -webkit-user-select: text !important;
    user-select: text !important;
}

@media (max-width: 860px) {
    /* Mobile checkout: scroll the modal panel itself (nested overflow:hidden breaks iOS). */
    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout {
        padding: 0 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
    }

    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout > div {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain;
        -webkit-user-select: text !important;
        user-select: text !important;
        touch-action: pan-y;
    }

    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout #msg3,
    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout #msg3.ws-checkout {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        min-height: 100% !important;
        overflow: visible !important;
    }
}

/* Redesigned checkout: disable legacy ::before title and float chrome */
body.cart-store .hover_bkgr_fricc2 #msg3.ws-checkout::before {
    content: none !important;
    display: none !important;
}

body.cart-store .hover_bkgr_fricc2 #msg3.ws-checkout .bx1:not(.hidden):not(.skiInsureCheckbox):not(.RCheckbox):not(.height) {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.cart-store .hover_bkgr_fricc2 #msg3.ws-checkout .buton5,
body.cart-store .hover_bkgr_fricc2 #msg3.ws-checkout #process {
    /* margin-top: 0 !important; */
}

body.cart-store .hover_bkgr_fricc2 #msg66 .bx1[style*="padding"] {
    padding: 0.65rem 0 !important;
}

body.cart-store .hover_bkgr_fricc2 #msg2.ws-step .buton4,
body.cart-store .hover_bkgr_fricc2 #msg2.ws-step #add2 {
    margin: 0 !important;
}

body.cart-store .hover_bkgr_fricc2 #msg66 .buton4 {
    margin-top: 0.5rem !important;
    padding: 0.7rem 1rem !important;
}

@media (max-height: 760px) {
    body.cart-store .hover_bkgr_fricc2 > div {
        max-height: calc(100dvh - 1.5rem) !important;
    }

    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout > div {
        max-height: calc(100dvh - 1.5rem) !important;
    }
}

@media (max-width: 860px) and (max-height: 760px) {
    body.cart-store .hover_bkgr_fricc2.ws-cart-overlay--checkout > div {
        height: 100dvh !important;
        max-height: 100dvh !important;
    }
}

/* Narrow default for shop overlays — cart page uses body.cart-store rule above */
body.store:not(.cart-store) .hover_bkgr_fricc2 > div {
    width: min(480px, 94vw) !important;
}

.popupCloseButton,
.popupCloseButton2,
.popupCloseButton3,
.popupCloseButton5 {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 2rem !important;
    height: 2rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    color: var(--ws-muted) !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    cursor: pointer;
    z-index: 2;
    transition: background 0.12s, color 0.12s;
}

.popupCloseButton:hover,
.popupCloseButton2:hover,
.popupCloseButton3:hover,
.popupCloseButton5:hover {
    background: #e2e8f0 !important;
    color: var(--ws-text) !important;
}

/* Form fields in overlays — only visible rows */
.hover_bkgr_fricc2 .hidden,
.hover_bkgr_fricc3 .hidden,
.hover_bkgr_fricc .hidden,
#msg2 .hidden,
#msg3 .hidden,
#msg66.hidden,
.hover_bkgr_fricc2 .bx1.hidden,
#msg2 .bx1.hidden,
#msg3 .bx1.hidden,
.passh1.hidden,
.passh2.hidden,
.passh3.hidden,
.passh4.hidden,
.passnote.hidden {
    display: none !important;
}

.hover_bkgr_fricc2 .ws-permit-qty {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    width: auto !important;
    float: none !important;
}

.hover_bkgr_fricc2 .ws-permit-qty #permitQty {
    width: 3.2rem !important;
    height: 2.1rem !important;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid var(--ws-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--ws-text);
    padding: 0 !important;
    -moz-appearance: textfield;
}

.hover_bkgr_fricc2 .ws-permit-qty #permitQty::-webkit-outer-spin-button,
.hover_bkgr_fricc2 .ws-permit-qty #permitQty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hover_bkgr_fricc2 #msg2 .bx1:not(.hidden):not(.skiInsureCheckbox):not(.RCheckbox):not(.height),
.hover_bkgr_fricc2 #msg3 .bx1:not(.hidden):not(.skiInsureCheckbox):not(.RCheckbox):not(.height),
#msg2 .bx1:not(.hidden):not(.skiInsureCheckbox):not(.RCheckbox):not(.height),
#msg3 .bx1:not(.hidden):not(.skiInsureCheckbox):not(.RCheckbox):not(.height) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    width: 100% !important;
    padding: 0.4rem 0 !important;
    float: none !important;
    clear: both;
}

/* Checkout: keep Gift Card Balance row hidden unless explicitly shown */
.hover_bkgr_fricc2 #msg3 .bx1.giftCardBalance,
#msg3 .bx1.giftCardBalance {
    display: none !important;
}

.hover_bkgr_fricc2 #msg3 .bx1.giftCardBalance.is-visible,
#msg3 .bx1.giftCardBalance.is-visible {
    display: flex !important;
}

.hover_bkgr_fricc2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:first-child,
#msg2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:first-child,
#msg3 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:first-child {
    flex: 0 0 38% !important;
    width: 38% !important;
    float: none !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--ws-muted) !important;
    height: auto !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.hover_bkgr_fricc2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:last-child,
#msg2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:last-child,
#msg3 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:last-child {
    flex: 1 1 58% !important;
    width: auto !important;
    float: none !important;
    height: auto !important;
}

/* Full-width notice rows — never treated as label/value columns */
.hover_bkgr_fricc2 .bx1.RCheckbox > div,
.hover_bkgr_fricc2 .bx1.skiInsureCheckbox > div,
#msg2 .bx1.RCheckbox > div,
#msg2 .bx1.skiInsureCheckbox > div,
#msg3 .bx1.RCheckbox > div,
#msg3 .bx1.skiInsureCheckbox > div {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    height: auto !important;
}

/* Height row: label left, feet + inches share remaining width (2 DOM children, not 3) */
.hover_bkgr_fricc2 #msg2 .bx1.height:not(.hidden),
.hover_bkgr_fricc2 #msg3 .bx1.height:not(.hidden),
#msg2 .bx1.height:not(.hidden),
#msg3 .bx1.height:not(.hidden) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.5rem 0.75rem !important;
    width: 100% !important;
}

.hover_bkgr_fricc2 .bx1.height > div:first-child,
#msg2 .bx1.height > div:first-child,
#msg3 .bx1.height > div:first-child {
    flex: 0 0 38% !important;
    width: 38% !important;
    max-width: 38% !important;
    white-space: nowrap;
}

.hover_bkgr_fricc2 .bx1.height > .ws-height-controls,
#msg2 .bx1.height > .ws-height-controls,
#msg3 .bx1.height > .ws-height-controls {
    flex: 1 1 62% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: auto !important;
    float: none !important;
    height: auto !important;
}

.hover_bkgr_fricc2 .bx1.height .ws-height-controls__field,
#msg2 .bx1.height .ws-height-controls__field,
#msg3 .bx1.height .ws-height-controls__field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.hover_bkgr_fricc2 .bx1.height .ws-height-controls #feet,
.hover_bkgr_fricc2 .bx1.height .ws-height-controls #inches,
#msg2 .bx1.height .ws-height-controls #feet,
#msg2 .bx1.height .ws-height-controls #inches,
#msg3 .bx1.height .ws-height-controls #feet,
#msg3 .bx1.height .ws-height-controls #inches {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box;
}

.hover_bkgr_fricc2 input[type="text"],
.hover_bkgr_fricc2 input[type="tel"],
.hover_bkgr_fricc2 input[type="email"],
.hover_bkgr_fricc2 input[type="password"],
.hover_bkgr_fricc2 select,
.hover_bkgr_fricc2 textarea,
#msg2 input, #msg2 select, #msg2 textarea,
#msg3 input, #msg3 select {
    width: 100% !important;
    padding: 0.6rem 0.75rem !important;
    font-family: var(--ws-font) !important;
    font-size: 0.9rem !important;
    border: 1.5px solid var(--ws-line) !important;
    border-radius: var(--ws-radius-sm) !important;
    background: #fff !important;
    color: var(--ws-text) !important;
    outline: none;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.hover_bkgr_fricc2 input:focus,
.hover_bkgr_fricc2 select:focus,
#msg2 input:focus, #msg3 input:focus {
    border-color: var(--ws-brand) !important;
    box-shadow: 0 0 0 3px rgba(9, 118, 188, 0.12) !important;
}

#msg3.ws-checkout input:focus,
#msg3.ws-checkout select:focus {
    border: none !important;
    box-shadow: none !important;
}

#msg2 > p, #msg3 > br:first-child { display: none; }

#msg2.ws-step::before,
#msg2::before {
    content: none !important;
    display: none !important;
}

/* #msg3::before {
    content: "Checkout";
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ws-text);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
} */

#msg66::before {
    content: "Before you continue";
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

#msg66 font[color="red"] { color: var(--ws-danger) !important; font-weight: 700; }

#msg66 ul {
    font-size: 0.85rem !important;
    color: var(--ws-muted);
    padding-left: 1.1rem;
    line-height: 1.5;
}

/* Action buttons */
.buton4, .buton5,
#add1, #add2, #process {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.75rem auto 0 !important;
    padding: 0.85rem 1.5rem !important;
    font-family: var(--ws-font) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: linear-gradient(180deg, #0a85d4 0%, #0976bc 100%);
    border: none !important;
    border-radius: var(--ws-radius-pill) !important;
    box-shadow: 0 6px 20px -4px rgba(9, 118, 188, 0.4) !important;
    cursor: pointer;
    position: static !important;
    top: auto !important;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
}

.buton4:hover, .buton5:hover, #add1:hover, #add2:hover, #process:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px -4px rgba(9, 118, 188, 0.5) !important;
}

/* Force white text on primary blue actions inside overlays/forms */
.hover_bkgr_fricc2 #add2,
#msg2 #add2,
#msg3 #add2,
.hover_bkgr_fricc2 #process,
#msg3 #process,
.hover_bkgr_fricc2 #add1,
#msg2 #add1,
#msg3 #add1,
.hover_bkgr_fricc2 .buton4,
.hover_bkgr_fricc2 .buton5 {
    color: #fff !important;
}

/* Waiver textarea */
.are, #waiv {
    width: 100% !important;
    min-height: 160px !important;
    max-height: none !important;
    flex: 1 1 auto;
    padding: 0.85rem 1rem !important;
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    border: 1px solid var(--ws-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--ws-text) !important;
    font-family: var(--ws-font) !important;
    resize: none;
    box-sizing: border-box !important;
}

#msg2.ws-step #waiv {
    min-height: 180px !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

/* Lesson / locker modals */
.modal {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px);
}

.modal-content {
    background: var(--ws-surface) !important;
    border-radius: var(--ws-radius) !important;
    box-shadow: var(--ws-shadow-lg) !important;
    border: 1px solid var(--ws-line);
    max-width: min(680px, 94vw) !important;
    width: min(680px, 94vw) !important;
    margin: 1rem auto !important;
    padding: 0 !important;
    overflow: hidden;
}

@media (min-width: 900px) {
    .modal-content {
        max-width: min(720px, 92vw) !important;
        width: min(720px, 92vw) !important;
    }
}

.modalSearchInputs {
    padding: 1.25rem 1.25rem 0.75rem !important;
    background: #f8fafc;
    border-bottom: 1px solid var(--ws-line);
    position: relative;
}

.modal .close,
.modal .lesson_type {
    position: static !important;
    float: none !important;
}

.modal .close {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--ws-muted);
    cursor: pointer;
    z-index: 2;
}

.modal .lesson_type {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--ws-text) !important;
    padding-right: 2.5rem;
    margin: 0 0 0.75rem !important;
}

.modalTimeslotContainer {
    padding: 1rem 1.25rem 1.25rem !important;
    max-height: 55vh;
    overflow-y: auto;
}

.modalTimeslotContainer label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ws-muted);
    margin: 0.65rem 0 0.25rem;
}

.modalTimeslotContainer input,
.modalTimeslotContainer select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1.5px solid var(--ws-line);
    border-radius: var(--ws-radius-sm);
    font-family: var(--ws-font);
    font-size: 0.9rem;
}

/* Lessons / campers participant forms — fill modal width */
.modalTimeslotContainer:has(.lessonScheduleInformation) {
    max-height: min(72vh, 720px) !important;
}

.modalTimeslotContainer .modalTimes {
    width: 100%;
}

.modalTimeslotContainer .lessonScheduleInformation {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.modalTimeslotContainer .lessonScheduleInformation .customerInfoInput,
.modalTimeslotContainer .lessonScheduleInformation input:not([type="checkbox"]),
.modalTimeslotContainer .lessonScheduleInformation select,
.modalTimeslotContainer .lessonScheduleInformation textarea {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block;
}

.modalTimeslotContainer .lessonScheduleInformation .customerIndex {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
}

.modalTimeslotContainer .lessonScheduleInformation [class$="container"],
.modalTimeslotContainer .lessonScheduleInformation .height,
.modalTimeslotContainer .lessonScheduleInformation .weight,
.modalTimeslotContainer .lessonScheduleInformation .ability,
.modalTimeslotContainer .lessonScheduleInformation .equip,
.modalTimeslotContainer .lessonScheduleInformation .helmet,
.modalTimeslotContainer .lessonScheduleInformation .sex,
.modalTimeslotContainer .lessonScheduleInformation .shoe {
    width: 100%;
}

.modalTimeslotContainer .lessonScheduleInformation [class$="container"] > div,
.modalTimeslotContainer .lessonScheduleInformation .weight > div,
.modalTimeslotContainer .lessonScheduleInformation .ability > div,
.modalTimeslotContainer .lessonScheduleInformation .equip > div,
.modalTimeslotContainer .lessonScheduleInformation .helmet > div,
.modalTimeslotContainer .lessonScheduleInformation .sex > div,
.modalTimeslotContainer .lessonScheduleInformation .shoe > div {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    display: flex !important;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left !important;
    font-size: 0.9rem !important;
}

.modalTimeslotContainer .lessonScheduleInformation .height .ws-height-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.75rem;
    width: 100% !important;
    float: none !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    font-size: 0.9rem !important;
}

.modalTimeslotContainer .lessonScheduleInformation .height .ws-height-row__label {
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ws-muted);
    line-height: 1.4;
    white-space: nowrap;
}

.modalTimeslotContainer .lessonScheduleInformation .height .ws-height-controls {
    flex: 1 1 0;
    min-width: 0;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.75rem;
    width: 100% !important;
}

.modalTimeslotContainer .lessonScheduleInformation .height .ws-height-controls__field {
    flex: 1 1 0;
    min-width: 0;
    width: 100% !important;
}

.modalTimeslotContainer .lessonScheduleInformation .height .ws-height-controls select {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

.modalTimeslotContainer .lessonScheduleInformation .mobileAdjustments {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    height: auto !important;
}

.modalTimeslotContainer .lessonScheduleInformation select[class^="inventoryInput"]:not(.inventoryInputHeight1):not(.inventoryInputHeight2),
.modalTimeslotContainer .lessonScheduleInformation input[class^="inventoryInput"] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    transform: none !important;
    margin: 0 !important;
}

.modalTimeslotContainer .lessonScheduleInformation .shoe > div {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.modalTimeslotContainer .lessonScheduleInformation .inventoryInputShoe1,
.modalTimeslotContainer .lessonScheduleInformation .inventoryInputShoe2 {
    width: auto !important;
    flex: 1 1 8rem;
    min-width: 7rem;
    float: none !important;
    margin: 0 !important;
}

.modalTimeslotContainer .lessonScheduleInformation [class^="lessonScheduleRentalInformation"] {
    width: 100%;
}

.modalTimeslotContainer:has(.lessonScheduleInformation) .customerInformationSubmit {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.slot_container {
    border: 1px solid var(--ws-line) !important;
    border-radius: var(--ws-radius-sm) !important;
    padding: 0.85rem !important;
    margin-bottom: 0.5rem !important;
    background: #f8fafc;
    transition: border-color 0.12s;
}

.slot_container:hover { border-color: var(--ws-brand) !important; }

.select {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--ws-brand);
    color: #fff;
    border-radius: var(--ws-radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* Lockers panel — aligned with Visit Date / ws-step card language */
#lockersContent,
#lockersInfo {
    width: min(640px, 100%) !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.lockers-panel {
    position: relative;
    background: var(--ws-surface) !important;
    border-radius: 20px !important;
    border: 1px solid var(--ws-line) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
    padding: 0 !important;
    max-width: 640px;
    margin: 0 auto;
    overflow: hidden;
}

.lockers-panel-header {
    background: transparent !important;
    color: inherit !important;
    padding: 1.35rem 1.4rem 0 !important;
    text-align: left !important;
}

.lockers-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.lockers-brand__icon {
    flex: 0 0 auto;
    width: 2.65rem;
    height: 2.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0976BC;
    font-size: 1.05rem;
}

.lockers-title {
    margin: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    color: #011c47 !important;
}

.lockers-intro {
    margin: 0.3rem 0 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    font-weight: 500 !important;
    max-width: none !important;
}

.lockers-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem 1.4rem 0.35rem !important;
    background: transparent !important;
    border-bottom: none !important;
}

.lockers-field label {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
}

.lockers-required {
    color: #ef4444;
}

.lockers-field input,
.lockers-field .customerInfoInput,
#lockerEmail,
#lockerName {
    width: 100% !important;
    max-width: none !important;
    min-height: 3rem;
    padding: 0.75rem 0.95rem !important;
    border: 1.5px solid var(--ws-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    font-family: var(--ws-font) !important;
    font-size: 0.95rem !important;
    color: var(--ws-text) !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.lockers-field input:focus,
#lockerEmail:focus,
#lockerName:focus {
    outline: none !important;
    border-color: #0976BC !important;
    box-shadow: 0 0 0 4px rgba(9, 118, 188, 0.12) !important;
}

.lockers-hint {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0.35rem 0 0;
    line-height: 1.4;
}

.lockers-form .lockerError {
    display: none;
    margin: 0.15rem 0 0;
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.lockers-form .lockerError:not(:empty) {
    display: block;
}

.lockers-aside {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.85rem 1.4rem 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #eaf6ff;
    color: #075985;
}

.lockers-aside__icon {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(9, 118, 188, 0.12);
    color: #0976BC;
    font-size: 0.9rem;
    margin-top: 0.05rem;
}

.lockers-aside__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #075985;
    line-height: 1.25;
}

.lockers-aside__text {
    margin: 0.3rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 500;
    color: #0c4a6e;
}

.lockers-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0 !important;
    padding: 1.1rem 1.4rem 1.35rem !important;
    background: transparent !important;
}

#lockerSubmit,
#lockerOpenWaitlist {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 2.85rem;
    padding: 0.75rem 1.15rem !important;
    font-family: var(--ws-font) !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    border-radius: 12px !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

#lockerSubmit {
    background: linear-gradient(135deg, #0976BC 0%, #0ea5e9 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 18px -10px rgba(9, 118, 188, 0.55) !important;
}

#lockerSubmit:hover {
    transform: translateY(-1px);
}

#lockerOpenWaitlist {
    background: #fff !important;
    color: #0976BC !important;
    border: 1.5px solid #bae6fd !important;
    box-shadow: none !important;
}

#lockerOpenWaitlist:hover {
    background: #f0f9ff !important;
}

.lockerClose {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 0.85rem !important;
    right: 0.85rem !important;
    width: 2rem !important;
    height: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 2;
}

.lockerClose:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.lockers-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    margin: 1.35rem 1.4rem 1.5rem;
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
}

.lockers-status__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dbeafe;
    color: #0976BC;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.lockers-status__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #075985;
}

.lockers-status__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #0c4a6e;
    font-weight: 500;
    max-width: 34ch;
}

#lockersInfo.lockers-results,
.lockers-results {
    background: #fff !important;
    border: 1px solid var(--ws-line) !important;
    border-radius: 20px !important;
    padding: 1rem 1.1rem !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

#lockersInfo[hidden] {
    display: none !important;
}

.lockersTable {
    border-collapse: collapse;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 0.85rem;
}

.lockersTable th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
}

.lockerToCart {
    background: linear-gradient(135deg, #0976BC 0%, #0ea5e9 100%) !important;
    border-radius: 10px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

/* Mobile: stack the lockers table into cards (no horizontal scroll) */
@media (max-width: 640px) {
    #lockersInfo.lockers-results,
    .lockers-results {
        padding: 0.75rem !important;
        overflow-x: visible !important;
    }

    .lockersTable {
        min-width: 0 !important;
        width: 100% !important;
        border-collapse: collapse;
        display: block;
    }

    .lockersTable thead,
    .lockersTable th {
        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;
    }

    .lockersTable tbody,
    .lockersTable tr,
    .lockersTable td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .lockersTable tr {
        margin: 0 0 0.75rem;
        padding: 0.35rem 0.85rem;
        background: #fff !important;
        border: 1px solid var(--ws-line);
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    }

    .lockersTable tr:last-child {
        margin-bottom: 0;
    }

    .lockersTable td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.55rem 0 !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        text-align: right;
        font-size: 0.9rem;
        color: var(--ws-text);
        word-break: break-word;
    }

    .lockersTable tr td:last-child {
        border-bottom: none !important;
    }

    .lockersTable td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #64748b;
        text-align: left;
    }

    .lockersTable td:empty {
        display: none !important;
    }

    .lockersTable .lockerToCart {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0.15rem 0 0.35rem;
        padding: 0.7rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .lockersTable td:has(.lockerToCart) {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .lockersTable td:has(.lockerToCart)::before {
        margin-bottom: 0.15rem;
    }

    .lockers-panel-header,
    .lockers-form,
    .lockers-actions {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }

    .lockers-aside {
        margin-left: 1.1rem;
        margin-right: 1.1rem;
    }

    .lockers-title {
        font-size: 1.2rem !important;
        padding-right: 1.75rem;
    }
}

.lockerWaiverModal-content {
    background: var(--ws-surface) !important;
    border-radius: var(--ws-radius) !important;
    box-shadow: var(--ws-shadow-lg) !important;
}

.lockerWaiverModal-content:not(.ws-step) {
    padding: 1.5rem !important;
    max-width: min(480px, 94vw) !important;
}

.acceptWaiverTerms,
.submitWaitlist {
    width: 100%;
    padding: 0.85rem;
    font-family: var(--ws-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: var(--ws-brand);
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

/* Givex gift card modal — base styles live in cart.css; keep overrides light */
.givex-background {
    display: none;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.givex-balance { color: #fff !important; }
.givex-addCard { color: #fff !important; }

/* Cart line items */
body.cart-store .content1 > div[style*="overflow"] {
    background: var(--ws-surface) !important;
    border-bottom: 1px solid var(--ws-line) !important;
    height: auto !important;
    min-height: 4.25rem;
    padding: 0.65rem 0 !important;
    display: flex !important;
    align-items: center;
}

body.cart-store .content1 .itit {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--ws-text) !important;
    line-height: 1.35 !important;
    height: auto !important;
}

body.cart-store .content1 .hlite,
body.cart-store .content1 .hlite2,
body.cart-store .content1 .hlite3,
body.cart-store .content1 .hlite10,
body.cart-store .content1 .hlite11 {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.12rem 0.4rem;
    background: #eff6ff;
    color: var(--ws-brand);
    border-radius: 4px;
    margin-right: 0;
}

body.cart-store .content1 .hlite3 {
    text-transform: none;
    letter-spacing: 0;
}

body.cart-store .content1 > div > div[style*="float:left"] {
    float: none !important;
    width: auto !important;
    flex: 1;
    padding: 0 1rem !important;
}

body.cart-store .content1 > div > div[style*="text-align: right"],
body.cart-store .content1 > div > div[style*="text-align: right"] {
    flex: 0 0 auto !important;
    width: auto !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: var(--ws-brand-deep) !important;
    padding: 0 1rem 0 0 !important;
}

body.cart-store .gtotal,
body.cart-store #pric {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--ws-brand-deep) !important;
    text-align: center;
    padding: 1rem !important;
    padding-right: 0 !important;
}

/* Scheduled items (lessons) */
.scheduled-item {
    border-bottom: 1px solid var(--ws-line);
    padding: 0.5rem 0;
}

.goBack {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ws-brand);
    cursor: pointer;
    margin-bottom: 0.5rem;
}

/* Visit date card — keep field chrome, not legacy blue button */
.ws-date-field #datepicker,
.ws-date-field #datepicker:hover,
.ws-date-field #datepicker:focus,
.ws-date-field #datepicker:active,
.ws-date-field #datepicker.is-selected {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #011c47 !important;
    -webkit-text-fill-color: #011c47 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    top: auto !important;
    text-shadow: none !important;
}

.ws-date-field #datepicker::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    text-transform: none !important;
}

/* jQuery UI datepicker */
.ui-datepicker {
    font-family: var(--ws-font) !important;
    border-radius: var(--ws-radius-sm) !important;
    box-shadow: var(--ws-shadow-lg) !important;
    border: 1px solid var(--ws-line) !important;
    padding: 0.5rem !important;
}

.ui-datepicker-header {
    background: var(--ws-brand) !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
}

.ui-state-default {
    border-radius: 8px !important;
    text-align: center !important;
}

.ui-state-active,
.ui-state-hover {
    background: var(--ws-brand) !important;
    color: #fff !important;
    border-color: var(--ws-brand) !important;
}

/* Limited time popup */
.imagePopupLimitedTime {
    border-radius: var(--ws-radius);
    overflow: hidden;
    box-shadow: var(--ws-shadow-lg);
}

.closePopupLimitedTime {
    background: rgba(15, 23, 42, 0.7) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Mobile item card tweaks — single column stack */
@media (max-width: 640px) {
    .ws-app .items .content1:not(.hidden),
    .ws-app .items .content2:not(.hidden),
    .ws-app .items .content3:not(.hidden),
    .ws-app .items .content4:not(.hidden):not(.is-lockers-form),
    .items-panel .content1:not(.hidden),
    .items-panel .content2:not(.hidden),
    .items-panel .content3:not(.hidden),
    .items-panel .content4:not(.hidden):not(.is-lockers-form) {
        grid-template-columns: 1fr !important;
        padding: 0.75rem 0 !important;
        gap: 1rem !important; 
        row-gap: 1rem !important;
    }

    .item-row,
    .item-card {
        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.05),
            0 8px 18px rgba(15, 23, 42, 0.1),
            0 14px 28px -12px rgba(9, 118, 188, 0.24) !important;
    }

    .item-row__footer {
        flex-wrap: wrap;
    }

    .hover_bkgr_fricc2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:first-child,
    #msg2 .bx1:not(.RCheckbox):not(.skiInsureCheckbox) > div:first-child {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}

.ws-checkout #process {
    margin-top: 1.25rem !important;
}

/* ═══════════════════════════════════════════════════════════
   Shared step modals (header / scroll body / footer)
   Used by store overlays and cart waiver shell
   ═══════════════════════════════════════════════════════════ */

.ws-step {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    font-family: var(--ws-font);
    color: var(--ws-text);
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #fff 42%);
}

.ws-step__header {
    position: relative;
    flex: 0 0 auto;
    padding: 1.25rem 1.25rem 1rem;
    padding-right: 3rem;
    border-bottom: 1px solid var(--ws-line);
    background: rgba(255, 255, 255, 0.78);
}

.ws-step__brand {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.ws-step__brand-icon {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ws-brand) 0%, #0ea5e9 100%);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 8px 20px -8px rgba(9, 118, 188, 0.45);
}

.ws-step__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ws-brand);
}

.ws-step__subtitle {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--ws-muted);
}

.ws-step__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.1rem 1.25rem;
    padding-top: 0;
}

.ws-step--item .ws-step__body {
    display: block;
}

.ws-step__footer {
    flex: 0 0 auto;
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ws-line);
    background: #fff;
    box-shadow: 0 -8px 24px -16px rgba(15, 23, 42, 0.25);
}

.ws-step__footer #add2,
.ws-step__footer .buton4,
.ws-step__footer .acceptWaiverTerms,
.ws-step__footer .submitWaitlist {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 2.85rem !important;
    border-radius: 12px !important;
}

.ws-step .popupCloseButton,
.ws-step .popupCloseButton2,
.ws-step .popupCloseButton3,
.ws-step .popupCloseButton5,
.ws-step .close,
.ws-step .lockerWaiverModal-close {
    position: absolute !important;
    top: 0.65rem !important;
    right: 0.65rem !important;
    z-index: 5 !important;
    width: 2rem !important;
    height: 2rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: var(--ws-muted) !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    cursor: pointer;
}

/* Store shells: pinned chrome, scroll only the body */
body.store:not(.cart-store) .hover_bkgr_fricc2 > div,
body.store:not(.cart-store) .hover_bkgr_fricc > div.ws-step,
body.store:not(.cart-store) .hover_bkgr_fricc3 > div.ws-step,
body.store:not(.cart-store) .hover_bkgr_fricc5 > div.ws-step {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: min(520px, 96vw) !important;
    max-width: min(520px, 96vw) !important;
    height: auto !important;
    max-height: min(calc(100dvh - 2rem), 740px) !important;
}

body.store:not(.cart-store) .hover_bkgr_fricc > div.ws-step--simple,
body.store:not(.cart-store) .hover_bkgr_fricc3 > div.ws-step--simple,
body.store:not(.cart-store) .hover_bkgr_fricc5 > div.ws-step--simple {
    height: auto !important;
    max-height: min(85dvh, 640px) !important;
}

body.store:not(.cart-store) .hover_bkgr_fricc2 #msg2.ws-step {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden !important;
    padding: 0 !important;
}

body.store:not(.cart-store) .hover_bkgr_fricc2 #msg2.ws-step .ws-step__footer #add2 {
    margin: 0 !important;
}

#skiertype {
    width: min(320px, 100%);
    margin: 0 auto;
    min-height: 220px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Keep scroll on the panel body, not the overlay — avoids scrollbar eating right radius */
body.store:not(.cart-store) .modal.showTimesModal {
    overflow: hidden !important;
    align-items: center;
    justify-content: center;
    padding: 0.75rem !important;
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px)) !important;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
}

.modal-content.ws-step {
    display: flex !important;
    flex-direction: column !important;
    width: min(680px, 100%) !important;
    max-width: min(680px, 100%) !important;
    height: auto !important;
    max-height: calc(100dvh - 1.5rem) !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    padding: 0 !important;
    border-radius: var(--ws-radius) !important;
}

.modal-content.ws-step .ws-step__header .close,
.lockerWaiverModal-content.ws-step .lockerWaiverModal-close {
    top: 0.85rem !important;
    right: 0.85rem !important;
}

.modal-content.ws-step .ws-step__title.lesson_type {
    margin: 0 !important;
    padding-right: 0 !important;
    color: var(--ws-brand) !important;
    font-size: 1.2rem !important;
}

.modal-content.ws-step .modalSearchInputs {
    flex: 0 0 auto;
    padding: 0 0 0.85rem !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    position: static !important;
}

.modal-content.ws-step .modalTimeslotContainer {
    flex: 0 0 auto;
    min-height: 0;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

.modal-content.ws-step .ws-step__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* No footer (lessons / overnight): round the scrolling body so the bar matches corners */
.modal-content.ws-step:not(:has(.ws-step__footer)) .ws-step__body {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.ws-modal-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ws-modal-field__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ws-muted);
}

.ws-modal-field input,
.ws-modal-field select {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--ws-line);
    border-radius: 12px;
    background: #fff;
    font-family: var(--ws-font);
    font-size: 0.92rem;
    color: var(--ws-text);
    box-sizing: border-box;
}

.lockerWaiverModal-content.ws-step {
    display: flex !important;
    flex-direction: column !important;
    width: min(520px, 96vw) !important;
    max-width: min(520px, 96vw) !important;
    height: min(85dvh, 680px) !important;
    max-height: min(90dvh, 720px) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.lockerWaiverModal-content.ws-step .acceptText {
    display: block;
    width: auto;
    padding: 0;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ws-muted);
}

.lockerWaiverModal-content.ws-step #lockerWaiverText {
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: none !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: 1px solid var(--ws-line) !important;
    background: #f8fafc !important;
    font-family: var(--ws-font) !important;
}

.lockerWaiverModal-content.ws-step .ws-step__body {
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .ws-step__header {
        padding: 1.1rem 1.05rem 0.85rem;
        padding-right: 2.75rem;
    }

    .ws-step__title {
        font-size: 1.1rem;
    }

    .ws-step__body {
        padding: 0.95rem 1.05rem;
    }

    .ws-step__footer {
        padding: 0.75rem 1.05rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    body.store:not(.cart-store) .hover_bkgr_fricc2 {
        padding: 0.75rem !important;
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px)) !important;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body.store:not(.cart-store) .hover_bkgr_fricc2 > div {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: calc(100dvh - 1.5rem) !important;
        border-radius: var(--ws-radius) !important;
    }

    body.store:not(.cart-store) .modal.showTimesModal {
        padding: 0.75rem !important;
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px)) !important;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
    }

    .modal-content.ws-step {
        max-height: calc(100dvh - 1.5rem) !important;
    }
}

#help{
    height: 25px;
    cursor: pointer;
}

#warn{
    color: red !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center;
    background: #f8d8d8;
    padding: 5px;
    border-radius: 10px;
    border: solid thin red;
}

#warn:empty {
    display: none;
}