.msc-drawer-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.msc-drawer {
    position: fixed; top: 0; left: -475px;
    width: 450px; max-width: 90vw; height: 100%;
    background: #003352;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0,0,0,0.2);
    padding: 1.25rem;
}
.msc-drawer.open { left: 0; }
.msc-drawer-overlay.open { display: block; }

.msc-drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; color:#fff;
}
.msc-drawer-header h2 { margin: 0;}
.msc-drawer-header button {
    font-size: 1.5rem; background: none; border: none; cursor: pointer; line-height: 1;color:#fff;
}

.msc-drawer-search { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.msc-drawer-search input {
    flex: 1; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px;
}
.msc-drawer-search button {
    padding: 0.5rem 0.75rem; cursor: pointer; border: 1px solid #ccc;
    border-radius: 4px; background: #f7f7f7;
}

#msc-drawer-geolocate {
    width: 100%; padding: 0.6rem; margin-bottom: 0.5rem; cursor: pointer;
    border: 1px solid #ccc; border-radius: 4px; background: #f7f7f7;
}
#msc-geo-status { font-size: 0.85rem; color: #666; min-height: 1.2em; }

.msc-store-card {
    position: relative;
    border: 1px solid #e0e0e0; border-radius: 6px;
    padding: 0.75rem 4.5rem 2.5rem 0.75rem; /* right padding for distance, bottom padding for directions */
    margin-bottom: 0.6rem; cursor: pointer;
	background: #fff;
}
.msc-store-card:hover { background: #f7f7f7; }

.distance {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    font-size: 0.85rem; color: #666;
    font-weight: 600;
    white-space: nowrap;
}

.msc-card-directions {
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
	color: #212222;
    white-space: nowrap;
	text-decoration: underline;
}

.msc-card-phone {
	color: #212222;
    white-space: nowrap;
	text-decoration: underline;
}
.msc-card-directions:hover, .msc-card-phone:hover { color: #00a0e0; }

.msc-card-hours-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #1a1a1a;
	font-weight: bolder;
    cursor: pointer;
}

.msc-card-hours-panel {
    display: none;
    font-size: 0.85rem;
    color: #444;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #eee;
    white-space: pre-line; /* respects line breaks if you format hours multi-line */
}
.msc-card-hours-panel.open {
    display: block;
}

.msc-card-name {
    font-weight: bold;
    margin-bottom: 0.35rem;
}

.msc-card-address {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.msc-card-phone {
    font-size: 0.9rem;
    color: #444;
}

.msc-store-card .coming-soon-tag {
    display: inline-block; font-size: 0.7rem; color: #b45309;
    background: #fef3c7; padding: 0.1rem 0.4rem; border-radius: 3px; margin-left: 0.4rem;
    vertical-align: middle;
}
.coming-soon-tag.phase2 {
    background: #dbeafe;
    color: #1e40af;
}
.msc-card-name a {
    color: inherit;
    text-decoration: none;
}

.msc-card-name a:hover {
    text-decoration: underline;
	color: #00a0e0;
}
.msc-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.header-icon.msc-btn-disabled {
    position: relative;
}
.header-icon.msc-btn-disabled::after {
    content: "Coming Soon";
    position: absolute;
    bottom: -1.4rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    white-space: nowrap;
    color: #999;
}

.deal-card--members {
    background-color: #00a0e0;
}