/* ── Widget 2 — Compact Scrollable Card Widget ── */
.csm2-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    border: 2px solid #1a3a6b;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.csm2-header {
    padding: 10px 16px 0;
    border-bottom: 2px solid #1a3a6b;
}
.csm2-tabs { display: flex; gap: 0; margin-bottom: 0; }
.csm2-tab {
    background: none; border: none;
    border-bottom: 2px solid transparent;
    padding: 7px 16px; font-size: 14px; color: #595959; border-radius: 4px 4px 0 0;
    cursor: pointer; margin-bottom: -1px;
    transition: color 0.15s; font-family: inherit;
}
.csm2-tab.csm2-active { background: #c8960a !important; color: #3d2700 !important; border-bottom-color: #c8960a; font-weight: 700; border-radius: 4px 4px 0 0; }
.csm2-tab:hover:not(.csm2-active) { color: #1a3a6b; }

.csm2-tz-row { padding: 7px 16px 8px; background: #e8edf5; border-bottom: 2px solid #1a3a6b; }
.csm2-tz-label { display: block; font-size: 11px; color: #1a3a6b; font-weight: 500; margin-bottom: 3px; }
.csm2-tz-select {
    width: 100%; padding: 5px 10px;
    border: 1px solid #1a3a6b; border-radius: 6px;
    font-size: 13px; background: #fff; color: #333;
    cursor: pointer; box-sizing: border-box; font-family: inherit;
}

/* Scrollable card list — sized to show ~3.5 cards */
.csm2-scroll-area {
    height: 560px;
    overflow-y: auto; overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #8a9cbd #f5f5f5;
}
.csm2-scroll-area::-webkit-scrollbar { width: 6px; }
.csm2-scroll-area::-webkit-scrollbar-track { background: #f5f5f5; }
.csm2-scroll-area::-webkit-scrollbar-thumb { background: #8a9cbd; border-radius: 3px; }
.csm2-scroll-area::-webkit-scrollbar-thumb:hover { background: #1a3a6b; }

.csm2-section-label { display: none; }

/* Each card — stripped down, no individual box borders */
.csm2-card {
    background: #fff;
    border: none;
    border-bottom: 1px solid #c8d3e8;
    padding: 4px 10px 4px 12px;
    box-sizing: border-box;
    width: 100%;
}
.csm2-card:last-child { border-bottom: none; }

.csm2-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0;
}
.csm2-card-left { flex: 1; min-width: 0; }
.csm2-dates { font-size: 13px; font-weight: 600; color: #1a1a1a; margin: 0 !important; padding: 0; line-height: 1.3; }
.csm2-time  { font-size: 11px; color: #555; margin: 0 0 2px !important; padding: 0; line-height: 1.3; }
.csm2-badges { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 1px; margin-bottom: 0; }
.csm2-badge-gold {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; padding: 1px 7px; border-radius: 20px;
    border: 1px solid #c8960a; background: #fef3cd; color: #7a5200;
}
.csm2-badge-blue {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; padding: 1px 7px; border-radius: 20px;
    border: 1px solid #b5d4f4; background: #e6f1fb; color: #0c447c;
}

/* Right side: price + register stacked, right-aligned, anchored to top */
.csm2-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
    padding-top: 0;
}
.csm2-old-price { font-size: 10px; color: #767676; text-decoration: line-through; display: block; line-height: 1; }
.csm2-price     { font-size: 16px; font-weight: 700; color: #1a1a1a; display: block; line-height: 1.1; }
/* USD removed */

.csm2-register-btn {
    display: inline-block;
    width: auto;
    text-align: center;
    background: #c8960a;
    color: #3d2700;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-sizing: border-box;
    transition: background 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.csm2-register-btn:hover { background: #a87a08; color: #3d2700; }
.csm2-empty { font-size: 13px; color: #595959; padding: 20px 0; text-align: center; }

@media (max-width: 440px) {
    .csm2-wrap { max-width: 100%; border-radius: 8px; }
    .csm2-scroll-area { height: 480px; }
    .csm2-dates { font-size: 12px; }
    .csm2-price { font-size: 14px; }
}
@media (max-width: 360px) {
    .csm2-tab { padding: 7px 10px; font-size: 13px; }
    .csm2-price { font-size: 13px; }
}
